diff options
author | Christian König <[email protected]> | 2011-04-24 19:20:33 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-04-24 19:29:34 +0200 |
commit | 3ea7e2713c836f23d59c4034385609e371a94c8d (patch) | |
tree | 523a78de983e49e031a566873703f5db2edf3d2d /src/gallium/include | |
parent | b54909910c04313fb45c4e8f39091ad73ec329f3 (diff) |
[g3dvl] start supporting different render target formats
Let's start with NV12, but anything else shouldn't be much of a problem any more.
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_video_context.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_video_context.h b/src/gallium/include/pipe/p_video_context.h index 7e971641618..88d3ca1f4e4 100644 --- a/src/gallium/include/pipe/p_video_context.h +++ b/src/gallium/include/pipe/p_video_context.h @@ -235,7 +235,12 @@ struct pipe_video_buffer /** * get a individual sampler view for each plane */ - struct pipe_sampler_view **(*get_sampler_views)(struct pipe_video_buffer *buffer); + struct pipe_sampler_view **(*get_sampler_view_planes)(struct pipe_video_buffer *buffer); + + /** + * get a individual sampler view for each component + */ + struct pipe_sampler_view **(*get_sampler_view_components)(struct pipe_video_buffer *buffer); /** * get a individual surfaces for each plane |