summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats/dds/qddshandler.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix DDS image writingaavit2014-07-011-3/+3
| | | | | | | | | The code did not correctly do the 90-degree rotation needed for DDS, and would fail on non-square images. Task-number: QTBUG-39899 Change-Id: I1599e3fe44ff7895db8aa6e325fa8fdba2106694 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
* Fix reading palette images in DDS handler.Ivan Komissarov2014-01-131-4/+35
| | | | | | | Change-Id: I039a5f3376a8ebe7230f30a0df31c4a355f22349 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Alex Char <prevedtest@gmail.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Fix QDDSHandler::canRead to return false in case of a scan error.ABBAPOH2013-12-161-1/+5
| | | | | | | Change-Id: If776b122c90d79d430916677a46684770870956a Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Alex Char <prevedtest@gmail.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Do not try to rescan device in case of an error in DDS plugin.ABBAPOH2013-12-161-8/+10
| | | | | | | Change-Id: I64b49294476fc3bbf77620d839b88b0ecea68e23 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Alex Char <prevedtest@gmail.com> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
* Fix build of the DDS plugin without QDataStreamABBAPOH2013-12-131-0/+4
| | | | | Change-Id: I854c3bd82f244a6c45d91b08c3f1271538fd536a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Fix MSVC warnings about scopes.Friedemann Kleint2013-12-021-3/+3
| | | | | | | | | | | | | qddshandler.cpp(483) : warning C4258: 'i' : definition from the for loop is ignored; the definition from the enclosing scope is used qddshandler.cpp(477) : definition of 'i' ignored qddshandler.cpp(467) : definition of 'i' used qddshandler.cpp(486) : warning C4258: 'i' : definition from the for loop is ignored; the definition from the enclosing scope is used qddshandler.cpp(477) : definition of 'i' ignored qddshandler.cpp(467) : definition of 'i' used Change-Id: Ib911578900f012db20d9e50bdffa5d1ca9896a7e Reviewed-by: Ivan Komissarov <ABBAPOH@me.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Fix writing images in DDS handlerABBAPOH2013-12-021-7/+8
| | | | | Change-Id: If433528eb4cfa7448f171e083dd2bb559dbc2f4a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Add support for QImageIOHandler::Size option in DDS handler.ABBAPOH2013-12-021-0/+20
| | | | | Change-Id: I7c9fc452142d9827269ebf9b6b2778c2b0eb55da Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Add QByteArrayliterals to QDDSHandlerABBAPOH2013-12-021-6/+6
| | | | | | Change-Id: I9785fecffad5c82bacb846ba1d4dcdfda9af168b Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Whitespace fixes in DDS image handlerABBAPOH2013-12-011-5/+5
| | | | | Change-Id: I6da5d294065971f69cf90c285b2a6440502dc147 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
* Add Direct Draw Surface pluginABBAPOH2013-11-261-0/+1414
Change-Id: I8dfa6001c1aae2dcb5f2e6e0bfd142ef1f9dddbc Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>