moonlight-qt/app/streaming/video
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
..
ffmpeg-renderers Rework how we deal with window re-creation for EGLRenderer 2022-01-27 21:49:03 -06:00
decoder.h Save RTT in VIDEO_STATS so it can be logged on disconnect 2021-05-22 13:57:12 -05:00
ffmpeg.cpp Fix random crash on stream start with renderers that require test frames 2022-01-18 18:19:28 -06:00
ffmpeg.h Rewrite FFmpeg decoder to use pull model 2022-01-17 15:06:12 -06:00
ffmpeg_videosamples.cpp Add an HEVC Main10 test frame 2019-11-05 17:08:25 -08:00
overlaymanager.cpp Create power-of-2 overlay surfaces for better performance 2020-12-20 17:31:02 -06:00
overlaymanager.h Refactor SDL overlay drawing into OverlayManager for sharing with other renderers 2020-12-13 15:51:50 -06:00
slvid.cpp Cap resolution options at 1080p on Steam Link and Raspberry Pi due to hardware limitations 2020-02-23 00:43:43 -08:00
slvid.h Cap resolution options at 1080p on Steam Link and Raspberry Pi due to hardware limitations 2020-02-23 00:43:43 -08:00