Skip to content
Snippets Groups Projects
Commit 08710281 authored by Kenneth Graunke's avatar Kenneth Graunke
Browse files

mesa: Use a recursive mutex for the texture lock.


This avoids problems with things like meta operations calling functions
that want to take the lock while the lock is already held.  Basically,
the point is to guard against API reentrancy across threads...not to
guard against ourselves.

Dave Airlie opposed this change, but it makes master usable again and no
one proposed a better solution.  We can revert this if/when someone
does.

Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
Reviewed-by: default avatarKristian Høgsberg <krh@bitplanet.net>
Tested-by: default avatarChris Forbes <chrisf@ijw.co.nz>
parent f90b7e0f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment