render: gles2: renderer: Add NV12 to render format set

The previous commit adds a synthetic NV12 render format to the set, but
it is contingent upon the presence of the R8 and GR88 render formats.

Signed-off-by: Andri Yngvason <andri@yngvason.is>
This commit is contained in:
Andri Yngvason 2026-04-15 12:46:17 +00:00
parent 9f5c3f23a2
commit 1aa17c9281
2 changed files with 12 additions and 1 deletions

View file

@ -53,6 +53,7 @@ struct wlr_gles2_renderer {
int drm_fd;
struct wlr_drm_format_set shm_texture_formats;
struct wlr_drm_format_set dmabuf_render_formats;
const char *exts_str;
struct {