Commit graph

15 commits

Author SHA1 Message Date
Laurent Merckx
7731737623 SDL: Improve joystick usage
- configuration of engines natively supporting joystick or not
- for engines not supporting joystick input (Myst3, TLJ), reuse the ScummVM code to emulate mouse from joystick.
  A modification was also needed to support relative movements (needed in Myst3 to support camera movements)
2018-03-18 13:06:48 +01:00
Laurent Merckx
8b015b65bd SDL: Support fullscreen on RPI (#1398)
Uses 24 a depth buffer if possible on OpenGL ES
2018-02-20 06:31:46 +01:00
Bastien Bouclet
3ec01653c3 ALL: Merge from ScummVM rev 3a933138ce 2017-12-06 21:41:03 +01:00
Bastien Bouclet
7a11ff2006 SDL: Keep the same window between the launcher and the engines 2017-09-01 09:28:09 +02:00
Bastien Bouclet
6d8568d056 SDL: Implement kFeatureFullscreenToggleKeepsContext in OpenGL with SDL2 2017-09-01 09:25:02 +02:00
Bastien Bouclet
9dd157afe8 SDL: Import the SDL window changes from ScummVM 2017-08-28 21:46:42 +02:00
Bastien Bouclet
d645bbcefd OPENGL: Clean up the overlay pixel format code 2017-08-28 21:46:02 +02:00
Bastien Bouclet
3f143ab299 BACKENDS: Add a configuration setting to enable V-Sync 2016-11-20 13:12:14 +01:00
Bastien Bouclet
f8cce66926 SDL: Improve code organisation and documentation
No functional change
2016-07-14 12:04:06 +02:00
Bastien Bouclet
5b927c06f1 SDL: Ony perform framebuffer detection once on startup 2016-07-14 12:04:06 +02:00
Bastien Bouclet
2141277df9 SDL: Detect the desktop resolution earlier
So that nothing has a chance to change it beforehand.
2016-07-14 12:04:05 +02:00
Bastien Bouclet
8927dcdcf6 SDL: Rewrite OpenGL overlay handling to use TiledSurface 2016-07-14 12:03:38 +02:00
Bastien Bouclet
287f97228f BACKENDS: Make suggestSideTextures go through GraphicsManager 2016-07-14 12:02:55 +02:00
Bastien Bouclet
f9a7f37579 SDL: Remove the OpenGL suffix from some method names 2016-07-14 12:02:55 +02:00
Bastien Bouclet
52f2dfc869 SDL: Split the GraphicsManager into Surface and OpenGL 2016-07-14 12:02:51 +02:00