summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/bufmgr.h
diff options
context:
space:
mode:
authorZou Nan hai <nanhai.zou@intel.com>2006-12-13 15:22:45 +0800
committerZou Nan hai <nanhai.zou@intel.com>2006-12-13 13:29:37 -0800
commited7fbad2066f846bf9466b13b184a50d6f87f972 (patch)
tree64b7119403b7e436d32123e808c7856d3fead54f /src/mesa/drivers/dri/i965/bufmgr.h
parent4720cd00507f2c13becf318709f7c1fe24ba5146 (diff)
Fix bug #93, i965 driver not thread safe.
I am not confident of it is 100% thread safe now. bufmgr_fake.c need a total rewrite later (cherry picked from 606632ca27558ee1335be2f4a5906f2baa240a6a commit)
Diffstat (limited to 'src/mesa/drivers/dri/i965/bufmgr.h')
-rw-r--r--src/mesa/drivers/dri/i965/bufmgr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/bufmgr.h b/src/mesa/drivers/dri/i965/bufmgr.h
index 6932522d3d..e748c0d6d0 100644
--- a/src/mesa/drivers/dri/i965/bufmgr.h
+++ b/src/mesa/drivers/dri/i965/bufmgr.h
@@ -199,9 +199,11 @@ void *bmFindVirtual( struct intel_context *intel,
* For now they can stay, but will likely change/move before final:
*/
unsigned bmSetFence( struct intel_context * );
+unsigned bmSetFenceLock( struct intel_context * );
unsigned bmLockAndFence( struct intel_context *intel );
int bmTestFence( struct intel_context *, unsigned fence );
void bmFinishFence( struct intel_context *, unsigned fence );
+void bmFinishFenceLock( struct intel_context *, unsigned fence );
void bm_fake_NotifyContendedLockTake( struct intel_context * );