moonlight-qt/app/streaming
Cameron Gutman e64b15d2a7 Rework how we deal with window re-creation for EGLRenderer
Previously we opted to just lie to SDL and tell it that the current
GL context is actually GLES 3.0 when it wasn't. This meant that
we avoided our window being recreated for GLES usage on Wayland
and KMSDRM, but that meant our 10-bit color change didn't apply
either. I suspect this hackery is what led EGLRenderer to get
stuck in a state where SDL_CreateRenderer() always failed.

Now SDL will recreate our window once to configure a compatible GL
API for our renderer. If that fails, we'll move on to a different
renderer (which may recreate the window again).
2022-01-27 21:49:03 -06:00
..
audio Switch to SDL audio backend by default on Windows and macOS 2021-08-15 14:58:29 -05:00
input Fix improper null termination when stripping clipboard text 2021-12-10 02:04:19 -06:00
video Rework how we deal with window re-creation for EGLRenderer 2022-01-27 21:49:03 -06:00
session.cpp Rework how we deal with window re-creation for EGLRenderer 2022-01-27 21:49:03 -06:00
session.h Convert NeedsIdr member into an atomic variable with a getter 2022-01-17 14:30:12 -06:00
streamutils.cpp Create windows with SDL_WINDOW_METAL on macOS 2020-09-05 14:06:58 -07:00
streamutils.h Create windows with SDL_WINDOW_METAL on macOS 2020-09-05 14:06:58 -07:00