From f64d0cf524b2203e648a060366a2e4220096aa1f Mon Sep 17 00:00:00 2001 From: Younes Manton Date: Sat, 24 Apr 2010 15:37:25 -0400 Subject: vl: Adapt to dri changes. --- src/gallium/include/pipe/p_screen.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/gallium/include') diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h index b8e007ec8ac..cf6a9c5e2f0 100644 --- a/src/gallium/include/pipe/p_screen.h +++ b/src/gallium/include/pipe/p_screen.h @@ -86,8 +86,13 @@ struct pipe_screen { float (*get_paramf)( struct pipe_screen *, int param ); struct pipe_context * (*context_create)( struct pipe_screen *, - void *priv ); - + void *priv ); + + struct pipe_video_context * (*video_context_create)( struct pipe_screen *screen, + enum pipe_video_profile profile, + enum pipe_video_chroma_format chroma_format, + unsigned width, unsigned height, void *priv ); + /** * Check if the given pipe_format is supported as a texture or * drawing surface. -- cgit v1.2.3