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 Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
rasterizer_canvas_gles3.cpp Add DEV_ASSERT and DEV_CHECK macros 2021-10-04 14:57:54 +01:00
rasterizer_canvas_gles3.h Clear glErrors instead of crashing when initializing GLES3 2021-06-21 17:53:24 +01:00
rasterizer_gles3.cpp Fix -Wextra warnings from GCC 11 2021-09-29 15:23:12 +02:00
rasterizer_gles3.h Clear glErrors instead of crashing when initializing GLES3 2021-06-21 17:53:24 +01:00
rasterizer_scene_gles3.cpp Fix CSGPolygon Buffer Overflow 2021-10-18 11:39:54 -04:00
rasterizer_scene_gles3.h Add high quality glow mode 2021-08-11 17:00:41 +02:00
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 SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
shader_compiler_gles3.cpp [3.x] Fix shader crash when using local var with the same name as varying 2021-08-13 09:30:35 +03:00
shader_compiler_gles3.h Backport dd0874e "Allow passing varying from fragment to light shader function" to 3.4 2021-05-14 11:28:48 -07:00
shader_gles3.cpp Improve the shader error console output 2021-07-17 03:00:46 +02:00
shader_gles3.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00