diff options
author | Zou Nan hai <[email protected]> | 2006-12-13 15:22:45 +0800 |
---|---|---|
committer | Zou Nan hai <[email protected]> | 2006-12-13 13:29:37 -0800 |
commit | ed7fbad2066f846bf9466b13b184a50d6f87f972 (patch) | |
tree | 64b7119403b7e436d32123e808c7856d3fead54f /src/mesa/drivers/dri/i965/bufmgr.h | |
parent | 4720cd00507f2c13becf318709f7c1fe24ba5146 (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.h | 2 |
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 6932522d3d3..e748c0d6d0b 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 * ); |