Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2011-09-23 | OPENGLSDL: Make fullscreen mode switching work again. | Johannes Schickel | |
2011-08-12 | OPENGL: Fix aspect ratio correction behavior. | Johannes Schickel | |
Now only 320x200 and 640x400 will result in aspect ratio correction to be used if the user requested it. This should fix some strechting in Myst/Riven. | |||
2011-08-12 | OPENGLSDL: Do not change requested window size on resize. | Johannes Schickel | |
This should help fix a lock up on window managers, which will try to force the ScummVM window to a certain size, by just requesting the same size over and over again. Now we get black borders even in windowed mode when the aspect of the window does not match the aspect of the game screen (and we are not in "normal" mode), but that is usually the same in video players too, so shouldn't be too bad. | |||
2011-08-09 | SDL: Take advantage of SdlGraphicsManager. | Johannes Schickel | |
This gets rid of the hacks, where SdlEventSource added events with custom type numbers to pass SDL_VIDEOEXPOSE and SDL_VIDEORESIZE to the graphics manager. Furthermore it get rids of the uninituitive and hard to trace way of assigning the proper mouse coordinates to mouse related events. Formerly it passed the real screen coordinates through the even dispatching api to the graphics manager (at least hopefully ;-) and let that handle creating a new event with the proper coordinates. Now instead SdlEventSource handles the proper coordinate setup itself. Since this is a behavior change and I can not test all the SDL based small devices ports this commit might break compilation for them and more serve it might also break mouse position behavior. If any of that occurs I am sorry about it. | |||
2011-08-09 | SDL: Let SDL based graphics managers inherit from SdlGraphicsManager. | Johannes Schickel | |
This also adapts port I can not test (not even the compilation). So if this breaks anything I am sorry about it. | |||
2011-06-20 | ALL: Remove trailing whitespaces | Max Horn | |
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//' | |||
2011-06-19 | OPENGLSDL: Add FIXME about desktop resolution retrieving. | Johannes Schickel | |
2011-06-19 | OPENGLSDL: Use String::format instead of sprintf. | Johannes Schickel | |
2011-06-19 | OPENGLSDL: Formatting fixes. | Johannes Schickel | |
2011-06-06 | I18N: Make some OSD messages translatable | Thierry Crozat | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
2011-05-02 | ALL: Mark printf and various other symbols as forbidden | Max Horn | |
Right now, a few places in the frontend code still use printf and consorts. We mark the affected files with a FIXME for now, and add a dedicated exception for each. To be fixed! Also tweak FORBIDDEN_SYMBOL_REPLACEMENT to hopefully really always enforce a compiler error | |||
2011-04-28 | JANITORIAL: Reduce header dependencies in shared code | Ori Avtalion | |
Some backends may break as I only compiled SDL | |||
2011-03-20 | OPENGL: Handle aspect ratio correction as flag instead of having a special ↵ | Johannes Schickel | |
mode for it. This partly fixes the OpenGL mode mess, but now OpenGL Normal and OpenGL Conserve will feature the same semantics when aspect ratio correction is enabled... That is still something to solve. | |||
2011-03-17 | OPENGLSDL: More refactoring to avoid direct access of ↵ | Johannes Schickel | |
OpenGlGraphicsManager's members. | |||
2011-03-17 | OPENGL: Move setFullscreenMode to OpenGLGraphicsManager. | Johannes Schickel | |
2011-03-17 | OPENGLSDL: Handle active fullscreen mode OPENGLSDL internal. | Johannes Schickel | |
2011-03-17 | OPENGLSDL: Cleanup. | Johannes Schickel | |
2011-03-17 | OPENGL: Slight refactoring. | Johannes Schickel | |
First step into making all state variables of the OpenGL backend private, to help making the backend more maintainable, by disallowing subclasses to just mess with everything... | |||
2011-03-17 | OPENGL: Fix compilation when USE_OSD is not defined. | Johannes Schickel | |
2011-03-17 | OPENGL: Always properly set the overlay dimensions in loadGFXMode. | Johannes Schickel | |
2011-03-17 | OPENGL: Refactor warpMouse. | Johannes Schickel | |
Now subclasses will not need to worry about the scaling logic themselves, but just need to implement setInternalMousePosition, which should handles setting the system's mouse coordinates. | |||
2011-03-01 | OPENGL(SDL): Use the whole window/screen size for the overlay. | Johannes Schickel | |
This makes the overlay looking nicer in fullscreen mode. | |||
2011-02-25 | OPENGLSDL: Add RGB555 to the supported format list. | Johannes Schickel | |
2011-02-19 | OPENGLSDL: 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. | |||
2010-12-03 | OPENGLES: Fix the projection matrix and the includes. | Jordi Vilalta Prat | |
svn-id: r54756 | |||
2010-12-03 | OPENGL: Fix the fullscreen mode detection when SDL accepts any resolution. | Jordi Vilalta Prat | |
svn-id: r54754 |