moonlight-qt/app/streaming/video/ffmpeg-renderers
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
..
pacer Send a null AVFrame to indicate end of stream to allow renderers to do render thread cleanup 2020-05-13 18:55:21 -07:00
cuda.cpp Optimize CUDA GL interop and provide fallback 2021-12-13 21:41:00 -06:00
cuda.h Optimize CUDA GL interop and provide fallback 2021-12-13 21:41:00 -06:00
drm.cpp Improve debugging and add missing break 2022-01-23 21:12:32 -06:00
drm.h Add color properties to DRM renderer 2022-01-23 21:03:56 -06:00
dxutil.h Move hybrid decode detection logic into a central location 2022-01-23 15:41:33 -06:00
dxva2.cpp Move hybrid decode detection logic into a central location 2022-01-23 15:41:33 -06:00
dxva2.h Update Windows and macOS to FFmpeg 5.0 2022-01-22 13:44:05 -06:00
egl_extensions.cpp Print the error when querying EGL_EXTENSIONS fails 2021-01-30 20:13:20 -06:00
eglvid.cpp Rework how we deal with window re-creation for EGLRenderer 2022-01-27 21:49:03 -06:00
eglvid.h Enable P010 surface export from VAAPI to EGL 2022-01-23 18:33:30 -06:00
mmal.cpp Fix incorrect colorspace in MMAL renderer 2022-01-09 17:04:38 -06:00
mmal.h Fix incorrect colorspace in MMAL renderer 2022-01-09 17:04:38 -06:00
renderer.h Add YUV colorspace and color range attributes to EGLImage 2021-11-19 01:15:33 -06:00
sdlvid.cpp Remove superfluous colorspace check 2022-01-13 01:19:17 -06:00
sdlvid.h Handle colorspace changes in SDL renderer 2022-01-13 01:16:09 -06:00
vaapi.cpp Enable P010 surface export from VAAPI to EGL 2022-01-23 18:33:30 -06:00
vaapi.h Enable P010 surface export from VAAPI to EGL 2022-01-23 18:33:30 -06:00
vdpau.cpp Don't try VDPAU on XWayland by default 2021-12-15 20:49:12 -06:00
vdpau.h Add overlay support to VDPAU renderer 2020-12-17 18:35:08 -06:00
vt.h Separate FFmpeg decoder from the Session class (#4) 2018-07-17 20:00:16 -07:00
vt.mm Fix Apple silicon CPU check 2022-01-23 13:01:20 -06:00