[g3dvl] rework video buffer format handling
[mesa.git] / src / gallium / include / pipe / p_video_context.h
index 2a30099c5b0e9caf5bb3bfb2ff27b08486d56aac..c9e618b60800eca5ff832074b6a6edf201a4fd00 100644 (file)
@@ -62,12 +62,11 @@ struct pipe_video_context
    int (*get_param)(struct pipe_video_context *context, int param);
 
    /**
-    * Check if the given pipe_format is supported as a texture or
-    * drawing surface.
+    * Check if the given pipe_format is supported as a video buffer
     */
    boolean (*is_format_supported)(struct pipe_video_context *context,
                                   enum pipe_format format,
-                                  unsigned usage);
+                                  enum pipe_video_profile profile);
 
    /**
     * create a surface of a texture