Skip to content

opengl/sw: remove unused fallback_masks

Steve Lhomme requested to merge robUx4/vlc:opengl_rgb_fallback into master

The RGB chromas that need mask fixing left are RGB16 and RGB15.

The only chroma that vlc_fourcc_GetRGBFallback() may provide is RGB16. But fixing RGB16 ends up being equivalent to VLC_CODEC_RGB565LE, which is listed before RGB16 in all the RGB fallback lists. So if RGB565LE is not supported RGB16 + default mask won't be either. And in fact neither are referenced by any OpenGL code, so it will never happen.

It would have been used only if interop_rgb_base_init() supported them as that's what is called to try to support the tested chromas. But only chromas without a mask are supported since eaf149b7.

Merge request reports

Loading