godot/drivers/dummy
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
..
SCsub Add dummy audio driver, fix dummy rasterizer 2018-02-15 07:34:11 -08:00
audio_driver_dummy.h Add missing return statements (iOS and server). 2018-02-25 01:11:03 +02:00
rasterizer_dummy.h Fall back to GLES2 if GLES3 is not working 2018-08-26 16:40:46 +02:00
texture_loader_dummy.cpp Removed unnecessary assignments 2018-07-24 09:51:03 +02:00
texture_loader_dummy.h Dummy texture importer 2018-05-09 08:13:02 +02:00