[g3dvl] rework video buffer format handling

This commit is contained in:
Christian König
2011-06-07 22:01:30 +02:00
parent 8b02f9e67b
commit 00b4e48560
4 changed files with 55 additions and 33 deletions
+2 -3
View 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