aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics
AgeCommit message (Collapse)Author
2011-02-24SDL: Add a debug focus rect implementation.Johannes Schickel
This implementation currently draws a rect frame around the focus rect area.
2011-02-24SDL: Move focus rectangle dummy implementations to .cpp file.Johannes Schickel
2011-02-19Merge branch 'osystem-palette' of https://github.com/lordhoto/scummvm into ↵Johannes Schickel
master Conflicts: backends/platform/android/android.cpp engines/sci/graphics/screen.cpp engines/sci/graphics/transitions.cpp
2011-02-19OPENGLSDL: Avoid warping in warpMouse when the logical coordinates did not ↵Johannes Schickel
change. This fixes a slight move of the mouse cursor when the hardware mouse position is at a subpixel from the logical coordinates.
2011-02-19OPENGL: Get rid of adjustMouseEvent.Johannes Schickel
Rather than that I introduced a function which converts hardware screen coordinates to overlay / game screen coordinates. The logic which converts mouse movement events with hardware screen coordinates to overlay / game screen coordinates is now inside notifyEvent. This is still broken design, since one should not abuse an observer for that.
2011-02-19OPENGL: Fix documentation of OpenGLGraphicsManager::MousePos.Johannes Schickel
2011-02-16BACKENDS: Adapt DefaultPaletteManager to setPalette/grabPalette RGBA->RGB ↵Johannes Schickel
change.
2011-02-14OPENGL: Adapt the OpenGL module to the setPalette/grabPalette RGBA->RGB change.Johannes Schickel
2011-02-14SDL: Adapt SDL graphics module to the setPalette/grabPalette RGBA->RGB change.Johannes Schickel
2011-02-07BACKENDs: Fix const correctness in "null" graphics managerMax Horn
svn-id: r55807
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
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