Le Philousophe
6c2c603df2
OPENGL: Fix cast on Vertex Attribute pointer
2022-07-16 09:57:42 +02:00
Cameron Cawley
0eb11216fb
OPENGL: Add Shader::addAttribute()
2022-07-03 22:26:10 +03:00
D G Turner
8ee4251f41
OPENGL: Fix Integer to Pointer Cast GCC Compiler Warning
...
This is emitted when -Wint-to-pointer-cast is passed to GCC.
2022-06-30 01:04:59 +01:00
Cameron Cawley
863988fee4
OPENGL: Add proper error checking to the Shader class
2022-06-29 22:37:38 +01:00
Cameron Cawley
fb1db0e94f
OPENGL: Allow enabling vertex attributes without using a VBO
2022-06-29 14:15:46 +01:00
D G Turner
6bcd18f126
OPENGL: Add Missing Header Defining USE_FORCED_GLES Symbol to Shader Code
...
This missing header meant that USE_FORCED_GLES would always be undefined
and thus by default resolve to false i.e. disabled.
2022-06-26 23:14:14 +01:00
Le Philousophe
98c306376f
OPENGL: Merge both OpenGL shaders objects
2022-06-26 18:32:10 +02:00
Le Philousophe
4ab044a254
OPENGL: Merge both OpenGL contexts
2022-06-26 18:32:10 +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
1cf0b7d1b3
OPENGL: Unbind array buffer after using it
...
This avoids to mangle state for engines
2022-04-09 21:46:09 +02:00
Le Philousophe
89cfc283ab
OPENGL: Use correct function to debug program linking
2022-04-03 09:40:51 +02:00
Paweł Kołodziejski
710dac8029
OPENGL: Improve error handling for GL compiler by using dynamic allocated buffers.
2022-03-06 09:03:36 +01:00
Paweł Kołodziejski
786800e831
OPENGL: Skip adding suffix 'shaders' for iOS app, it has flatten tree.
2022-03-06 09:00:21 +01:00
Paweł Kołodziejski
4f0e5ed3c0
GRAPHICS: Moved shader code where it's actually used
2022-01-10 03:34:48 +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
a63f7abcd5
GRAPHICS: Corrected subdir depth for wintermute shaders
2021-11-21 20:49:09 +01:00
Paweł Kołodziejski
400ba4017f
GRAPHICS: Allow load engine shaders from extra path
2021-11-21 20:28:20 +01:00
Cameron Cawley
4d206e5286
GRAPHICS: Clean up OpenGL defines ( #3551 )
2021-11-18 00:56:21 +01:00
Paweł Kołodziejski
2776f7cb79
PLAYGROUND3D: Introduce testing and playground environment for 3d renderers
2021-10-26 13:43:16 +02:00
Christian Kündig
8af8ac2e08
OPENGL EMSCRIPTEN: clean up ifdefs, fix opengl in main menu, remove 10ms delay in GRIM main loop
2021-08-20 21:13:49 +02:00
Christian Kündig
501c7ba7aa
DISTS EMSCRIPTEN: set correct datadir (fixed issue with shader loading)
2021-08-20 21:13:49 +02:00
Christian Kündig
b7a2e22b0a
DISTS: New Emscripten/WebAssembly dists target
...
This is an initial version of the emscripten build/dist target.
Many things are still missing, see dists/emscripten/README.md for
a detailed summary of what this provides and still misses
2021-08-20 21:13:49 +02:00
Laurent Merckx
373f872dfa
GRAPHICS: Fix no shader error on Raspberry PI
2020-11-09 17:41:26 +01:00
Pawel Kolodziejski
a8b53f8f21
ALL: Avoid class names clashing with ScummVM classes
2020-09-28 18:47:10 +02:00
Gunnar Birke
36af129eaa
WINTERMUTE: Add wintermute shader directory to search manager
2020-08-10 11:24:28 +02:00
Bastien Bouclet
6b266a9179
OPENGL: Unbind the active program when destroying the active shader
...
Fixes switching renderers from Shaders to OpenGL in Grim with SDL2
2016-07-12 06:29:32 +02:00
Bastien Bouclet
b5dcf5d4bc
OPENGL: Select the shader version string at runtime
2016-02-06 08:02:50 +01:00
Bastien Bouclet
1a4b1d5dec
OPENGL: Always use GLSL 120 when using desktop GL
2016-02-06 08:02:50 +01:00
Bastien Bouclet
6c78bcebe4
GRAPHICS: Move opengles2 files to the opengl folder
2016-02-06 08:02:49 +01:00