virtualx-engine/platform/linuxbsd
Rémi Verschelde ae850177a3 Linux: Fix PRIME detection on Steam
To avoid trying to do PRIME detection on fake `libGL.so` as used by e.g.
Renderdoc or Primus, we skip detection if there's a `libGL.so` in
`LD_LIBRARY_PATH`... and our luck is that Steam defines it and includes
system paths too, thus the actual system `libGL`... 🤦

So if we detect Steam, we skip this check.

Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2021-03-08 15:51:14 +01:00
..
export Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
context_gl_x11.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
context_gl_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
crash_handler_linuxbsd.cpp Split OS::execute into two methods 2021-01-09 10:03:23 +00:00
crash_handler_linuxbsd.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
detect.py add msan sanitizer option for linus/bsd, lsan option for osx 2021-03-02 11:10:16 -06:00
detect_prime_x11.cpp Add 'AMD' GPU vendor name to PRIME detector 2021-02-20 16:49:06 +01:00
detect_prime_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
display_server_x11.cpp Linux: Fix PRIME detection on Steam 2021-03-08 15:51:14 +01:00
display_server_x11.h Modernize atomics 2021-02-18 17:12:46 +01:00
godot_linuxbsd.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
joypad_linux.cpp An update to the dylibloader for older inttypes 2021-02-20 01:24:30 +01:00
joypad_linux.h Modernize atomics 2021-02-18 17:12:46 +01:00
key_mapping_x11.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
key_mapping_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
libudev-so_wrap.c An update to the dylibloader for older inttypes 2021-02-20 01:24:30 +01:00
libudev-so_wrap.h An update to the dylibloader for older inttypes 2021-02-20 01:24:30 +01:00
logo.png
os_linuxbsd.cpp Unify URI encoding/decoding and add to C# 2021-01-28 07:45:01 -05:00
os_linuxbsd.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
pck_embed.ld
pck_embed.legacy.ld
platform_config.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
platform_linuxbsd_builders.py SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
SCsub Dynamically load libudev.so.1 on Linux if udev=yes 2021-02-17 13:14:59 +01:00
vulkan_context_x11.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
vulkan_context_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00