Commit Graph

33 Commits

Author SHA1 Message Date
Cameron Cawley
f3b094e53f ENGINES: Change the MetaEngineDetection interface to match MetaEngine 2022-07-23 23:31:58 +02:00
Cameron Cawley
353bb8387f PLAYGROUND3D: Fix typos 2022-07-23 22:09:25 +01:00
Le Philousophe
98c306376f OPENGL: Merge both OpenGL shaders objects 2022-06-26 18:32:10 +02:00
Paweł Kołodziejski
af899c07bf
PLAYGROUND3D: Added minimal fog test for tinygl renderer. 2022-06-05 21:01:04 +02:00
Le Philousophe
c9b4949746 AMIGAOS: Improve shader compatibility
OGLES2 doesn't support uniform booleans so we use macros to make it use
integers in this case. For other platforms, this change should be a
noop.
OGLES2 doesn't like float suffix for constants, remove it as well.
2022-04-17 12:34:38 +02:00
Le Philousophe
ee73b9e950 PLAYGROUND3D: Remove now useless glBindBuffer
This function is not available in old OpenGL.
2022-04-16 15:11:46 +02:00
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
Hubert Maier
f8df5bc346 Playground3D: Fix typo 2022-01-18 09:46:35 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paweł Kołodziejski
09d447c211
PLAYGROUND3D: Fix minor coverity warnings 2021-12-20 18:40:41 +01:00
Cameron Cawley
e3ff9b5f9e PLAYGROUND3D: Use the existing list of rectangles when copying to the screen 2021-12-09 22:01:46 +01:00
Paweł Kołodziejski
6a591146c8
TINYGL: Added stencil buffer implementation 2021-12-09 21:10:53 +01:00
Paweł Kołodziejski
3b9f9804ee
TINYGL: Rearrange access to TinyGL 2021-12-08 14:52:18 +01:00
Paweł Kołodziejski
d80bd265d2
TINYGL: Rearrange visibility various functions 2021-12-06 13:57:41 +01:00
Paweł Kołodziejski
9e72366b5f
ENGINES: Allow to build without TINYGL enabled 2021-12-05 00:08:53 +01:00
Paweł Kołodziejski
f155d1796c
PLAYGROUND3D: Drop BGRA pixel format 2021-12-04 22:15:39 +01:00
Paweł Kołodziejski
ce5c63e0b3
PLAYGROUND3D: Added tinygl blit test 2021-12-04 15:28:35 +01:00
Paweł Kołodziejski
a9746518e4
PLAYGROUND3D: Remove redundant code 2021-12-04 14:25:32 +01:00
Paweł Kołodziejski
fef3409a5c
PLAYGROUND3D: Enable commented code - texture removal 2021-12-04 13:58:00 +01:00
Paweł Kołodziejski
bac4c7c7ea
PLAYGROUND3D: Corrected pixel format 2021-12-04 11:05:18 +01:00
Paweł Kołodziejski
946ee0a639
PLAYGROUND3D: Added more pixel formats for bitmap test 2021-12-04 10:16:43 +01:00
Paweł Kołodziejski
70e714c722
PLAYGROUND3D: Limit number of pixel formats for test bitmap 2021-12-04 00:20:33 +01:00
Paweł Kołodziejski
ed837d20a8
PLAYGROUND3D: Added bitmap test 2021-12-03 23:34:58 +01:00
Cameron Cawley
4d206e5286
GRAPHICS: Clean up OpenGL defines (#3551) 2021-11-18 00:56:21 +01:00
Orgad Shaneh
6c33355418 PLAYGROUND3D: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Orgad Shaneh
ee57380de7 ENGINES: JANITORIAL: Remove 'virtual' when override is specified 2021-11-14 14:32:04 +02:00
Paweł Kołodziejski
0c5e091215
PLAYGROUND3D: Added viewport test 2021-11-08 09:00:01 +01:00
Eugene Sandulenko
a9267184f4
ENGINES: Drop cxx11 feature dependency. Now it is always preent 2021-10-31 11:46:26 +02:00
D G Turner
3b8685a77c PLAYGROUND3D: Fix Errorneous Fallthrough in Switch Statement 2021-10-29 01:40:22 +01:00
Paweł Kołodziejski
862bd7d05f
GRAPHICS: Move FrameLimiter from engines to common graphics code 2021-10-27 23:11:20 +02:00
Paweł Kołodziejski
7a4b769887
PLAYGROUND3D: Added dimming test using vertex arrays 2021-10-27 22:31:47 +02:00
Paweł Kołodziejski
e7ef9718a6
PLAYGROUND3D: Added polygon depth offset test 2021-10-26 22:02:39 +02:00
Paweł Kołodziejski
2776f7cb79 PLAYGROUND3D: Introduce testing and playground environment for 3d renderers 2021-10-26 13:43:16 +02:00