summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_screen.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-07-08 11:20:39 +0200
committerChristian König <[email protected]>2011-07-08 11:20:39 +0200
commit7eca76952b6726be9459375dde7478a01789577e (patch)
tree07d63b63c53485914f5566b91d85681de171535d /src/gallium/include/pipe/p_screen.h
parentf265a194263bb2a3fa204947a9c98f472835f121 (diff)
[g3dvl] rename is_format_supported to is_video_format_supported and move it into screen object
Diffstat (limited to 'src/gallium/include/pipe/p_screen.h')
-rw-r--r--src/gallium/include/pipe/p_screen.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h
index 2fa469bbea7..011724a79cc 100644
--- a/src/gallium/include/pipe/p_screen.h
+++ b/src/gallium/include/pipe/p_screen.h
@@ -112,6 +112,14 @@ struct pipe_screen {
enum pipe_texture_target target,
unsigned sample_count,
unsigned bindings );
+
+ /**
+ * Check if the given pipe_format is supported as output for this codec/profile.
+ * \param profile profile to check, may also be PIPE_VIDEO_PROFILE_UNKNOWN
+ */
+ boolean (*is_video_format_supported)( struct pipe_screen *,
+ enum pipe_format format,
+ enum pipe_video_profile profile );
/**
* Create a new texture object, using the given template info.