r300g: improve function radeon_bo_is_referenced_by_cs
authorMarek Olšák <maraeo@gmail.com>
Fri, 11 Feb 2011 06:52:10 +0000 (07:52 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sat, 12 Feb 2011 02:08:39 +0000 (03:08 +0100)
commitdf54b53b7d12a3bca5867b6649cb308feb36f0da
tree62a94f5682308e8dba045d7cb123c46fef30d420
parent20a78b68a3271d7a66fdf1e55c5882b8c12dfb8d
r300g: improve function radeon_bo_is_referenced_by_cs

This should prevent calling into radeon_get_reloc when there's
only one context.
src/gallium/winsys/radeon/drm/radeon_drm_bo.c
src/gallium/winsys/radeon/drm/radeon_drm_bo.h
src/gallium/winsys/radeon/drm/radeon_drm_cs.c
src/gallium/winsys/radeon/drm/radeon_drm_cs.h
src/gallium/winsys/radeon/drm/radeon_winsys.h