godot/platform/x11
Hein-Pieter van Braam 9c308023bb Properly detect when to use DRI_PRIME
We fork off twice once with and once without DIR_PRIME=1 set. We
then use the vendor string to determine what GPU to use.

We prefer (in order)
1) AMDGPU/AMDGPU-PRO/NVidia non-free driver
2) Intel driver
3) Nouveau
4) Software rendering

If a driver can't be detected it will default to DRI_PRIME=0
2019-01-28 16:21:07 +00:00
..
export Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
context_gl_x11.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
context_gl_x11.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
crash_handler_x11.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
crash_handler_x11.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
detect_prime.cpp Properly detect when to use DRI_PRIME 2019-01-28 16:21:07 +00:00
detect_prime.h Properly detect when to use DRI_PRIME 2019-01-28 16:21:07 +00:00
detect.py Rename sanitizer option names. 2019-01-21 08:10:15 +01:00
godot_x11.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
joypad_linux.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
joypad_linux.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
key_mapping_x11.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
key_mapping_x11.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
logo.png
os_x11.cpp Properly detect when to use DRI_PRIME 2019-01-28 16:21:07 +00:00
os_x11.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
platform_config.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
platform_x11_builders.py
power_x11.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
power_x11.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
SCsub Properly detect when to use DRI_PRIME 2019-01-28 16:21:07 +00:00