virtualx-engine/drivers/gles2
lawnjelly 45b0b8bff8 GLES2 2d Batch rendering (across items)
2d rendering is currently bottlenecked by drawing primitives one at a time, limiting OpenGL efficiency. This PR batches primitives and renders in fewer drawcalls, resulting in significant performance improvements. This also speeds up text rendering.

This PR batches across canvas items as well as within items.

The code dynamically chooses between a vertex format with and without color, depending on the input data for a frame, in order to optimize throughput and maximize batch size. It also adds an option to use glScissor to reduce fillrate in light passes.
2020-04-04 17:13:58 +01:00
..
shaders Fix array constructor for lightmaps 2020-01-15 17:41:46 -08:00
rasterizer_array_gles2.h GLES2 2d Batch rendering (across items) 2020-04-04 17:13:58 +01:00
rasterizer_canvas_base_gles2.cpp GLES2 2d Batch rendering (across items) 2020-04-04 17:13:58 +01:00
rasterizer_canvas_base_gles2.h GLES2 2d Batch rendering (across items) 2020-04-04 17:13:58 +01:00
rasterizer_canvas_gles2.cpp GLES2 2d Batch rendering (across items) 2020-04-04 17:13:58 +01:00
rasterizer_canvas_gles2.h GLES2 2d Batch rendering (across items) 2020-04-04 17:13:58 +01:00
rasterizer_gles2.cpp Add VisualServer methods to get the video adapter name and vendor 2020-01-06 00:37:56 +01:00
rasterizer_gles2.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
rasterizer_scene_gles2.cpp Merge pull request #35406 from lawnjelly/ortho-shadow 2020-01-22 22:02:09 +01:00
rasterizer_scene_gles2.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
rasterizer_storage_gles2.cpp Add support for opengl external textures as defined by https://www.khronos.org/registry/OpenGL/extensions/OES/OES_EGL_image_external.txt 2020-03-05 13:09:49 -08:00
rasterizer_storage_gles2.h Add support for opengl external textures as defined by https://www.khronos.org/registry/OpenGL/extensions/OES/OES_EGL_image_external.txt 2020-03-05 13:09:49 -08:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
shader_compiler_gles2.cpp Add support for opengl external textures as defined by https://www.khronos.org/registry/OpenGL/extensions/OES/OES_EGL_image_external.txt 2020-03-05 13:09:49 -08:00
shader_compiler_gles2.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
shader_gles2.cpp Add support for opengl external textures as defined by https://www.khronos.org/registry/OpenGL/extensions/OES/OES_EGL_image_external.txt 2020-03-05 13:09:49 -08:00
shader_gles2.h Add support for opengl external textures as defined by https://www.khronos.org/registry/OpenGL/extensions/OES/OES_EGL_image_external.txt 2020-03-05 13:09:49 -08:00