Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-03-16 | OPENGL: Introduce abstraction for framebuffer. | Johannes Schickel | |
This allows us to use various framebuffer settings easily. Now the GPU accelerated CLUT8 surface implementation does not need to query former framebuffer state anymore. | |||
2016-03-16 | OPENGL: Introduce ShaderManager to handle builtin shaders. | Johannes Schickel | |
2016-03-16 | OPENGL: Introduce pipeline abstraction to cleanup code. | Johannes Schickel | |
2016-03-16 | OPENGL: Introduce simple abstraction for surfaces. | Johannes Schickel | |
This is basically an interface extracted from Texture without any knowledge about any actual implementation, except for copyRectToTexture, fill, and dirty rect handling. These are convenient helpers. | |||
2016-03-16 | OPENGL: (Partly) move context specific handling to Context. | Johannes Schickel | |
This does not include (most) shader setup, and projection matrices yet. | |||
2016-03-16 | OPENGL: Add support for shaders with GL contexts. | Johannes Schickel | |
2016-03-16 | OPENGL: Support GLES2 contexts. | Johannes Schickel | |
2016-03-16 | OPENGL: Simplify context type setting. | Johannes Schickel | |
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: Resolve OpenGL functions on run-time. | Johannes Schickel | |
Formerly we relied on static linkage. However, in the presense of modern OpenGL (ES) implementations it is not easily identifable which library to link against. For example, on Linux amd64 with nVidia drivers and SDL2 setup to create a GLES 1.1 context one would need to link against libGL.so. However, traditionally GLES 1.1 required to link against libGLESv1_CM.so. To prevent a huge mess we simply resolve the OpenGL functions on run-time now and stop linking against a static library (in most cases). GLES support needs to be enabled manually on configure time for now. Tizen changes have NOT been tested. | |||
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. | |||
2016-03-16 | OPENGL: Refactor GL extension handling slightly. | Johannes Schickel | |
2015-12-12 | OPENGL: Implement black borders using scissor test. | Johannes Schickel | |
2015-12-12 | OPENGL: Only redraw screen when actual changes happened. | Johannes Schickel | |
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-01-07 | OPENGL: Limit mouse cursor drawing to inside game screen when no overlay is ↵ | Johannes Schickel | |
visible. | |||
2014-08-29 | BACKENDS: Fix some Doxygen comments that seem wrong. | Einar Johan Trøan Sømåen | |
2014-02-12 | OPENGL: Use signed types for mouse coordinates. | Johannes Schickel | |
This adjusts for the fact that our event handling also uses signed coordinates. | |||
2014-02-12 | OPENGL: Properly use signed types for cursor hotspot. | Johannes Schickel | |
2014-02-11 | OPENGL: Fix cursor regression when defaultFormat doesn't have an alpha channel. | Johannes Schickel | |
2014-02-11 | OPENGL: Refactor texture instantiation. | Johannes Schickel | |
2014-02-11 | OPENGL: Rename notifyContextChange to notifyContextCreate. | Johannes Schickel | |
2014-02-11 | OPENGL: Add notification function about context destruction. | Johannes Schickel | |
2013-10-24 | SDL: Let SdlGraphicsManager inherit from GraphicsManager. | Johannes Schickel | |
2013-10-23 | SDL: Do not require a static graphics mode list in OpenGL and SurfaceSDL. | Johannes Schickel | |
2013-10-19 | OPENGL/SDL: Add screenshot support. | Johannes Schickel | |
2013-10-19 | TIZEN: Adapt to new OpenGL code. | Johannes Schickel | |
Thanks to Chris Warren-Smith for testing this a bit. | |||
2013-10-19 | OPENGL: Add OSD support. | 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-19 | OPENGL: Add new generic OpenGL (ES) backend. | Johannes Schickel | |
This backend is based on ideas of the old OpenGL backend, of the Android GL backend and of the iPhone GL backend. | |||
2013-10-05 | BACKENDS: Remove OpenGL and OpenGL SDL backend. | Johannes Schickel | |
This breaks our Tizen port. | |||
2012-06-16 | ALL: Let overlay related methods in OSystem take a void * and use a proper ↵ | Johannes Schickel | |
pitch values. This is a first step to get rid of OverlayColor, which is a requirement for proper 4Bpp overlay support. | |||
2012-06-16 | BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer. | Johannes Schickel | |
This is mainly for consistency with OSystem::copyRectToScreen. | |||
2012-06-16 | BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte ↵ | Johannes Schickel | |
*" as buffer. This removes the need to convert the parameter to copyRectToScreen to "const byte *", which is commonly used in games, which use Graphics::Surface to store their graphics data. | |||
2012-06-03 | ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" ↵ | Johannes Schickel | |
logic. All uses of the old target scale API actually wanted to disallow scaling of the mouse cursor. This commit adapts our API to this and thus simplifies backend implementations. Some backends, most notable the Wii and Android, did some implementation of the cursor target scale, which I didn't adapt yet. I added a TODO for the porters there. | |||
2012-02-15 | OPENGL: Prevent access to a few more members in the SDL OpenGL code. | Johannes Schickel | |
2012-02-15 | OPENGL: Use tabs instead of spaces for indentation. | Johannes Schickel | |
2011-08-21 | BADA: Fix formatting and non bada host compile error | Chris Warren-Smith | |
2011-08-21 | BADA: Initial BADA port implementation | Chris Warren-Smith | |
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-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-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-04 | BACKENDS: Replace OSystem::disableCursorPalette by setFeatureState calls | Max Horn | |
2011-05-12 | GIT: Clean up: Suppress SVN tags, now useless | strangerke | |
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: Get rid of unused switchDisplayMode. | Johannes Schickel | |
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 | OPENGL: Cleanup switchDisplayMode. | Johannes Schickel | |
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 | |