diff options
author | Christian König <[email protected]> | 2014-09-11 09:38:50 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2014-09-11 15:06:03 +0200 |
commit | 4dfdcdb4b394df72da769806a0b64025e475f8b3 (patch) | |
tree | 36e16fdcd39b47d58c408011ea65c8d7d7e3e29d /src/gallium/drivers/radeon/radeon_video.h | |
parent | 4bc0059229f212e91ca266ef3f80b652b1cdcb86 (diff) |
radeon/video: use the hw to initial clear the buffers
Less CPU overhead and avoids contention over CPU accessible memory on startup.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_video.h')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_video.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/radeon_video.h b/src/gallium/drivers/radeon/radeon_video.h index fe3088a0b96..974ea4f47be 100644 --- a/src/gallium/drivers/radeon/radeon_video.h +++ b/src/gallium/drivers/radeon/radeon_video.h @@ -62,7 +62,7 @@ bool rvid_resize_buffer(struct pipe_screen *screen, struct radeon_winsys_cs *cs, struct rvid_buffer *new_buf, unsigned new_size); /* clear the buffer with zeros */ -void rvid_clear_buffer(struct radeon_winsys *ws, struct radeon_winsys_cs *cs, struct rvid_buffer* buffer); +void rvid_clear_buffer(struct pipe_context *context, struct rvid_buffer* buffer); /* join surfaces into the same buffer with identical tiling params sumup their sizes and replace the backend buffers with a single bo */ |