Merge branch 'master' into pipe-video
[mesa.git] / src / gallium / include / pipe / p_screen.h
index 912631242f51ba52734ee5e06b8d646838374b76..75eeaeba1f71ce70f04c441494669b2f6f26843d 100644 (file)
@@ -92,8 +92,13 @@ 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 );
+   struct pipe_context * (*context_create)( struct pipe_screen *, 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