virtualx-engine/drivers/gles3
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
..
shaders Merge pull request #54197 from clayjohn/GLES3-irradiance-map 2021-10-29 14:11:53 +02:00
rasterizer_canvas_base_gles3.cpp clang-format: Enable BreakBeforeTernaryOperators 2021-10-28 14:50:33 +02:00
rasterizer_canvas_base_gles3.h
rasterizer_canvas_gles3.cpp Add DEV_ASSERT and DEV_CHECK macros 2021-10-04 14:57:54 +01:00
rasterizer_canvas_gles3.h
rasterizer_gles3.cpp Fix -Wextra warnings from GCC 11 2021-09-29 15:23:12 +02:00
rasterizer_gles3.h
rasterizer_scene_gles3.cpp Fix CSGPolygon Buffer Overflow 2021-10-18 11:39:54 -04:00
rasterizer_scene_gles3.h
rasterizer_storage_gles3.cpp Fix particles emitting at old location 2021-11-15 23:32:24 +01:00
rasterizer_storage_gles3.h [HTML5] Use compatibility function for glGetBufferSubData. 2021-11-29 16:42:26 +01:00
SCsub
shader_compiler_gles3.cpp
shader_compiler_gles3.h
shader_gles3.cpp
shader_gles3.h