aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics
AgeCommit message (Collapse)Author
2015-05-20SDL: Fix compilation with SDL2.Johannes Schickel
2015-05-16SDL: Add TODO about fullscreen modes to OpenGL SDL code.Johannes Schickel
2015-05-16SDL: Restore the original video mode when unloading the Surface graphics managerLittleboy
We set a custom video mode that might have a different BPP from the default. To ensure that other graphics managers will get the proper results when listing available video modes, we need to restore the initial BPP when unloading. This fixes an issue when switching to OpenGL on Windows 8 and later. On those OSes, fullscreen OpenGL only has a 32bpp mode. It is correctly listed in the options but we call SLD_SetVideoMode later in the surface graphics manager. When we list the mode again after a switch, the internally selected BPP is still 16 and we fail to find any available fullscreen modes.
2015-05-15SDL: Check for NULL when listing available modes via SDL_ListModesLittleboy
It can be returned when there are no dimensions available for the currently selected pixel format
2015-04-20MAEMO: Fix compilation.Tarek Soliman
Related to 71cc9e41e8e61e560ed5cb8e1fe1d0c539f001be
2015-02-16SDL: Add basic abstraction class for the SDL window.Johannes Schickel
2015-01-25SDL: Add experimental support for SDL2.Johannes Schickel
This is based upon skristiansson's change set to make ScummVM work with SDL2.
2015-01-25SDL: Cleanup graphics manager switching a bit.Johannes Schickel
2015-01-25SDL: Refactor WM specific functionality into SdlGraphicsManager.Johannes Schickel
2015-01-07OPENGL: Fix truncation issue resulting in wrong mouse coordinates.Johannes Schickel
2015-01-07OPENGL: Limit mouse cursor drawing to inside game screen when no overlay is ↵Johannes Schickel
visible.
2014-10-28BACKENDS: Remove trailing whitespaceFilippos Karapetis
2014-08-29BACKENDS: Fix some Doxygen comments that seem wrong.Einar Johan Trøan Sømåen
2014-07-04OPENGLSDL: Don't ignore events after user-initiated resizes.Alyssa Milburn
2014-06-17OPENGLSDL: Move time stamp for last video mode set after fallback mode setup.Johannes Schickel
2014-06-17OPENGLSDL: Make workaround for fast resolution changes actually work for WME.Johannes Schickel
Thanks to fuzzie for noticing this.
2014-06-10OPENGLSDL: Always ignore bad resolution changes.Alyssa Milburn
Otherwise we can end up with the wrong resolution when we make multiple resizes in quick succession.
2014-02-25OPENGL: Fix building with --disable-16bitTorbjörn Andersson
2014-02-18WINCE: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-18SYMBIAN: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-18SDL: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-18SAMSUNGTV: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-18OPENPANDORA: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-18NULL: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-18MAEMO: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-18LINUXMOTO: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-18GPH: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-18DINGUX: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-18BACKENDS: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-12OPENGL/SDL: Default to RGBA8888 (memory layout).Johannes Schickel
This makes sure the default mode also works for OpenGL ES contexts.
2014-02-12OPENGL: Always support RGBA8888 (memory layout).Johannes Schickel
2014-02-12OPENGL: Move RGBA8888 (logical layout) to OpenGL specific formats.Johannes Schickel
The reason here is that GL_UNSIGNED_INT_8_8_8_8 is not supported by the GLES standard. Thus we cannot use it outside OpenGL specific code paths.
2014-02-12OPENGL: Use frac_t for cursor scaling.Johannes Schickel
2014-02-12OPENGL: Simplify shake offset application.Johannes Schickel
2014-02-12OPENGL: Use GLfloat for draw cooridnates in Texture.Johannes Schickel
2014-02-12OPENGL: Use signed types for mouse coordinates.Johannes Schickel
This adjusts for the fact that our event handling also uses signed coordinates.
2014-02-12OPENGL: Properly use signed types for cursor hotspot.Johannes Schickel
2014-02-11OPENGL: Fix cursor regression when defaultFormat doesn't have an alpha channel.Johannes Schickel
2014-02-11OPENGL: Properly setup full game palette on video mode change if required.Johannes Schickel
2014-02-11OPENGL: Refactor texture instantiation.Johannes Schickel
2014-02-11OPENGL: Rename notifyContextChange to notifyContextCreate.Johannes Schickel
2014-02-11OPENGLSDL: Notify OpenGL manager about context destruction.Johannes Schickel
2014-02-11OPENGL: Add notification function about context destruction.Johannes Schickel
2014-02-11OPENGL: Release old texture name before creating a new one.Johannes Schickel
This prevents any texture name leaks (and thus memory leaks) on recreateInternalTexture calls.
2014-01-23Merge pull request #409 from lordhoto/rttiJohannes Schickel
Enable RTTI and clean up the code by exploiting the availability of dynamic_cast.
2014-01-21OPENGL: Properly query for OpenGL errors.Johannes Schickel
There might be various error flags and we need to clear all of them to get precise error results. Thus, we need to call glGetError in a loop to achieve that.
2014-01-11SDL: Avoid having SDL_SRCALPHA set even if we have alpha in the pixelformat.Einar Johan Trøan Sømåen
2014-01-07SDL: Silence unused variable warning when scalers are disabled.Johannes Schickel
2014-01-07SDL: Fix return value of getDefaultGraphicsMode when scalers are disabled.Johannes Schickel
2013-11-20OPENGL: Fix texture re-allocation checkWillem Jan Palenstijn
This fixes a crash when opening the menu in the SCI Laura Bow 2 intro.