88 Commits

Author SHA1 Message Date
Thierry Crozat
a509afdf4d COMMON: Remove resetGraphicsScale from OSystem
This function used to be called from the Engine class, but was
not longer used since commit 432fd522. The single remaining use
was an internal use in the SurfaceSdlGraphicsManager, and I kept
the behaviour there while removing the function.
2020-11-12 21:05:36 +00:00
Cameron Cawley
a24194b4c9 BACKENDS: Add missing function to ModularGraphicsBackend
Fixes Trac #11778
2020-10-15 12:56:45 +01:00
Paweł Kołodziejski
070d274bf7
BACKENDS: Drop getScreenPixelBuffer() as no longer needed. (#2521) 2020-10-13 22:30:39 +02:00
Paweł Kołodziejski
35b9cccbde ALL: Merge ResidualVM 2020-10-09 19:44:13 +02:00
Pawel Kolodziejski
c4b9f966b6 GRIM: Drop side textures feature from backend. 2020-10-05 19:09:58 +02:00
Pawel Kolodziejski
d8f2040dba ALL: Drop setupScreen API, use new initGraphics3d from engine API.
Enabled system API for begin/end gfx transactions, initSize, setGraphicsMode.
Function setGraphicsMode will use optional params to trigger 3d rendering
and switch to proper SDL Gfx manager.
2020-10-02 19:14:19 +02:00
Pawel Kolodziejski
01120c9203 BACKENDS: A little more change in layout for 3D GFX manager 2020-09-27 16:41:23 +02:00
Pawel Kolodziejski
490bedb584 ALL: Fixed some compiler warnings while using c++11 2020-09-25 18:51:18 +02:00
Pawel Kolodziejski
3e13a02be9 BACKENNDS: Cleanup GFX backend 2020-09-25 14:23:30 +02:00
Pawel Kolodziejski
bfe58d3c77 ALL: Synced with ScummVM - rev: d4db631f9b72f9f39b0e76de19e56e445e5c4f64 2020-09-23 21:52:10 +02:00
Cameron Cawley
31be074893 BACKENDS: Add a function to return if the overlay is visible 2020-09-15 00:09:11 +02:00
Pawel Kolodziejski
d5304e2568 ALL: Synced with ScummVM - rev: 33a47d23b85694015fe2aa340219d2b60db873f3 2020-09-03 02:21:14 +02:00
aryanrawlani28
a089fe47e7 BACKENDS: Display messages on OSD takes in U32Strings for modular backend. 2020-08-30 14:43:41 +02:00
Cameron Cawley
b9d2b87085 BACKENDS: Move MixerManager code into ModularMixerBackend 2020-08-24 14:22:35 +02:00
Cameron Cawley
75852a786a BACKENDS: Split ModularBackend into two separate classes 2020-08-24 14:22:35 +02:00
Cameron Cawley
6c22f92301 BACKENDS: Move implementation of getMixer() out of ModularBackend 2020-08-24 14:22:35 +02:00
Pawel Kolodziejski
aea3bae26d ALL: Synced with ScummVM - rev 0b777c23a9807d149a11d4df5ea3f4e748fb53f2 2020-08-11 00:59:40 +02:00
Cameron Cawley
be6134c5de BACKENDS: Add final keywords 2020-08-03 20:24:27 +01:00
Pawel Kolodziejski
6e02b9d5d6 SDL: Based on PR #1624 and more sync with ScummVM 2020-05-12 23:46:03 +02:00
Pawel Kolodziejski
b586571900 ALL: synced with ScummVM commit 09bf38c1207aa32b9966e8642ee60e2186e15789 2020-05-09 20:05:54 +02:00
Cameron Cawley
f2db412ba5 GUI: Store the shader name in the config file instead of the ID 2020-03-09 18:01:14 -05:00
Bastien Bouclet
feaf9dc365 ALL: Sync with ScummVM rev. 55dba55056b842e02475d8c95fa621f431b5e3be 2019-12-08 17:06:42 +01:00
Cameron Cawley
48615cb83e BACKENDS: Move implementation of OSystem::quit() out of ModularBackend 2019-12-01 01:04:06 +02:00
sluicebox
b8390fa161 GRAPHICS: Add interface for horizontal shake 2019-11-19 00:20:40 +01:00
Bastien Bouclet
d474e3f94f ALL: Sync with ScummVM - rev. ea3f8f2e33563987d8190cc66de75b6ac7f476db 2019-06-29 19:08:44 +02:00
DouglasLiuGamer
d4d6e6203b SDL: Implement screenshot saving 2019-02-23 09:52:09 +01:00
Bastien Bouclet
53759fe53a ALL: Sync with ScummVM - rev. 2586ca2345751a0ca5eb2c694e5e2c753054f069 2018-07-31 21:09:37 +02:00
Thierry Crozat
8526c2c31a OSYSTEM: Add Stretch Mode API 2018-07-08 16:54:51 +01:00
Eugene Sandulenko
d6b5e3f611 BAKCENDS: Mark methods as override 2018-03-28 11:58:35 +02:00
Bastien Bouclet
3ec01653c3 ALL: Merge from ScummVM rev 3a933138ce9273724726efc0df051b8dcf92b7d8 2017-12-06 21:41:03 +01:00
Colin Snover
6e157429b7 BACKENDS: Fix window sizing of games that switch between multiple resolutions 2017-10-07 12:30:29 -05:00
Bastien Bouclet
84e62b6c8d ALL: Sync with ScummVM - rev. 87ebc7140c1bc650e7a6ac89b102f8f2d2970f63 2017-09-02 15:04:07 +02:00
cpasjuste
70988527c6 PSP2: Add Playstation Vita (PSP2) support 2017-03-04 15:42:19 -06:00
Pawel Kolodziejski
19bcd1f3bc ALL: Sync with ScummVM 2016-11-12 12:59:06 +01:00
Bastien Bouclet
0802bbd8ee OSYSTEM: Remove the API allowing to draw to the OSD surface directly 2016-09-13 20:41:26 +02:00
Bastien Bouclet
521ba2cb8a OSYSTEM: Introduce a method allowing to draw a background activity icon 2016-09-13 20:25:13 +02:00
Alexander Tkachev
1b9987ddc9 GUI: Add getOSDFormat() and make OSD 32 bpp 2016-08-24 16:07:55 +06:00
Alexander Tkachev
2a15b8b280 GUI: Add clearOSD() method
So one can erase everything from OSD and then blit something on it.
2016-08-24 16:07:55 +06:00
Alexander Tkachev
7ff1f91808 GUI: Add copyRectToOSD()
I was lazy to implement that in OpenGLGraphicsManager and I'm not sure
it's implemented correctly in SurfaceSdlGraphicsManager, but it works
for me.
2016-08-24 16:07:55 +06:00
Bastien Bouclet
287f97228f BACKENDS: Make suggestSideTextures go through GraphicsManager 2016-07-14 12:02:55 +02:00
Bastien Bouclet
911e0e3915 BACKENDS: Remove launcherInitSize from GraphicsManager 2016-07-14 12:02:55 +02:00
Bastien Bouclet
31715787ca SYSTEM: Add a system method for retrieving the screen framebuffer 2016-02-06 08:53:41 +01:00
Pawel Kolodziejski
c14d0ad8dc ALL: unify setupScreen() arguments type 2014-07-19 19:42:01 +02:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Johannes Schickel
121687d2ed BACKENDS: Make GPL headers consistent in themselves. 2014-02-18 02:39:32 +01:00
Pawel Kolodziejski
068ff94d20 ALL: synced with ScummVM 2013-07-07 15:29:33 +02:00
Pawel Kolodziejski
72664703cf ALL: sync with scummvm 2012-07-06 22:05:21 +02:00
Johannes Schickel
aec9b9e22a ALL: Let overlay related methods in OSystem take a void * and use a proper pitch values.
This is a first step to get rid of OverlayColor, which is a requirement for
proper 4Bpp overlay support.
2012-06-16 04:17:14 +02:00
Johannes Schickel
d27d951d0b BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.
This is mainly for consistency with OSystem::copyRectToScreen.
2012-06-16 03:28:42 +02:00
Johannes Schickel
31880186e1 BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte *" 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-16 02:18:01 +02:00