virtualx-engine/drivers
Fabio Alessandrelli 35b7e86e6e
[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.

(cherry picked from commit bbfe054175)
2021-11-29 16:42:26 +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 Merge pull request #51491 from Calinou/glow-add-high-quality-mode-3.x 2021-10-08 07:47:07 +02:00
gl_context SCons: Add explicit dependencies on thirdparty code in cloned env 2021-04-29 16:57:00 +02:00
gles2 Fix Vertex Attribute Specification Octahedral 2021-11-15 22:28:23 +01:00
gles3 [HTML5] Use compatibility function for glGetBufferSubData. 2021-11-29 16:42:26 +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 Print the number of PulseAudio input channels when in verbose mode 2021-11-15 22:30:57 +01:00
unix Add missing WIN32_LEAN_AND_MEAN 2021-09-23 10:36:31 +02: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
SCsub