aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics
AgeCommit message (Collapse)Author
2019-09-21SURFACESDL: Properly distinguish between 555 and 565 modesCameron Cawley
2019-09-08ANDROID: Rewrite to make use of OpenGLGraphicsManager (#1695)Cameron Cawley
* ANDROID: Rewrite to make use of OpenGLGraphicsManager * ANDROID: Fix emulated mouse button up events
2019-09-01TTS: Implement OSD message readingJaromir Wysoglad
2019-08-18GUI: Check if fullscreen is available at runtimeCameron Cawley
2019-08-15BACKENDS: Fix GCC Warnings in Surface SDL GraphicsD G Turner
This removes the usage of memset to clear complex structures and replaces them with constructor methods for the structures which will be executed when these are instantiated.
2019-08-15BACKENDS: Handle screen shaking in WindowedGraphicsManagerCameron Cawley
2019-08-13VITA: Use activeArea rectangle also on Vitarsn8887
2019-08-13BACKENDS: add Fit to window (4:3) stretch mode to SDL2 backendrsn8887
2019-08-11SDL: Removed invalid override from getGraphicsScalerProc()Cameron Cawley
2019-08-11SDL: Move selecting the required ScalerProc into a separate functionCameron Cawley
2019-08-04OPENGL: Support RGBA8888 swapped textures when using OpenGL ESCameron Cawley
2019-07-27SYMBIAN: Remove unused class declarationsCameron Cawley
2019-07-27SYMBIAN: Remove dead codeCameron Cawley
2019-07-27BACKENDS: Avoid redundant format changes on Dingux and LinuxMotoCameron Cawley
2019-07-14OPENGL: Specify a GLSL version tag, and rename reserved keywordsFilippos Karapetis
The GLSL version code has been taken from ResidualVM. The variable 'texture' is now a reserved keyword in GLSL 3.00, so it has been renamed. This fixes compilation issues in AmigaOS4 (PR 1554).
2019-07-08MAEMO: Minor cleanupCameron Cawley
2019-06-24OPENGLSDL: Move stretch mode handling into OpenGLGraphicsManagerCameron Cawley
2019-06-22OPENGLSDL: Move getSupportedFormats into OpenGLGraphicsManagerCameron Cawley
2019-04-15WINCE: Fix compilationCameron Cawley
2019-04-07BACKENDS: Simplify setGraphicsMode on GPH, Dingux and LinuxMotoCameron Cawley
2019-04-02SDL: Use Common::KEYCODE_KP_ENTER instead of SDLK_KP_ENTERCameron Cawley
2019-03-31SDL: Fix compilation without 16 bit colour supportCameron Cawley
2019-03-10SDL: Wrap the full screen toggle code into a separate functionFilippos Karapetis
2019-03-10SDL: Move fullscreen and screenshot event handling to SdlGraphicsManager (#1522)Cameron Cawley
2019-03-03SDL: Add a function to convert from SDL_PixelFormat to Graphics::PixelFormatCameron Cawley
2019-03-02IMAGE: Fix taking screenshots on big endian systemsCameron Cawley
2019-03-02IMAGE: Move bitmap writing code out of OpenGLGraphicsManagerCameron Cawley
2019-02-13DINGUX: Fix dinguxsdl graphics backendgameblabla
2018-10-24SURFACESDL: Respect filtering setting when performing aspect ratio correctionThierry Crozat
2018-08-26OPENGL: Use premultiplied alpha for color-keyed cursorsBastien Bouclet
This fixes colour fringing on keyed cursors when using filtering. Fixes Trac#10594.
2018-08-18DINGUX: Fix initSize() method signatureEugene Sandulenko
2018-07-08SDL: Clip mouse range in convertVirtualToWindowMatthew Stewart
2018-07-08SDL: Clip mouse range in convertWindowToVirtualMatthew Stewart
When the graphics scale was 2x or higher, it was possible for the mouse to pass the size of the screen specified by "initSize".
2018-07-08BACKENDS: Fix compilation with SDL 1.2Cameron Cawley
2018-07-08GUI: Add Stretch Mode selection in Options dialogThierry Crozat
2018-07-08SDL: Implement stretch mode APIThierry Crozat
Four modes are supported: - Use original size with no scaling - Scale by an integral amount as much as possible but not bigger than the window. - Scale to fit the window while respecting the aspect ratio. There may be black bars on the left and right, or on the top and bottom, but not both. This is the default, and the old behaviour. - Scale and stretch to fit the window. In this mode the aspecy ratio is not respected and there is no black bars. The mode is controled by the "scaling_mode" value (between 0 and 3) in the config file. Also add Crtl-Alt-s hotkey to cycle through scaling modes
2018-07-08OSYSTEM: Add Stretch Mode APIThierry Crozat
2018-05-24JANITORIAL: Fix trailing whitespaceAdrian Frühwirth
2018-03-28BAKCENDS: Mark methods as overrideEugene Sandulenko
2018-03-20PSP2: fix touch sometimes not directly under fingerrsn8887
2018-01-27PSP2: Improve direct touch accuracyrsn8887
2018-01-17SURFACESDL: Remove erroneous override declarationsrsn8887
2018-01-17PSP2: remove code duplication in psp2 graphicsmanagerrsn8887
2018-01-12GRAPHICS: Fix rounding error when using non-integral scalingTarek Soliman
When a non-integral scaling was being used, x and/or y cursor position would be one less than what it should be. Fixes Trac#10401 Thanks snover!
2017-12-10SDL: Enable the startup fullscreen hack for X11 onlyBastien Bouclet
It causes problems on AmigaOS and Linux/SDL2/Vivante
2017-12-03ALL: Remove obsolete register keywordColin Snover
The register keyword was deprecated from the C++11 standard, <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4193.html#809>, and removed from the C++17 standard, <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4340>, so cannot exist in a well-formed C++17 program. It has never done anything in GCC <https://gcc.gnu.org/ml/gcc/2010-05/msg00113.html> and because of the way it is specified in the standard, it is “as meaningful as whitespace” <http://www.drdobbs.com/keywords-that-arent-or-comments-by-anoth/184403859>. The one remaining use of the register keyword is in the DS backend, where it is used to create a local register variable using the non-standard GCC Extended Asm feature. Closes gh-1079.
2017-12-03SDL: Fix memory corruption when switching to/from 32-bit cursorsColin Snover
When a 32-bit cursor has the same size as an 8- or 16-bit cursor, the mouse surfaces were not being regenerated even though the 32-bit cursors have a different memory requirement. This lead to memory corruption as an inappropriate surface would be used for the other type of cursor. The shoe-horned 32-bit cursor support is clearly showing its scrappy nature here and probably ought to be revisited in the future if the SurfaceSdl graphics manager sticks around. Fixes Trac#10349, Trac#10350, Trac#10351.
2017-12-02PSP2: fix clipping and display quality for odd resolutions (Phantasmagoria)rsn8887
2017-12-02PSP2: fix odd resolutions on PSP2, fixes Phantasmagoriarsn8887
2017-12-01BACKENDS: Fix shake position getting stuckColin Snover
If a game is doing a screen shake (for example, DOTT when the stereo is on), and the user does an RTL, the screen shake offset may get stuck if the engine does not reset it on shutdown. To avoid this in all cases, just always reset the screen shake whenever the graphics manager is told to switch to a new graphics mode.