Commit Graph

633 Commits

Author SHA1 Message Date
rsn8887
1489f2ed0f OPENGL: Fix GUI centering when using Fit to window (4:3) mode 2020-01-23 15:06:08 -06:00
Bastien Bouclet
0339b9a6bf SDL: Use the name of the running target as a base for screenshot files 2020-01-22 21:27:38 +02:00
rsn8887
b8cf747ad5 OPENGL: Implement stretch mode Fit to window (4:3) 2020-01-22 04:24:42 -06:00
athrxx
2f919d39e4 GRAPHICS: (really) fix screen shake x/y offsets
I confused window w/h with actual drawing w/h. And obviously forgot to test stretch modes like "Center". Now these modes also seem to work pixel exact...
2020-01-08 20:27:53 +01:00
athrxx
c4780d2bef GRAPHICS: Fix screen shake x/y offsets scaling
The x and y offsets need to be scaled the same way as the rest of the screen output.
2020-01-07 22:47:32 +01:00
Cameron Cawley
d289fa5f98 OPENGL: Ensure surfaces created by saveScreenshot are the right way up 2020-01-02 20:53:29 +02:00
Cameron Cawley
e2e72af31d SDL: Remove duplicated cursorStretch200To240() function 2019-12-25 08:52:19 +02:00
Cameron Cawley
e92ac655be BACKENDS: Add default implementation for GraphicsMode functions 2019-12-15 16:06:56 +02:00
Cameron Cawley
c3c3137ab3 BACKENDS: Move nextHigher2() into common/algorithm.h 2019-12-14 17:09:18 +02:00
D G Turner
d0592f379f SURFACESDL: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-30 19:53:11 +00:00
Cameron Cawley
574db58b27 ANDROIDSDL: Remove unused graphics manager 2019-11-24 22:55:34 +02:00
D G Turner
3db6aed4e4 LINUXMOTO: Fix Compilation 2019-11-24 08:57:46 +00:00
D G Turner
8014fe06fc LINUXMOTO: Implement horizontal shake 2019-11-24 01:41:14 +00:00
Cameron Cawley
8ae0be4ae3 GPH: Remove unused variable 2019-11-23 18:42:04 +00:00
Cameron Cawley
a2110d36f9 BACKENDS: Unify formatting between the GPH, Dingux and LinuxMoto backends 2019-11-23 18:40:43 +00:00
D G Turner
e04480d700 LINUXMOTO: Hopefully Fix Compilation 2019-11-23 17:04:39 +00:00
D G Turner
97b7a38499 LINUXMOTO: Further Replacement of old SurfaceSdlGraphicsManager APIs 2019-11-23 16:56:33 +00:00
D G Turner
e515998da0 LINUXMOTO: Replace usage of old SurfaceSdlGraphicsManager APIs 2019-11-23 16:37:51 +00:00
D G Turner
77d13f7bce LINUXMOTO: Fix Missing Declaration in Graphics Class 2019-11-23 15:36:37 +00:00
sluicebox
be0304d9d6 GPH: Implement horizontal shake 2019-11-20 11:13:03 -08:00
sluicebox
0d56515a70 DINGUX: Implement horizontal shake 2019-11-20 11:13:03 -08:00
D G Turner
19e56e5e1f LINUXMOTO: Fix Compilation Breakage from Screen Shake API Changes
This was broken by the recent modifications to the SurfaceSDLGraphics class
which this inherits from.
2019-11-20 13:26:17 +00:00
D G Turner
cac14ad699 GPH: Fix Compilation Breakage from Screen Shake API Changes
This was broken by the recent modifications to the SurfaceSDLGraphics class
which this inherits from.
2019-11-20 12:21:32 +00:00
D G Turner
f014f9a6f2 DINGUX: Fix Compilation Breakage from Screen Shake API Changes
This was broken by the recent modifications to the SurfaceSDLGraphics class
which this inherits from.
2019-11-20 12:14:52 +00:00
sluicebox
8057cfa38f SDL: Implement horizontal shake 2019-11-19 00:20:40 +01:00
sluicebox
b8390fa161 GRAPHICS: Add interface for horizontal shake 2019-11-19 00:20:40 +01:00
Cameron Cawley
f2b9f7bb76 BACKENDS: Remove the Windows CE port 2019-11-17 22:33:56 +01:00
sluicebox
b593fe2f45 SDL: Fix Windows screenshots with unicode paths
Use Common::FSNode to test for screenshot existence instead of
SDL_RWFromFile(). SDL does different character encoding conversions
which fail on Windows when a unicode character is in the path.

Fixes bug #11118
2019-11-10 07:08:22 +02:00
Cameron Cawley
d1fa1154fe BACKENDS: Fix using fillScreen in non-paletted screen modes 2019-11-10 01:25:46 +02:00
Cameron Cawley
177d709909 OPENGL: Implement high DPI support on Android (#1895)
* OPENGL: Implement high DPI support on Android

* PSP2: Fix build
2019-11-01 13:39:46 +02:00
Cameron Cawley
3d83d144a3 OPENGL: Fix warning when using builtin OpenGL functions 2019-10-18 16:49:12 +01:00
Eugene Sandulenko
cf87c64635 GCW0: The hardware has its own downscaler, do not use half-scaler 2019-10-06 12:48:38 +02:00
D G Turner
f6fff71d8d OPENGL: Add Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-05 04:54:57 +01:00
Cameron Cawley
1699a2e1cf SURFACESDL: Properly distinguish between 555 and 565 modes 2019-09-21 22:19:07 +03:00
Cameron Cawley
7a05624e1b
ANDROID: Rewrite to make use of OpenGLGraphicsManager (#1695)
* ANDROID: Rewrite to make use of OpenGLGraphicsManager

* ANDROID: Fix emulated mouse button up events
2019-09-08 19:37:48 +01:00
Jaromir Wysoglad
bbbb608c52 TTS: Implement OSD message reading 2019-09-01 22:47:55 +03:00
Cameron Cawley
ea9e33bd10 GUI: Check if fullscreen is available at runtime 2019-08-18 06:21:28 +03:00
D G Turner
54c465ef17 BACKENDS: Fix GCC Warnings in Surface SDL Graphics
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-15 16:26:53 +01:00
Cameron Cawley
1feb86ee97 BACKENDS: Handle screen shaking in WindowedGraphicsManager 2019-08-15 02:01:21 +03:00
rsn8887
afd360703e VITA: Use activeArea rectangle also on Vita 2019-08-13 20:54:59 -05:00
rsn8887
5b32f377a9 BACKENDS: add Fit to window (4:3) stretch mode to SDL2 backend 2019-08-13 20:42:56 -05:00
Cameron Cawley
30234728d6
SDL: Removed invalid override from getGraphicsScalerProc() 2019-08-11 12:42:56 +01:00
Cameron Cawley
9b6461122e SDL: Move selecting the required ScalerProc into a separate function 2019-08-11 14:27:52 +03:00
Cameron Cawley
d765440c1a OPENGL: Support RGBA8888 swapped textures when using OpenGL ES 2019-08-04 18:46:30 +01:00
Cameron Cawley
a2dcd6c4ff
SYMBIAN: Remove unused class declarations 2019-07-27 12:37:39 +01:00
Cameron Cawley
8e8594aa0e SYMBIAN: Remove dead code 2019-07-27 07:23:09 +03:00
Cameron Cawley
ecd89808c4 BACKENDS: Avoid redundant format changes on Dingux and LinuxMoto 2019-07-27 07:11:57 +03:00
Filippos Karapetis
d524d36a6a OPENGL: Specify a GLSL version tag, and rename reserved keywords
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-14 16:10:55 +03:00
Cameron Cawley
6e690c5a8b MAEMO: Minor cleanup 2019-07-08 11:11:45 -05:00
Cameron Cawley
16f8c024d1 OPENGLSDL: Move stretch mode handling into OpenGLGraphicsManager 2019-06-24 02:19:28 +03:00