moonlight-qt/app/streaming/video/ffmpeg-renderers
Cameron Gutman 8324f61db0 Reduce per-frame GL calls in EGLRenderer
Uniforms are attached to the program object, so they don't need to
be set each time we swap between the YUV shader and the overlay
shader.

Since 0 overlays is by far the most common case and > 1 is highly
unlikely, move the glViewport() call into renderOverlay() to let
us skip it in the common case (and be no worse than today in the
2nd most common case of 1 overlay).
2025-11-06 17:52:30 -06:00
..
pacer Correct spelling mistakes found with Codespell 2023-07-09 13:21:18 -05:00
cuda.cpp Avoid retrying renderer init if we know the error was not transient 2025-02-18 19:02:12 -06:00
cuda.h Enable HEVC RFI for CUDA, VAAPI, and VDPAU decoders 2022-10-05 18:47:43 -05:00
d3d11va.cpp Switch D3D11VA to the shared functions for CSC matrix generation and chroma co-siting 2025-11-05 22:26:27 -06:00
d3d11va.h Switch D3D11VA to the shared functions for CSC matrix generation and chroma co-siting 2025-11-05 22:26:27 -06:00
drm.cpp Use hasFrameFormatChanged() in DRMRenderer 2025-11-06 00:04:08 -06:00
drm.h Use hasFrameFormatChanged() in DRMRenderer 2025-11-06 00:04:08 -06:00
dxutil.h Move hybrid decode detection logic into a central location 2022-01-23 15:41:33 -06:00
dxva2.cpp Add an enum type for each renderer 2025-02-18 18:58:04 -06:00
dxva2.h Use ComPtr for lifetime management in DXVA2 2024-07-30 22:41:29 -05:00
egl_extensions.cpp Add an enum type for each renderer 2025-02-18 18:58:04 -06:00
eglimagefactory.cpp Replace C++ VLAs with std::vector 2024-10-15 22:41:21 -05:00
eglimagefactory.h Add an enum type for each renderer 2025-02-18 18:58:04 -06:00
eglvid.cpp Reduce per-frame GL calls in EGLRenderer 2025-11-06 17:52:30 -06:00
eglvid.h Reduce per-frame GL calls in EGLRenderer 2025-11-06 17:52:30 -06:00
genhwaccel.cpp Add an enum type for each renderer 2025-02-18 18:58:04 -06:00
genhwaccel.h Add a GenericHwAccelRenderer for unknown hwaccels 2024-07-05 22:49:52 -05:00
mmal.cpp Avoid retrying renderer init if we know the error was not transient 2025-02-18 19:02:12 -06:00
mmal.h Add a new prepareToRender() callback for renders to perform their initial window clears 2024-06-25 23:12:18 -05:00
plvk.cpp Avoid retrying renderer init if we know the error was not transient 2025-02-18 19:02:12 -06:00
plvk.h Add an enum type for each renderer 2025-02-18 18:58:04 -06:00
plvk_c.c Fix libplacebo renderer build on Windows 2023-12-21 18:12:19 -06:00
renderer.h Add functions for color matrix generation and chroma co-siting in the renderer interface 2025-11-05 21:59:13 -06:00
sdlvid.cpp Use hasFrameFormatChanged() in SDLRenderer 2025-11-05 23:51:51 -06:00
sdlvid.h Use hasFrameFormatChanged() in SDLRenderer 2025-11-05 23:51:51 -06:00
swframemapper.cpp Move hw->sw frame mapping into a separate class 2023-03-26 14:41:02 -05:00
swframemapper.h Move hw->sw frame mapping into a separate class 2023-03-26 14:41:02 -05:00
vaapi.cpp Avoid retrying renderer init if we know the error was not transient 2025-02-18 19:02:12 -06:00
vaapi.h Plumb YUV444 logic into additional renderers 2024-07-25 06:36:40 -05:00
vdpau.cpp Use hasFrameFormatChanged() in VDPAU 2025-11-05 23:58:51 -06:00
vdpau.h Avoid trying VDPAU when Vulkan is preferred 2024-04-18 00:41:24 -05:00
vt.h Don't use CAMetalDisplayLink on Intel Macs 2025-10-23 21:16:53 -05:00
vt_avsamplelayer.mm Don't use CAMetalDisplayLink on Intel Macs 2025-10-23 21:16:53 -05:00
vt_base.mm Don't use CAMetalDisplayLink on Intel Macs 2025-10-23 21:16:53 -05:00
vt_metal.mm Switch Metal to the shared functions for CSC matrix generation and chroma co-siting 2025-11-05 23:22:15 -06:00