aboutsummaryrefslogtreecommitdiff
path: root/graphics/decoders/iff.cpp
AgeCommit message (Collapse)Author
2013-10-26GRAPHICS: do not reset the extra parameters of IFFDecoder on destroy().peres
The two properties that control pixel packing and the size of the surface need to be preserved for loadStream() to work correctly. They are now under complete responsibility of the client.
2013-10-26Revert "GRAPHICS: do not clear the internal state of IFFDecoder on ↵peres
loadStream()." This reverts commit 92c1ff31d6d8d78e58caa4d123ceb0fea43a48ed.
2013-10-26GRAPHICS: do not clear the internal state of IFFDecoder on loadStream().peres
This decoder needs to keep track of client parameters that control how the pixels are going to be packaged, so the responsibility for clearing the state has been moved on the client (using the destroy() method on ImageDecoder). As no client uses the IFFDecoder for more than one image at a time, this change does not require updates to the engines. The only effect is on Parallaction (BRA-Amiga), which can now control the way pixels are packaged in mask and path bitmaps.
2013-08-03GRAPHICS: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03GRAPHICS: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-01-06GRAPHICS: New IFFDecoder that decodes ILBM and PBM imagesTomas Jakobsson