summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorYounes Manton <[email protected]>2010-04-24 15:37:25 -0400
committerYounes Manton <[email protected]>2010-04-24 15:37:25 -0400
commitf64d0cf524b2203e648a060366a2e4220096aa1f (patch)
treeadec9541bd05de8826e1e29a44b5afb5c9e6203d /src/gallium/include
parent356473121c67fe626ca1df7d44fadfa601c3fe48 (diff)
vl: Adapt to dri changes.
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_screen.h9
1 files changed, 7 insertions, 2 deletions
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.