godot/drivers/gles2
Hein-Pieter van Braam 08f452d1a9 Fall back to GLES2 if GLES3 is not working
This adds a static is_viable() method to all rasterizers which has to be
called before initializing the rasterizer. This allows us to check what
rasterizer to use in OS::initialize together with the GL context
initialization.

This commit also adds a new project setting
"rendering/quality/driver/driver_fallback" which allows the creator of a
project to specify whether or not fallback to GLES2 is allowed. This
setting is ignored for the editor so the editor will always open even if
the project itself cannot run. This will hopefully reduce confusion for
users downloading projects from the internet.

We also no longer crash when GLES3 is not functioning on a platform.

This fixes #15324
2018-08-26 16:40:46 +02:00
..
shaders Fix generation of env map, closes #18880 2018-08-24 13:31:31 -03:00
rasterizer_canvas_gles2.cpp Make some debug prints verbose-only, remove others 2018-08-24 14:59:01 +02:00
rasterizer_canvas_gles2.h Revert "Batch GLES2 draw calls" 2018-08-20 02:10:14 +02:00
rasterizer_gles2.cpp Fall back to GLES2 if GLES3 is not working 2018-08-26 16:40:46 +02:00
rasterizer_gles2.h Fall back to GLES2 if GLES3 is not working 2018-08-26 16:40:46 +02:00
rasterizer_scene_gles2.cpp Merge pull request #21318 from karroffel/gles2-shader-fixes 2018-08-24 12:14:20 +02:00
rasterizer_scene_gles2.h [GLES2] fix depth for alpha pass 2018-08-23 17:25:00 +02:00
rasterizer_storage_gles2.cpp Make some debug prints verbose-only, remove others 2018-08-24 14:59:01 +02:00
rasterizer_storage_gles2.h BPTC support 2018-08-21 22:56:04 -04:00
SCsub add GLES 2 renderer for 2D 2018-03-01 15:12:30 +01:00
shader_compiler_gles2.cpp Make some debug prints verbose-only, remove others 2018-08-24 14:59:01 +02:00
shader_compiler_gles2.h s/2017/2018/g for gles2, websocket, linux appdata 2018-03-21 16:07:51 +07:00
shader_gles2.cpp Make some debug prints verbose-only, remove others 2018-08-24 14:59:01 +02:00
shader_gles2.h Revert "Batch GLES2 draw calls" 2018-08-20 02:10:14 +02:00