Cameron Gutman
f3f1d56e8d
Fix EGLFS detection when a compositor is running on wayland-0 in another VT
2025-12-30 00:04:55 -06:00
Cameron Gutman
41ad3c0938
Add environment variable override helper function
...
This allows FORCE_QT_GLES and SEPARATE_TEST_DECODER to override both true and false.
2025-12-27 15:33:39 -06:00
Cameron Gutman
741e360024
Fix GLES compatibility check on VF2 pvr driver
2025-12-21 22:15:29 -06:00
Cameron Gutman
7edbede95d
Force Qt to use GLES if desktop GL is not available
...
Some platforms like the VisionFive 2 don't have working desktop GL,
so they must use GLES to be able to render at all. Qt doesn't try
to fall back if it fails to find a compatible EGL config, so we must
do so ourselves.
2025-12-21 21:13:22 -06:00
Cameron Gutman
3425fec33d
Use EGL+GLES workaround for Nvidia X11
...
We can avoid disabling EGL entirely by forcing Qt to use GLES,
which is not impacted by the black window issue. This lets us
simplify back to EGL everywhere.
2025-12-14 16:21:32 -06:00
Cameron Gutman
54163e30d0
Disable EGL on Nvidia XWayland environments too
...
It renders a black window, just like native X11.
2025-12-11 20:13:14 -06:00
Cameron Gutman
9c6d2bab19
Use EGL_VENDOR instead of NV-CONTROL for Nvidia detection
...
The latter will still match on a hybrid system when the iGPU's EGL
implementation is in use. This scenario works properly with EGL
rendering in Qt and SDL, so we want to allow that.
2025-12-06 11:20:03 -06:00
Cameron Gutman
1c24aada0a
Never use X11 EGL on Nvidia proprietary drivers
...
Fixes #1751
2025-12-05 23:10:31 -06:00
Cameron Gutman
dd2a99a96b
Prepare for SDL3 support
2025-01-25 16:20:20 -06:00
Cameron Gutman
011feab6ce
Add workaround for broken Qt EGLFS card selection logic
2024-04-06 14:35:34 -05:00
Cameron Gutman
d6b314f573
Add option to build for embedded environments
2021-03-13 15:20:58 -06:00
Cameron Gutman
395eb5581c
Cache results of WMUtils::isRunningX11() and WMUtils::isRunningWayland()
2021-02-07 11:03:53 -06:00
Cameron Gutman
6c980eba68
Fix build on Qt 5.15 Beta 2
...
Reverts most of 10dae7482c
2020-03-23 18:30:56 -07:00
Cameron Gutman
5520a52379
Force full-screen mode on EGLFS
2020-02-08 21:31:04 -08:00
Cameron Gutman
505050e936
Fix high DPI check in 0437835b
2020-02-08 18:47:59 -08:00