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 object

As one particular example, _mesa_DeleteTextures does this in
src/mesa/main/texobj.c:1208.  The problem is that the texture could be
deleted in between unlocking the texture map and locking the texture
object.  Is there something I'm missing here?  If not, how bad a problem is
this?

Thanks,
--Jason Ekstrand
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to