Commit graph

19 commits

Author SHA1 Message Date
Pawel Kolodziejski
d01d06216f SDL: Move detection of the desktop resolution into the SdlWindow class 2020-05-10 23:04:31 +02:00
Pawel Kolodziejski
bd32585c45 ALL: Added missing files, don not enable docker plugin 2020-05-09 20:58:00 +02:00
Pawel Kolodziejski
b586571900 ALL: synced with ScummVM commit 09bf38c120 2020-05-09 20:05:54 +02:00
Paweł Kołodziejski
b5d73d4c22 Revert "SDL: Move detection of the desktop resolution into the SdlWindow class" 2020-04-17 17:59:36 +02:00
Cameron Cawley
bf2e80a183 SDL: Move detection of the desktop resolution into the SdlWindow class 2020-04-16 17:18:53 +01:00
Bastien Bouclet
93929be2c1 SDL: Use the current screen resolution when switching to fullscreen
Previously we used the resolution of the first screen. Fixes being
unable to switch to fullscreen when using two screens with different
resolutions.
2019-11-01 13:29:01 +01:00
Orgad Shaneh
64a4d498ce Fix mouse going out of bounds in fullscreen
The coordinates were translated, but this was done on a copy
instead of overwriting the original object.
2019-04-01 21:12:33 +03:00
DouglasLiuGamer
d4d6e6203b SDL: Implement screenshot saving 2019-02-23 09:52:09 +01:00
Bastien Bouclet
ef0155a50c OPENGL: Allow the window to be resized
Fixes #1500.
2018-10-13 18:33:01 +02:00
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
Bastien Bouclet
3ec01653c3 ALL: Merge from ScummVM rev 3a933138ce 2017-12-06 21:41:03 +01:00
Bastien Bouclet
6d8568d056 SDL: Implement kFeatureFullscreenToggleKeepsContext in OpenGL with SDL2 2017-09-01 09:25: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
a0dad6c8c7 Revert "SDL: Use consistent mouse grabbing API when building with SDL2"
This reverts commit 74e99a8a62.
2016-07-22 21:18:39 +02:00
Bastien Bouclet
74e99a8a62 SDL: Use consistent mouse grabbing API when building with SDL2
SDL_SetWindowGrab is also used by SdlWindow::toggleMouseGrab.
Fixes the mouse cursor visibility in the GMM in Myst III.
2016-07-22 20:44:33 +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
911e0e3915 BACKENDS: Remove launcherInitSize from GraphicsManager 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