diff options
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_video.h')
-rw-r--r-- | src/gallium/drivers/radeon/radeon_video.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/radeon_video.h b/src/gallium/drivers/radeon/radeon_video.h index 7833ddc6d0b..55d2ca466de 100644 --- a/src/gallium/drivers/radeon/radeon_video.h +++ b/src/gallium/drivers/radeon/radeon_video.h @@ -43,6 +43,7 @@ /* video buffer representation */ struct rvid_buffer { + enum radeon_bo_domain domain; struct pb_buffer* buf; struct radeon_winsys_cs_handle* cs_handle; }; @@ -51,7 +52,8 @@ struct rvid_buffer unsigned rvid_alloc_stream_handle(void); /* create a buffer in the winsys */ -bool rvid_create_buffer(struct radeon_winsys *ws, struct rvid_buffer *buffer, unsigned size); +bool rvid_create_buffer(struct radeon_winsys *ws, struct rvid_buffer *buffer, + unsigned size, enum radeon_bo_domain domain); /* destroy a buffer */ void rvid_destroy_buffer(struct rvid_buffer *buffer); |