godot/platform
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
..
android Fall back to GLES2 if GLES3 is not working 2018-08-26 16:40:46 +02:00
haiku Rebase patches for fixing haiku build. 2018-08-11 17:20:51 +02:00
iphone Fall back to GLES2 if GLES3 is not working 2018-08-26 16:40:46 +02:00
javascript Fall back to GLES2 if GLES3 is not working 2018-08-26 16:40:46 +02:00
osx Fall back to GLES2 if GLES3 is not working 2018-08-26 16:40:46 +02:00
server Fix some more build issues after c69de2ba4 2018-07-20 11:56:18 +02:00
uwp Fall back to GLES2 if GLES3 is not working 2018-08-26 16:40:46 +02:00
windows Fall back to GLES2 if GLES3 is not working 2018-08-26 16:40:46 +02:00
x11 Fall back to GLES2 if GLES3 is not working 2018-08-26 16:40:46 +02:00
register_platform_apis.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
SCsub Running builder (content generator) functions in subprocesses on Windows 2018-07-27 21:37:55 +02:00