virtualx-engine/drivers/gles2
lawnjelly 491059ca82 GLES2 Batching - Fix texture wrapping state bug.
For textures that were imported as wrapping, the legacy renderer relied on GL repeat state being set as a once off during load, and didn't alter the GL wrapping state at runtime.

Batching was setting wrapping according to the CANVAS_RECT_TILE flag on rects, however this reset GL wrapping to clamp after use, which was conflicting with later drawcalls that relied on the default wrapping being preserved.

In this PR we only set the wrapping in GL if the texture has not been imported with wrapping. This duplicates the logic in the legacy renderer and solves the state bug.
2020-06-23 08:34:17 +01:00
..
shaders SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
rasterizer_array_gles2.h GLES2 2d Batch rendering (across items) 2020-04-04 17:13:58 +01:00
rasterizer_canvas_base_gles2.cpp Add Nvidia Workaround for GLES3 2020-05-07 14:54:14 +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 Batching - Fix texture wrapping state bug. 2020-06-23 08:34:17 +01:00
rasterizer_canvas_gles2.h GLES2 batching - Add UV precision adjustment for tilemaps 2020-06-07 16:29:40 +01:00
rasterizer_gles2.cpp Add shader time scaling 2020-06-06 23:59:48 +02:00
rasterizer_gles2.h Add shader time scaling 2020-06-06 23:59:48 +02:00
rasterizer_scene_gles2.cpp Merge pull request #38099 from clayjohn/GLES2-skeleton-rebind 2020-04-22 08:23:43 +02:00
rasterizer_scene_gles2.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
rasterizer_storage_gles2.cpp GLES2 Batching - prevent baking on VERTEX use in a shader 2020-06-19 09:42:04 +01:00
rasterizer_storage_gles2.h GLES2 Batching - prevent baking on VERTEX use in a shader 2020-06-19 09:42:04 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
shader_compiler_gles2.cpp GLES2 Batching - prevent baking on VERTEX use in a shader 2020-06-19 09:42:04 +01:00
shader_compiler_gles2.h GLES2 Batching - prevent baking on VERTEX use in a shader 2020-06-19 09:42:04 +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