Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into pipe-video
[mesa.git] / src / gallium / include / pipe / p_screen.h
index 912631242f51ba52734ee5e06b8d646838374b76..2f22ac22bbf7ca1fd9eee4cadd0d1abf3f022058 100644 (file)
@@ -93,7 +93,12 @@ struct pipe_screen {
    int (*get_shader_param)( struct pipe_screen *, unsigned shader, enum pipe_shader_cap 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