godot/platform
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
..
android Merge pull request #55158 from m4gr3d/add_oculus_openxr_config_3x 2021-11-22 10:29:49 +01:00
iphone Add off-screen GL context 2021-11-09 12:19:12 +01:00
javascript [HTML5] Use compatibility function for glGetBufferSubData. 2021-11-26 15:58:04 +01:00
osx Remove unimplemented methods 2021-11-18 12:47:36 +00:00
server [3.x] Add RISC-V to "server" platform 2021-10-27 13:57:37 -05:00
uwp Remove unimplemented methods 2021-11-18 12:47:36 +00:00
windows Fix data directory of unnamed projects 2021-11-18 13:47:52 +01:00
x11 Add support for PowerPC family 2021-11-15 17:22:46 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
register_platform_apis.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00