aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics
AgeCommit message (Collapse)Author
2013-10-23SDL: Always initialize video subsystem in initSDL.Johannes Schickel
2013-10-23SDL: 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-19OPENGL/SDL: Add screenshot support.Johannes Schickel
2013-10-19OPENGL: 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-19TIZEN: Adapt to new OpenGL code.Johannes Schickel
Thanks to Chris Warren-Smith for testing this a bit.
2013-10-19OPENGL: Implement dirty rect handling.Johannes Schickel
2013-10-19SDL: Use OSD in OpenGL SDL backend.Johannes Schickel
2013-10-19OPENGL: Add OSD support.Johannes Schickel
2013-10-19SDL: 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-19OPENGL: 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-05BACKENDS: Remove OpenGL and OpenGL SDL backend.Johannes Schickel
This breaks our Tizen port.
2013-08-03SDL: Do not set Surface::pixels directly anymore.Johannes Schickel
2013-08-03SDL: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03OPENGL: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03SDL: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-08-03OPENGL: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-07-14JANITORIAL: Remove trailing whitespaceSven Hesse
2013-07-04Merge pull request #350 from chrisws/tizen_port_1_6_0aJohannes Schickel
TIZEN: bada port updated to tizen Conflicts: backends/platform/tizen/system.cpp
2013-07-04GUI: Cleanup EventRecorder::getSurface.Johannes Schickel
Formerly the function created a SDL_Surface by hand. Instead now it uses SDL_CreateRGBSurface (which is used in the SDL backend anyway and yields the same results). This should fix PS3 port compilation.
2013-07-04RECORDER: Fix guard ifdefEugene Sandulenko
2013-07-03TIZEN: bada port updated to tizenChris Warren-Smith
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2013-01-26Merge pull request #301 from lordhoto/c++11-playgroundJohannes Schickel
RFC: Allow use of override and nullptr. Also allow C++11 compilation.
2013-01-24OPENGL: Fix linear filtering when the texture size doesn't match the real sizeMatthew Hoops
2013-01-09SDL: Silence C++ narrowing warnings.Johannes Schickel
2013-01-09OPENGL: Silence C++11 narrowing warning.Johannes Schickel
2012-12-10Revert "OPENGLSDL: Remove HACK in fullscreen toggle mode."Johannes Schickel
This reverts commit b6f7d697090ca6f90d20f0f2d5661cc4c8b71bf2. This actually breaks fullscreen mode cycling.
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-08-09DINGUX: Fix "if" formatting.Johannes Schickel
2012-08-09OPENGL: Fix RGBA8888 mode setup.Johannes Schickel
2012-08-08OPENGL: 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-07-31GPH: Add extra call to SDL_ShowCursor(SDL_DISABLE).David-John Willis
* This is needed on the hacked SDL on the GP2X after any call to SDL_SetVideoMode. It does not impact other GPH devices.
2012-07-24GPH: Fix accidental commit.David-John Willis
* I did not mean to commit any of the GPH backend with the OP stuff. Cleanup of this backend will follow later.
2012-07-24OPENPANDORA: Free hiddenCursor on unloadGFXMode and cleanup screen setup.David-John Willis
* Also remove some old cruft in the form of commented code.
2012-07-24OPENPANDORA: Move SDL_CreateCursor hacklet from init to loadGFXMode.David-John Willis
* Fixes a bug that can occur on load.
2012-06-16ALL: 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-16BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.Johannes Schickel
This is mainly for consistency with OSystem::copyRectToScreen.
2012-06-16BACKENDS: 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-03ALL: 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-05-31ALL: Correct spelling of "Mac OS X" in various placesMax Horn
2012-03-28OPENGL: Don't leak surfaces.Alyssa Milburn
2012-03-17ALL: Make use of defined() for the preprocessor consistent.Johannes Schickel
This does not change the use of defined for some NDS source files, since they seem to be (based on?) third party code.
2012-02-20OPENGL: Don't force alpha to 1Willem Jan Palenstijn
This was likely a hack to work around an alpha blending bug in the gui vector renderer.
2012-02-19NULL: Fix compiler errors when using the NullGraphicsManagerThierry Crozat
The errors fixed are inaccessible base class when trying to set the _graphicsManager and a pure virtual function when trying to create the NullGraphicsManager instance.
2012-02-15OPENGL: More formatting fixes.Johannes Schickel
2012-02-15OPENGLSDL: Remove HACK in fullscreen toggle mode.Johannes Schickel
Altering the fullscreen state will automatically force a refresh now.
2012-02-15OPENGL: Prevent access to a few more members in the SDL OpenGL code.Johannes Schickel
2012-02-15OPENGL: Use tabs instead of spaces for indentation.Johannes Schickel
2012-02-15OPENGLSDL: Don't cast EventType into int for switch.Johannes Schickel
2012-02-15OPENGL: Use C-style casts.Johannes Schickel