compositor: handle YUV buffers.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
diff --git a/src/compositor.h b/src/compositor.h
index d1fa58e..22c0174 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -244,7 +244,7 @@
GLuint program;
GLuint vertex_shader, fragment_shader;
GLint proj_uniform;
- GLint tex_uniform;
+ GLint tex_uniforms[3];
GLint alpha_uniform;
GLint color_uniform;
GLint texwidth_uniform;
@@ -331,6 +331,7 @@
PFNEGLBINDWAYLANDDISPLAYWL bind_display;
PFNEGLUNBINDWAYLANDDISPLAYWL unbind_display;
+ PFNEGLQUERYWAYLANDBUFFERWL query_buffer;
int has_bind_display;
void (*destroy)(struct weston_compositor *ec);