diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-04-18 06:32:10 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-04-18 16:09:21 +0200 |
commit | 7a1b5c937fa32968a04a11649e456a1ef8c5b442 (patch) | |
tree | 9888ba323d55000d51cbcbb8a27c0bfeafb113d1 /src/gallium/winsys/radeon/drm/radeon_buffer.h | |
parent | bc8fa67926e8e094cd05bf7f1f690cf24e903e06 (diff) | |
download | external_mesa3d-7a1b5c937fa32968a04a11649e456a1ef8c5b442.zip external_mesa3d-7a1b5c937fa32968a04a11649e456a1ef8c5b442.tar.gz external_mesa3d-7a1b5c937fa32968a04a11649e456a1ef8c5b442.tar.bz2 |
r300g: do not tell st that a buffer is referenced by hw
It saves a few libdrm calls and unnecessary flushes.
Diffstat (limited to 'src/gallium/winsys/radeon/drm/radeon_buffer.h')
-rw-r--r-- | src/gallium/winsys/radeon/drm/radeon_buffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_buffer.h b/src/gallium/winsys/radeon/drm/radeon_buffer.h index 8782d67..b48b635 100644 --- a/src/gallium/winsys/radeon/drm/radeon_buffer.h +++ b/src/gallium/winsys/radeon/drm/radeon_buffer.h @@ -86,5 +86,6 @@ void radeon_drm_bufmgr_flush_maps(struct pb_manager *_mgr); boolean radeon_drm_bufmgr_get_handle(struct pb_buffer *_buf, struct winsys_handle *whandle); -boolean radeon_drm_bufmgr_is_buffer_referenced(struct pb_buffer *_buf); +boolean radeon_drm_bufmgr_is_buffer_referenced(struct pb_buffer *_buf, + enum r300_reference_domain domain); #endif |