diff options
author | Christian König <[email protected]> | 2011-07-08 11:20:39 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-07-08 11:20:39 +0200 |
commit | 7eca76952b6726be9459375dde7478a01789577e (patch) | |
tree | 07d63b63c53485914f5566b91d85681de171535d /src/gallium/include | |
parent | f265a194263bb2a3fa204947a9c98f472835f121 (diff) |
[g3dvl] rename is_format_supported to is_video_format_supported and move it into screen object
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_screen.h | 8 | ||||
-rw-r--r-- | src/gallium/include/pipe/p_video_context.h | 7 |
2 files changed, 8 insertions, 7 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. diff --git a/src/gallium/include/pipe/p_video_context.h b/src/gallium/include/pipe/p_video_context.h index 1fb635f1756..78cf43e2edc 100644 --- a/src/gallium/include/pipe/p_video_context.h +++ b/src/gallium/include/pipe/p_video_context.h @@ -56,13 +56,6 @@ struct pipe_video_context void (*destroy)(struct pipe_video_context *context); /** - * 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, - enum pipe_video_profile profile); - - /** * create a surface of a texture */ struct pipe_surface *(*create_surface)(struct pipe_video_context *context, |