12 Commits

Author SHA1 Message Date
Le Philousophe
1e4696f6d0 OPENGL: Rework renderer selection code
Add a class to group all renderer related (static) functions.
This allows to have getBestMatchingAvailableType inline in all engines.

The matching code is now shared between all engines but allows
customization for engines needing it (Grim, WME3D).

The new code takes runtime availability of features to select the
best renderer.
It avoid crashes when user choosed OpenGL but GLES2 is used.
2022-04-03 22:17:19 +02:00
Le Philousophe
d9b4e457e8 ALL: Remove USE_GLES2 define
Replace it with USE_FORCED_GLES2
2022-01-18 16:49:03 +01:00
Paweł Kołodziejski
20cb0ae228
ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paweł Kołodziejski
de35138f3e GRAPHICS: Use OpenGL with shaders as default 2021-09-06 22:12:19 +02:00
a/
851b0c5edc GUI: Add lowres support for the renderer dropdown 2021-03-26 15:34:22 +01:00
Cameron Cawley
1bf1fb40fc
CONFIGURE: Allow building with TinyGL disabled (#2528) 2020-10-14 20:31:22 +02:00
Paweł Kołodziejski
e3cd0da0df BACKENDS: Attempt to fix buildbot targets 2020-10-14 07:06:18 +02:00
Paweł Kołodziejski
264f6f037b ALL: Separate USE_OPENGL and USE_OPENG_GAME. Exclude WME3D for GLES2 for now. 2020-10-10 14:12:07 +02:00
Bastien Bouclet
d30a22c9a5 GRAPHICS: Fix build with Apple's clang 7 2016-01-16 21:38:03 +01:00
Bastien Bouclet
8a4bada6b9 ENGINES: Also build the legacy OpenGL renderer when enabling shaders 2015-12-29 08:05:49 +01:00
Bastien Bouclet
19cc6b41e7 GRAPHICS: Add a list of renderer types 2015-12-28 16:37:15 +01:00