aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics
AgeCommit message (Collapse)Author
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-08OPENGL: Fix OSD support by only updating the OSD texture in internUpdateScreen.Johannes Schickel
This actually still has the drawback that if one calls OSystem::updateScreen from the sound thread that it might crash. Hopefully no code does this though... svn-id: r54830
2010-12-08OPENGL: Disable OSD support for now.Johannes Schickel
I added an comment explaining why OSD is broken currently. The basic problem is that OpenGL is not thread safe, thus in case we try to display any message on the OSD from the sound thread for example it will result in crashes. svn-id: r54829
2010-12-03OPENGLES: Fix the projection matrix and the includes.Jordi Vilalta Prat
svn-id: r54756
2010-12-03OPENGL: Some slight formatting fixes.Jordi Vilalta Prat
svn-id: r54755
2010-12-03OPENGL: Fix the fullscreen mode detection when SDL accepts any resolution.Jordi Vilalta Prat
svn-id: r54754
2010-12-02OPENGL: Fix compilation when OpenGL error checks are enabled.Jordi Vilalta Prat
svn-id: r54734
2010-12-02OPENGL: Fixed flawed include file logic in gltexture.h, when USE_GLES is ↵Filippos Karapetis
defined (a regression from r54704) svn-id: r54732
2010-12-01BACKENDS: Simplify the inclusion of gl.h. SDL has already simplified it for ↵Filippos Karapetis
us :) svn-id: r54704
2010-12-01BACKENDS: Use SDL_opengl.h instead of the nonstandard glext.h to ensure ↵Filippos Karapetis
OpenGL 1.2 compatibility in Windows systems svn-id: r54700
2010-12-01Fix mingw compile.Travis Howell
svn-id: r54696
2010-12-01OpenGL: remove unnecessary glext.h includeJoost Peters
svn-id: r54695
2010-11-29NULL: Remove extra semicolons in null-graphics.hJohannes Schickel
svn-id: r54587
2010-11-29SDL: Slight formatting fix.Johannes Schickel
svn-id: r54583
2010-11-29BACKENDS: Close Memory Leak of Mouse Surfaces in SDL Graphics BackendDavid Turner
svn-id: r54579
2010-11-29SDL: Trying to cleanup the FORBIDDEN_SYMBOL situationMax Horn
svn-id: r54575
2010-11-29BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefsMax Horn
svn-id: r54573
2010-11-29SDL: Move #include <SDL.h> into a special wrapper fileMax Horn
svn-id: r54572
2010-11-29GP2X: More compilation fixesMax Horn
svn-id: r54569
2010-11-28SDL: Various more SdlEventSource related fixesMax Horn
svn-id: r54553
2010-11-28OPENGL: Fix OpenGL on Mac OS XMax Horn
svn-id: r54545
2010-11-28OPENGL: Modify source files to force recompilationMax Horn
svn-id: r54542
2010-11-28DINGUX: More compilation fixesMax Horn
svn-id: r54541
2010-11-28LINUXMOTO: More compilation fixesMax Horn
svn-id: r54540
2010-11-28DINGUX: Compilation fixesMax Horn
svn-id: r54533
2010-11-28LINUXMOTO: Compilation fixesMax Horn
svn-id: r54532
2010-11-28SDL: re-enable unicode after graphics initWillem Jan Palenstijn
svn-id: r54531
2010-11-28DINGUX: Attempt to fix the new code for this backendMax Horn
It seems in the gsoc2010-opengl branch, the dingux port was not anymore updated at some point, so some changes that were made in general did not make it till here. This is my attempt to fix at least the most obvious problems, but without being able to compile it, all these changes should be very carefully reviewed. svn-id: r54522
2010-11-28OPENGL: cleanupMax Horn
svn-id: r54520
2010-11-28Merging the gsoc2010-opengl branchMax Horn
svn-id: r54518
2010-10-23DINGUX: fix compilation for the opengl branchFabio Battaglia
Moved events related code to backends/events/dinguxsdl/* and move graphics related code to backends/graphics/dinguxsdl/* Subclass OSystem_POSIX instead of OSystem_SDL svn-id: r53730
2010-10-13OPENGL: Get rid of one ugly cast.Johannes Schickel
svn-id: r53435
2010-10-13OPENGL: Replace SdlEventManager by SdlEventSource.Johannes Schickel
Formerly SdlEventManager was a subclass of DefaultEventManager but did not really have anything in common with the idea of our EventManager interface. Now I made a new object SdlEventSource which only subclasses EventSource and which is responsible for obtaining events from SDL (and processing them). svn-id: r53433
2010-10-13OPENGL: Merged from trunk, from rev 52105 to 53396.Johannes Schickel
This includes an rather hacky attempt to merge all the recent gp2x backend changes into the branch. I suppose the gp2x backend and probably all new backends, i.e. gph, dingux etc., might not compile anymore. Since I have no way of testing those it would be nice if porters could look into getting those up to speed in this branch. svn-id: r53399
2010-09-03SDL/OPENGL: Fix backend initialization when building with ENABLE_VKEYBD.Alejandro Marzini
svn-id: r52503
2010-09-03OPENGL: Fix enable aspect ratio feature.Alejandro Marzini
svn-id: r52502
2010-09-03OPENGL: Improve scaling, aspect ratio correction and display(GFX) modes.Alejandro Marzini
Now the previous aspect ratio modes are handled as GFX modes. The previous GFX modes were for scaling, but are removed now. A new 4/3 display mode added. Added Ctrl-Shift-A for backward switching through display modes, and Ctrl-Alt-<number key> for switching to a specific GFX mode. Window resizing now is available for all display modes, and will automatically change the scale factor as well as maintain the aspect ratio when needed. svn-id: r52501
2010-08-23OPENGL: Add Ctrl-Shift-Enter hotkey for backward switching fullscreen modes.Alejandro Marzini
svn-id: r52310
2010-08-20OPENGL: Fix issue with resize events generated after going out of fullscreen ↵Alejandro Marzini
mode. svn-id: r52248
2010-08-13OPENGL: Restrict window scaling if current desktop resolution is not big enough.Alejandro Marzini
svn-id: r52057
2010-08-13OPENGL: Remove unnecessary best fullscreen mode detection code.Alejandro Marzini
svn-id: r52056
2010-08-13OPENGL: Disable resizable window when not using an aspect ratio correction.Alejandro Marzini
svn-id: r52055
2010-08-13OPENGL: Remove unnecessary aspect ratio corrections, and add "Original Size" ↵Alejandro Marzini
correction. Rename _transactionDetails.needHotswap to _transactionDetails.needRefresh. svn-id: r52054
2010-08-12SDL: Make use of SDL_BACKEND instead of platform specific defines.Alejandro Marzini
svn-id: r52029
2010-08-12OPENGL: Fix problem when switching between SDL and OpenGL Graphics Managers.Alejandro Marzini
svn-id: r52025
2010-08-06OPENGL: Add 5/3 and 5/4 aspect ratio corrections.Alejandro Marzini
svn-id: r51806
2010-08-05OPENGL: Improve aspect ratio correction mode selection.Alejandro Marzini
svn-id: r51752
2010-08-04OPENGL: Fix compiling for GLES.Alejandro Marzini
svn-id: r51721
2010-08-03OPENGL: Refresh OpenGL textures on all loadGFX() calls.Alejandro Marzini
OpenGL context may be destroyed after calling SDL_SetVideoMode, so it is better to always recreate the textures. svn-id: r51675
2010-08-03OPENGL: Prioritize desktop resolution as default fullscreen mode.Alejandro Marzini
svn-id: r51674