aboutsummaryrefslogtreecommitdiff
path: root/graphics/pixelformat.h
AgeCommit message (Collapse)Author
2016-09-29GRAPHICS: Added a PixelFormat bpp methodPaul Gilbert
2015-11-16GRAPHICS: Make PixelFormat::toString const.Johannes Schickel
2015-11-16GRAPHICS: Implemented utility function to print PixelFormatEugene Sandulenko
2014-08-17GRAPHICS: Improve color bit depth conversionMatthew Hoops
Data is no longer truncated it so should be more accurate. See pull request #486 for more info.
2014-02-18GRAPHICS: Make GPL headers consistent in themselves.Johannes Schickel
2012-06-15GRAPHICS: Fix colorToARGB's alpha value when no alpha channel is presentMatthew Hoops
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2009-12-09Move findCompatibleFormat from graphics/pixelformat.h to engines/engine.cppMax Horn
This function is used in only one place. Declaring it requires common/list.h; by putting it into pixelformat.h, which is included by common/system.h, tons of things suddenly included list.h for no good reason. If we ever need to call this function in other places, we can figure out aborts more appropriate place for it. svn-id: r46310
2009-10-04Change a couple places from 'end of namespace' to 'End of namespace', for ↵Max Horn
consistency svn-id: r44634
2009-08-21Renamed ENABLE_RGB_COLOR to USE_RGB_COLOR, and added it to config.h to ↵Andre Heider
guarantee a consistent build. svn-id: r43604
2009-07-14changed generic Graphics::PixelFormat constructor to take xBits instead of ↵Jody Northup
xLoss. Modified OSystem_SDL::getSupportedFormats and ScummEngine::init to account for this change. svn-id: r42467
2009-07-08Reinstated static inline Graphics::PixelFormat::createFormatCLUT8(), which I ↵Jody Northup
am told was not supposed to be removed with the others. svn-id: r42268
2009-07-07Removed PixelFormat convenience constructors at behest of Max and Eugene.Jody Northup
svn-id: r42207
2009-07-06Updated doxygen comments on API functionsJody Northup
svn-id: r42166
2009-07-01fix compileMatthew Hoops
svn-id: r41993
2009-07-01Implemented Graphics::PixelFormat ↵Jody Northup
Graphics::findCompatibleFormat(Common::List<Graphics::PixelFormat> backend, Common::List<Graphics::PixelFormat> frontend) svn-id: r41986
2009-07-01Allowed for 16, 24, and 32 bit pixel format factory constructors to be used ↵Jody Northup
without backend RGB color support svn-id: r41985
2009-06-30Fixed a few formatting bitsJordi Vilalta Prat
svn-id: r41973
2009-06-20Factory constructors for ARGB BGR ABGR and BGRA pixel formats.Jody Northup
svn-id: r41697
2009-06-20renamed ENABLE_16BIT define to more accurate ENABLE_RGB_COLORJody Northup
svn-id: r41696
2009-06-20Fixed compilation.Torbjörn Andersson
svn-id: r41695
2009-06-19Removed replaced Graphics::ColorMode enum type with factory methods for ↵Jody Northup
Graphics::PixelFormat. svn-id: r41662
2009-06-16Fixed warning. (GCC doesn't like commas at the end of an enum list.)Torbjörn Andersson
svn-id: r41586
2009-06-16Simplified colormode enumJody Northup
svn-id: r41578
2009-06-15Remove uglyness with PixelFormat initialization.Eugene Sandulenko
svn-id: r41541
2009-06-15made Graphics::PixelFormat(ColorMode) constructor explicit, removed ↵Jody Northup
Graphics::PixelFormat(int bitFormat) constructor that was never really implemented anyway svn-id: r41540
2009-06-15Added kUnsupportedColorMode error code brought Scumm engine and SDL backend ↵Jody Northup
into compliance with API outlined in http://scummvmupthorn09.wordpress.com/2009/06/14/how-this-is-going-to-work/ Provided convenient Graphics::PixelFormat constructors for ColorMode enums, and bitformat integers. Removed last vestiges (I think) of initial cursor hack. svn-id: r41539
2009-06-12Unfinished proof of concept regarding my compromise with LordHoto in IRC.Jody Northup
svn-id: r41464
2009-06-11Renamed Graphics::ColorFormat to Graphics::ColorMode, streamlined enum by ↵Jody Northup
removing order section and temporarily removing kFormatARGB1555 Converted cursor code to make use of _screenFormat, instead of a parameter passed directly to it by the engine. Adjusted scumm engine to account for these changes. This should probably have been two separate commits, but the changes concern the same files... svn-id: r41443
2009-06-09Laying the foundation for preliminary bitdepth negotiation. (No ↵Jody Northup
functionality changes yet) svn-id: r41396
2009-05-12Must include common/scummsys.h in graphics/pixelformat.h because it uses ↵Max Horn
type 'byte' svn-id: r40513
2009-03-27Add color component bit count (rBits, gBits, bBits, aBits) and maximum value ↵Kari Salminen
(rMax, gMax, bMax, aMax) convenience functions to PixelFormat-struct (If someone objects to adding these, holler and/or revert this commit, I can live without 'em but they'd ease some parts of Cine::Palette-code). svn-id: r39711
2009-01-22Added an '!=' operator to PixelFormat.Johannes Schickel
svn-id: r35998
2009-01-22Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. ↵Max Horn
into methods, and added an operator== svn-id: r35993