diff options
| author | Marcin Zawiejski <dragmz@gmail.com> | 2018-08-20 02:10:14 +0200 |
|---|---|---|
| committer | Marcin Zawiejski <dragmz@gmail.com> | 2018-08-20 02:10:14 +0200 |
| commit | bd5ff205b2c1f6ebeeab94bb8dc02a2ff725f628 (patch) | |
| tree | 44782f77c728e95027100cf64fe041e398a562de /drivers/gles2/rasterizer_storage_gles2.h | |
| parent | faa49c182978b3fe74e7aad65fb761c2881f009c (diff) | |
| download | redot-engine-bd5ff205b2c1f6ebeeab94bb8dc02a2ff725f628.tar.gz | |
Revert "Batch GLES2 draw calls"
This reverts commit f55039b194bbbd8d797b667d67e5677fb429d356.
The GLES2 batching seems to require more testing and tweaking in order
to actually make the performance better on Android devices. It's been
proved with #21184 that the current implementation has it's drawbacks
therefore I suggest reverting the commit for now.
Diffstat (limited to 'drivers/gles2/rasterizer_storage_gles2.h')
| -rw-r--r-- | drivers/gles2/rasterizer_storage_gles2.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gles2/rasterizer_storage_gles2.h b/drivers/gles2/rasterizer_storage_gles2.h index 38c0ccaac2..c1fbf73254 100644 --- a/drivers/gles2/rasterizer_storage_gles2.h +++ b/drivers/gles2/rasterizer_storage_gles2.h @@ -252,7 +252,7 @@ public: int mipmaps; bool active; - GLuint tex_id; + GLenum tex_id; uint16_t stored_cube_sides; @@ -429,8 +429,6 @@ public: bool uses_screen_texture; bool uses_screen_uv; bool uses_time; - bool uses_modelview_matrix; - bool uses_vertex; } canvas_item; |
