summaryrefslogtreecommitdiff
path: root/src/compositor.h
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-04-20 11:22:16 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-04-27 16:27:28 +0200
commitaa16c8505a8b393f34a1026e78f02ab0b86acdab (patch)
tree79a5fc7d23174eabc38e8ed47c2497bdd55eb66a /src/compositor.h
parent520d44325af6d18e9bf618718f04b5ff24007c67 (diff)
compositor: add YUV shaders.
Add shaders for NV12 (2 planes) and YUV (3 planes). Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Diffstat (limited to 'src/compositor.h')
-rw-r--r--src/compositor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compositor.h b/src/compositor.h
index d83a6dc..ada5743 100644
--- a/src/compositor.h
+++ b/src/compositor.h
@@ -201,6 +201,8 @@ struct weston_compositor {
EGLConfig config;
GLuint fbo;
struct weston_shader texture_shader_rgba;
+ struct weston_shader texture_shader_nv12;
+ struct weston_shader texture_shader_yuv8;
struct weston_shader solid_shader;
struct weston_shader *current_shader;
struct wl_display *wl_display;