summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-06-07 22:01:30 +0200
committerChristian König <[email protected]>2011-06-07 22:01:30 +0200
commit00b4e48560f4d576b7b1924257322f5167e58c8d (patch)
tree05119f400ae3790b62c97e9fe56e945cdd70069e /src/gallium/include/pipe
parent8b02f9e67b83e40019d6b07b9a035ba5d5042688 (diff)
[g3dvl] rework video buffer format handling
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_video_context.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/include/pipe/p_video_context.h b/src/gallium/include/pipe/p_video_context.h
index 2a30099c5b0..c9e618b6080 100644
--- a/src/gallium/include/pipe/p_video_context.h
+++ b/src/gallium/include/pipe/p_video_context.h
@@ -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