Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-23 | Merge pull request #409 from lordhoto/rtti | Johannes Schickel | |
Enable RTTI and clean up the code by exploiting the availability of dynamic_cast. | |||
2014-01-21 | OPENGL: 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. | |||
2013-11-20 | OPENGL: Fix texture re-allocation check | Willem Jan Palenstijn | |
This fixes a crash when opening the menu in the SCI Laura Bow 2 intro. | |||
2013-11-17 | OPENGL: Fix >1Bpp mouse cursors which do not require format conversion. | 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 | OPENGL: Limit maximum Surface size to maximum texture size. | Johannes Schickel | |
This is mostly aimed at old graphics chips. For example, wjp's old laptop only supports 1024x1024 textures but has a 1280x800 screen. Switching to fullscreen would create a bigger overlay than supported. Now it will get limited to an smaller resolution and then scaled too. Alternatively we could think of tiling surfaces into textures. But then handling scaling would be more complicated since it might result in artifacts on texture tile borders. | |||
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: Implement dirty rect handling. | Johannes Schickel | |
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. | |||
2013-08-03 | OPENGL: Take advantage of Surface::getPixels. | Johannes Schickel | |
2013-08-03 | OPENGL: Prefer getBasePtr over direct Surface::pixels access. | Johannes Schickel | |
2013-07-03 | TIZEN: bada port updated to tizen | Chris Warren-Smith | |
2013-01-26 | Merge pull request #301 from lordhoto/c++11-playground | Johannes Schickel | |
RFC: Allow use of override and nullptr. Also allow C++11 compilation. | |||
2013-01-24 | OPENGL: Fix linear filtering when the texture size doesn't match the real size | Matthew Hoops | |
2013-01-09 | OPENGL: Silence C++11 narrowing warning. | Johannes Schickel | |
2012-08-09 | OPENGL: Fix RGBA8888 mode setup. | Johannes Schickel | |
2012-08-08 | OPENGL: GL_BGRA does not exist in every GLES implementation. | David-John Willis | |
* It definately does not exist in the GLES implementations I can test with. * Don't configure if USE_GLES is set. | |||
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-03-28 | OPENGL: Don't leak surfaces. | Alyssa Milburn | |
2012-02-20 | OPENGL: Don't force alpha to 1 | Willem Jan Palenstijn | |
This was likely a hack to work around an alpha blending bug in the gui vector renderer. | |||
2012-02-15 | OPENGL: More formatting fixes. | Johannes Schickel | |
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 | |
2012-02-15 | OPENGL: Use C-style casts. | Johannes Schickel | |
2012-02-15 | OPENGL: Let getGlErrStr return a Common::String. | Johannes Schickel | |
This also makes getGlErrStr use Common::String::format instead of snprintf. | |||
2012-02-15 | OPENGL: Slight formatting fixes. | Johannes Schickel | |
2012-02-15 | OPENGL: Make all GLTexture members private. | Johannes Schickel | |
2012-02-15 | OPENGL: Unvirtualize all GLTexture methods. | Johannes Schickel | |
2012-02-15 | OPENGL: Remove redundant check in adjustMousePosition. | Johannes Schickel | |
2012-01-03 | OPENGL: Fix mouse cursor scaling. | Johannes Schickel | |
2011-11-09 | OPENGL: Always set the unpack alignment when refreshing the textures. | Johannes Schickel | |
This should hopefully make sure we are always having the correct alignment set up. This might fix bug #3435655 "OpenGL display corruption with various Sierra games Daily B.". | |||
2011-08-21 | BADA: Remove incorrect BADA defined check | Chris Warren-Smith | |
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 | OPENGL: Add include guard to gltexture.h | Johannes Schickel | |
2011-08-09 | OPENGL: Added a temporary hack to fix compilation under Windows, after the ↵ | Filippos Karapetis | |
latest changes to the SDL interface layer | |||
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-19 | OPENGL: Clarify OSD rect color in a comment. | Johannes Schickel | |
2011-06-19 | OPENGL: Formatting fixes. | Johannes Schickel | |
2011-06-06 | OSYSTEM: displayMessageOnOSD() now accepts non-ASCII strings | Thierry Crozat | |
It should now accept strings encoded using the current TranslationManaged charset (e.g. translated text). |