r300g: do not wait for a busy BO if neither GPU nor CPU is changing it
authorMarek Olšák <maraeo@gmail.com>
Sun, 3 Apr 2011 19:25:40 +0000 (21:25 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 3 Apr 2011 20:49:22 +0000 (22:49 +0200)
commit6caac3ecb8bc32d92c35fdb1f0a67541ffa8af29
tree568a27585f14c79981ecac636d3c17f33c141444
parent9d881cbd5a4cd3252fdc8e1f81a6d48d67fc5e5c
r300g: do not wait for a busy BO if neither GPU nor CPU is changing it

Improves frame rate in apps with at least one user vertex buffer and
a hw index buffer.
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