Re: [Mesa-dev] Texture object locking

2014-06-10 Thread Neil Roberts
(I was trying to be too clever with git-sendmail and I accidentally sent this to the wrong list… sorry!) Jason wrote: > Kristian and I were looking at this today, and there seems to be a > substantial race in the way that we are doing texture locking. Yes, it does look like this is a problem. I

[Mesa-dev] Texture object locking

2014-06-06 Thread Jason Ekstrand
Hello all, Kristian and I were looking at this today, and there seems to be a substantial race in the way that we are doing texture locking. In particular, we usually do the following: Lock the hashmap Find the texture object Unlock the hashmap Lock the texture object Do Stuff Unlock the texture