godot/drivers
Fabio Alessandrelli bbfe054175 [HTML5] Use compatibility function for glGetBufferSubData.
The "webgl/webgl2.h" include provides that function, but it's not
available in emscripten versions < 2.0.17 .

Since we need to support emscripten 1.39.9 (mono builds), this commit
adds a JS function in library_godot_display.js as a compatibility layer
for it, and implement glGetBufferSubData by funneling the call to that
function (so we don't have name collisions JS-side with recent emcc).

All those hacks are now moved to the platform directory instead of being
ifdefs inside the drivers implementations.
2021-11-26 15:58:04 +01:00
..
alsa Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
alsamidi Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
coreaudio Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
coremidi Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
dummy Implement async shader compilation plus caching for GL ES 3 2021-11-09 12:19:12 +01:00
gl_context SCons: Add explicit dependencies on thirdparty code in cloned env 2021-04-29 16:57:00 +02:00
gles2 Add const qualifier support for function arguments in shaders 2021-11-19 21:20:23 +01:00
gles3 [HTML5] Use compatibility function for glGetBufferSubData. 2021-11-26 15:58:04 +01:00
gles_common clang-format: Various fixes to comments alignment from clang-format 13 2021-10-28 14:50:32 +02:00
png Merge pull request #47854 from mortarroad/3.x-lossless-webp 2021-06-11 19:35:47 +02:00
pulseaudio Use application name for pulseaudio device 2021-11-15 17:22:47 +01:00
unix Fix data directory of unnamed projects 2021-11-18 13:47:52 +01:00
wasapi Add missing WIN32_LEAN_AND_MEAN 2021-09-23 10:36:31 +02:00
windows Merge pull request #52964 from Pineapple/WIN32_LEAN_AND_MEAN 2021-10-05 12:03:52 +02:00
winmidi Add missing WIN32_LEAN_AND_MEAN 2021-09-23 10:36:31 +02:00
xaudio2 Add missing WIN32_LEAN_AND_MEAN 2021-09-23 10:36:31 +02:00
register_driver_types.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
register_driver_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub Unified GLES2 / GLES3 Batching 2020-10-16 10:34:47 +01:00