Commit Graph

6 Commits

Author SHA1 Message Date
Vincent Pelletier
57eda6aef0 GRAPHICS: Include bytesPerPixel in toString representation 2017-05-27 09:39:08 +02:00
Johannes Schickel
ac93f3512f GRAPHICS: Remove unused header include. 2015-11-16 17:01:59 +01:00
Johannes Schickel
aaca04cdfc GRAPHICS: Rewrite PixelFormat::toString to be easier to understand. 2015-11-16 16:58:23 +01:00
Johannes Schickel
1c7a5e5a01 GRAPHICS: Fix component order in PixelFormat::toString output.
Formerly components were printed from bottom to top, common notation is from
top to bottom. For reference check how we name formats, like in for example:
backends/graphics/openglsdl/openglsdl-graphics.cpp:190-230
backends/graphics/surfacesdl/surfacesdl-graphics.cpp:409-490
sherlock/scalpel/scalpel.cpp:207
2015-11-16 16:28:01 +01:00
Johannes Schickel
eee8ef9dce GRAPHICS: Make PixelFormat::toString const. 2015-11-16 16:03:44 +01:00
Eugene Sandulenko
cfc626d78d GRAPHICS: Implemented utility function to print PixelFormat 2015-11-16 07:00:09 +01:00