godot/drivers/gles3
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_gles3.cpp Added a more minimal test to avoid crash in #20677 but I dont think this is the cause 2018-08-24 10:15:16 -03:00
rasterizer_canvas_gles3.h Fix a corner-case bug in _copy_texscreen in the gles3 renderer 2018-05-15 14:35:46 +03:00
rasterizer_gles3.cpp Fall back to GLES2 if GLES3 is not working 2018-08-26 16:40:46 +02:00
rasterizer_gles3.h Fall back to GLES2 if GLES3 is not working 2018-08-26 16:40:46 +02:00
rasterizer_scene_gles3.cpp add 3D textures 2018-07-30 12:20:27 +02:00
rasterizer_scene_gles3.h transmission was broken, fix was made. Also fixed treshold. 2018-07-22 14:04:11 -03:00
rasterizer_storage_gles3.cpp BPTC support 2018-08-21 22:56:04 -04:00
rasterizer_storage_gles3.h BPTC support 2018-08-21 22:56:04 -04:00
SCsub BuildSystem: generated files have .gen.extension 2017-06-25 07:55:01 +07:00
shader_compiler_gles3.cpp Make some debug prints verbose-only, remove others 2018-08-24 14:59:01 +02:00
shader_compiler_gles3.h add 3D textures 2018-07-30 12:20:27 +02:00
shader_gles3.cpp Make some debug prints verbose-only, remove others 2018-08-24 14:59:01 +02:00
shader_gles3.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00