godot/drivers
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
..
alsa Add print_verbose to print to stdout only in verbose mode 2018-08-24 09:23:20 +02:00
alsamidi Added a new MIDIDriver class 2018-07-21 09:09:42 -03:00
convex_decomp [Core] Change math_2d includes to vector2 includes where relevant 2018-08-10 14:59:29 -05:00
coreaudio Add print_verbose to print to stdout only in verbose mode 2018-08-24 09:23:20 +02:00
coremidi Add OS::open_midi_inputs and OS::close_midi_inputs 2018-08-04 10:07:46 -03:00
dummy Fall back to GLES2 if GLES3 is not working 2018-08-26 16:40:46 +02:00
gl_context Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
gles2 Fall back to GLES2 if GLES3 is not working 2018-08-26 16:40:46 +02:00
gles3 Fall back to GLES2 if GLES3 is not working 2018-08-26 16:40:46 +02:00
png Make some debug prints verbose-only, remove others 2018-08-24 14:59:01 +02:00
pulseaudio Add print_verbose to print to stdout only in verbose mode 2018-08-24 09:23:20 +02:00
rtaudio Add print_verbose to print to stdout only in verbose mode 2018-08-24 09:23:20 +02:00
unix Add print_verbose to print to stdout only in verbose mode 2018-08-24 09:23:20 +02:00
wasapi Add print_verbose to print to stdout only in verbose mode 2018-08-24 09:23:20 +02:00
windows Make some debug prints verbose-only, remove others 2018-08-24 14:59:01 +02:00
winmidi Add OS::open_midi_inputs and OS::close_midi_inputs 2018-08-04 10:07:46 -03:00
xaudio2 Make some debug prints verbose-only, remove others 2018-08-24 14:59:01 +02:00
zlib style: Fix PEP8 whitespace issues in Python files 2016-11-01 00:35:16 +01:00
register_driver_types.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
register_driver_types.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
SCsub Added a new MIDIDriver class 2018-07-21 09:09:42 -03:00