Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-24 | SDL: Improve debug and warning messages when saving screenshots | Thierry Crozat | |
In particular this adds a warning when failing to save a screenshot in OpenGL mode (there was already one in SurfaceSDL mode). | |||
2017-04-24 | SDL: Use dynamic cast instead of C cast to get screenshot path | Thierry Crozat | |
2017-04-24 | WINDOWS: Change location where screenshot are saved | Pala | |
This fixes bug #9701: WINDOWS: Flow of taking screenshots on Windows is broken | |||
2016-11-20 | OPENGLSDL: Fix signed/unsigned comparison | Colin Snover | |
2016-10-18 | SDL: Fix typo in function name | Ori Avtalion | |
2016-10-13 | OPENGLSDL: Add hotkey to enable/disable filtering | Thierry Crozat | |
Crtl-Alt-f now enables/disables filtering instead of changing the graphics mode. Since there is only one graphics mode now, a hotkey to change it is a bit useless. | |||
2016-10-13 | OPENGLSDL: Make some OSD messages translatable | Thierry Crozat | |
Also change some OSD messages to be the same or similar to messages used by the Surface SDL code. | |||
2016-09-18 | SDL: Ignore outdated SDL resize event in OpenGL mode | Thierry Crozat | |
Those outdated resize events are sent from SDL_DestroyWindow when the window is fullscreen and doesn't have the SDL_WINDOW_FULLSCREEN_DESKTOP flag (thus Surface SDL is not affected). Switching resolutions in fullscreen, or switching from fullscreen to windowed will therefore cause a resize event to be received with the former fullscreen resolution after we have already setup the window to use the new resolution. If we don't ignore this event we end up with a texture size and a window size that are not consistent and for example see only a part of the texture (if the old resolution is bigger than the new one. | |||
2016-03-16 | OPENGLSDL: Request "standard" GL contexts. | Johannes Schickel | |
Compatibility profiles only exist in modern OpenGL and we request an ancient version. | |||
2016-03-16 | OPENGLSDL: Destroy GL context on exit with SDL2. | Johannes Schickel | |
2016-03-16 | OPENGL: Support GLES2 contexts. | Johannes Schickel | |
2016-03-16 | OPENGLSDL: Slight cleanup. | Johannes Schickel | |
2016-03-16 | OPENGL: Simplify context type setting. | Johannes Schickel | |
2016-03-16 | OPENGLSDL: Try to use GL(ES) context SDL2 defaults to. | Johannes Schickel | |
2016-03-16 | OPENGL: Support RGB555 for OpenGL ES output. | Johannes Schickel | |
This mode should *not* be used by any new engines/code. If someone is going to use it and says it works with the OpenGL output, please make them wear a red uniform and beam them onto a remote planet. | |||
2016-03-16 | OPENGL: Allow runtime specification of OpenGL mode. | Johannes Schickel | |
Formerly, we required that the OpenGL mode was fixed at compile time. Now we allow the code to work with whatever it is given at runtime. It is still possible to force a context type on compile time. | |||
2016-03-16 | OPENGL: Remove support for ARGB8888. | Johannes Schickel | |
This used to be used by Sword25. Since it is not supported by GLES and no engine code uses it we drop support. Hopefully, this helps people to realize they should not use that format in their engine. | |||
2016-03-16 | OPENGL: Add functionality to query OpenGL functions on runtime. | Johannes Schickel | |
This can and will be used for future extension usage support. Tizen changes have been untested. | |||
2015-12-13 | OPENGLSDL: Set proper mouse emulation dimensions. | Johannes Schickel | |
Formerly we did not initialize the mouse emulation from SdlEventSource properly. Now hopefully joysticks etc. should work fine with the SDL OpenGL output too. | |||
2015-12-12 | OPENGL: Refactor screen refresh handling. | Johannes Schickel | |
Subclasses of OpenGLGraphicsManager are now supposed to supply a refreshScreen function which handles actual screen updating (for example, buffer swapping). | |||
2015-12-08 | OPENGLSDL: Request GLES1.1 context with SDL2 for GLES targets. | vanfanel | |
2015-05-16 | SDL: Add TODO about fullscreen modes to OpenGL SDL code. | Johannes Schickel | |
2015-05-15 | SDL: Check for NULL when listing available modes via SDL_ListModes | Littleboy | |
It can be returned when there are no dimensions available for the currently selected pixel format | |||
2015-02-16 | SDL: Add basic abstraction class for the SDL window. | Johannes Schickel | |
2015-01-25 | SDL: Add experimental support for SDL2. | Johannes Schickel | |
This is based upon skristiansson's change set to make ScummVM work with SDL2. | |||
2015-01-25 | SDL: Refactor WM specific functionality into SdlGraphicsManager. | Johannes Schickel | |
2014-10-28 | BACKENDS: Remove trailing whitespace | Filippos Karapetis | |
2014-07-04 | OPENGLSDL: Don't ignore events after user-initiated resizes. | Alyssa Milburn | |
2014-06-17 | OPENGLSDL: Move time stamp for last video mode set after fallback mode setup. | Johannes Schickel | |
2014-06-17 | OPENGLSDL: Make workaround for fast resolution changes actually work for WME. | Johannes Schickel | |
Thanks to fuzzie for noticing this. | |||
2014-06-10 | OPENGLSDL: 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-12 | OPENGL/SDL: Default to RGBA8888 (memory layout). | Johannes Schickel | |
This makes sure the default mode also works for OpenGL ES contexts. | |||
2014-02-11 | OPENGL: Rename notifyContextChange to notifyContextCreate. | Johannes Schickel | |
2014-02-11 | OPENGLSDL: Notify OpenGL manager about context destruction. | Johannes Schickel | |
2013-10-24 | SDL: Further small cleanup related to manager switching. | Johannes Schickel | |
2013-10-24 | SDL: Make activateManager/deactivateManager SdlGraphicsManager specific. | Johannes Schickel | |
We can do this now that we can use virtual inheritance and dynamic_cast because we enabled RTTI. | |||
2013-10-23 | SDL: Always initialize video subsystem in initSDL. | Johannes Schickel | |
2013-10-23 | SDL: Clean up graphics manager switching slighty. | Johannes Schickel | |
Sadly this also requires us to extend GraphicsManager for this SDL specific feature. However, since that's only used in the SDL backend and Tizen it should be fine for now... | |||
2013-10-19 | OPENGL/SDL: Add screenshot support. | Johannes Schickel | |
2013-10-19 | SDL: Use OSD in OpenGL SDL backend. | Johannes Schickel | |
2013-10-19 | SDL: Add a OpenGL SDL backend and hook it into the SDL backend. | Johannes Schickel | |
The hooking code is nearly exactly the old hooking code. Only the OpenGL SDL creation has been adapted since it uses a different constructor now. | |||
2013-10-05 | BACKENDS: Remove OpenGL and OpenGL SDL backend. | Johannes Schickel | |
This breaks our Tizen port. | |||
2012-12-10 | Revert "OPENGLSDL: Remove HACK in fullscreen toggle mode." | Johannes Schickel | |
This reverts commit b6f7d697090ca6f90d20f0f2d5661cc4c8b71bf2. This actually breaks fullscreen mode cycling. | |||
2012-09-26 | JANITORIAL: Remove trailing whitespaces. | Johannes Schickel | |
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//' | |||
2012-05-31 | ALL: Correct spelling of "Mac OS X" in various places | Max Horn | |
2012-02-15 | OPENGLSDL: Remove HACK in fullscreen toggle mode. | Johannes Schickel | |
Altering the fullscreen state will automatically force a refresh now. | |||
2012-02-15 | OPENGL: Prevent access to a few more members in the SDL OpenGL code. | Johannes Schickel | |
2012-02-15 | OPENGLSDL: Don't cast EventType into int for switch. | Johannes Schickel | |
2011-12-15 | OPENGLSDL: Simplify the code a bit. | Johannes Schickel | |
2011-12-15 | OPENGLSDL: Fix video mode initialization for 640x400 games with AR enabled. | Johannes Schickel | |
Formerly they always used a height of 240 * scaleFactor, which would for exmaple make the games requesting a 1x scaler use a height of 240 if AR is enabled. This was a regression from b8dcd9a25eb27ef40aa5535fc83879d20db7e10c. |