diff options
author | Christian König <[email protected]> | 2011-12-22 15:43:50 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2012-01-02 12:47:15 +0100 |
commit | bce506ffc09c44552c3d1053c6a0450b8f010292 (patch) | |
tree | 6a8a0d548ed1a3b27d42aa1b78c7ce7172ae672f /src/gallium/auxiliary/vl/vl_zscan.h | |
parent | 2cd7e5b737e1384bb6d27f3cc2c8524b07230d56 (diff) |
vl: seperate shader buffers from components
Buffers for shader based decoding can now be
released without its component still being around.
Signed-off-by: Christian König <[email protected]>
Acked-by: Maarten Lankhorst <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_zscan.h')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_zscan.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/vl/vl_zscan.h b/src/gallium/auxiliary/vl/vl_zscan.h index ec90c1738b2..27411f21d52 100644 --- a/src/gallium/auxiliary/vl/vl_zscan.h +++ b/src/gallium/auxiliary/vl/vl_zscan.h @@ -57,8 +57,6 @@ struct vl_zscan struct vl_zscan_buffer { - struct vl_zscan *zscan; - struct pipe_viewport_state viewport; struct pipe_framebuffer_state fb_state; @@ -93,9 +91,10 @@ void vl_zscan_set_layout(struct vl_zscan_buffer *buffer, struct pipe_sampler_view *layout); void -vl_zscan_upload_quant(struct vl_zscan_buffer *buffer, const uint8_t matrix[64], bool intra); +vl_zscan_upload_quant(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, + const uint8_t matrix[64], bool intra); void -vl_zscan_render(struct vl_zscan_buffer *buffer, unsigned num_instances); +vl_zscan_render(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, unsigned num_instances); #endif |