aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/gltexture.cpp
AgeCommit message (Collapse)Author
2011-02-24OPENGL: Prefer single operation texture updates.Johannes Schickel
When doing glTexSubImage2D we do not need to assure that the source data has the same width as the texture when we want to update the data, we just need to assure that the width * Bpp cound matches the pitch.
2011-01-08OPENGL: Skip empty texture updates.Jordi Vilalta Prat
This fixes some hangs when calling the GMM while running Fascination. svn-id: r55166
2010-12-03OPENGL: Some slight formatting fixes.Jordi Vilalta Prat
svn-id: r54755
2010-11-29BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefsMax Horn
svn-id: r54573
2010-11-28OPENGL: Modify source files to force recompilationMax Horn
svn-id: r54542
2010-07-31OPENGL: Add support for BGR and rgb(a) reversed formats (Not available for ↵Alejandro Marzini
GLES). General cleanup and commenting. svn-id: r51559
2010-07-31Add OpenGL dependencies to MinGW configure.Alejandro Marzini
svn-id: r51551
2010-07-31OPENGL: Fix texture updating.Alejandro Marzini
svn-id: r51549
2010-07-30OPENGL: Fix crash on Broken Sword 2 when refreshing screen.Alejandro Marzini
I must admit that I do not know why it does crash, but it seems that updating row by row is safer and does not makes problems. svn-id: r51491
2010-07-27OPENGL: Commenting.Alejandro Marzini
svn-id: r51338
2010-07-26Formatted spaces.Alejandro Marzini
svn-id: r51300
2010-07-24OPENGL: Redesign blitting system. Add basics for aspect correction.Alejandro Marzini
Removed the extra surface in GLTexture. Now there are copies of the texture data in their original format (so engine can get the original data when lockScreen or grabOverlay is called). This copies will be updated when the engine calls a function that modifies the game screen/overlay, and the textures will be marked as dirty. When updating screen, the textures will be updated from the copies data if they are dirty. svn-id: r51234
2010-07-23OPENGL: Add basic game screen drawing. Changed Overlay PixelFormat to RGBA5551. Alejandro Marzini
svn-id: r51193
2010-07-22OPENGL: Add antialiasing, hotkey: ctrl+alt+f. Fixed minor bugs.Alejandro Marzini
svn-id: r51146
2010-07-20Change CHECK_GL_ERROR to not take a 'call statement' as parameterMax Horn
Passing a 'call statement' to CHECK_GL_ERROR has various issues. For once, it confuses code parsers in many editors and other tools that work with C++ source directly. Moreover, this can lead to subtle bugs if a mistake is made with the definition of CHECK_GL_ERROR. It also causes incorrect warnings if CHECK_GL_ERROR is used with an "empty" call statement. svn-id: r51050
2010-07-20OPENGL: Implement fullscreen mode.Alejandro Marzini
svn-id: r51049
2010-07-19OPENGL: Fix issue when GFX changes.Alejandro Marzini
svn-id: r51013
2010-07-18Fixed rect size when drawing npot textures. Added OpenGL attr for SDL.Alejandro Marzini
svn-id: r50979
2010-07-16change post-increment to pre-increment in return value of nextHighest2(), as ↵Joost Peters
some compilers will not return the incremented value otherwise svn-id: r50946
2010-07-16Added basic screen drawing (only overlay working).Alejandro Marzini
svn-id: r50930
2010-07-15Optimized nextHigher2.Alejandro Marzini
svn-id: r50907
2010-07-15Replaced nextHigher2, so CHAR_BIT define is not needed.Alejandro Marzini
svn-id: r50904
2010-07-13Check if USE_OPENGL is defined for compiling OpenGL code.Alejandro Marzini
svn-id: r50842
2010-07-12OpenGL manager: Implemented PixelFormat functions. Implemented GFX methods. ↵Alejandro Marzini
Changed how GLTexture determines its format. svn-id: r50811
2010-07-10Added BaseSdlGraphicsManager. Added GLTexture. Alejandro Marzini
svn-id: r50795