st/nine: Do not wait for DEFAULT lock for surfaces when we can
authorAxel Davy <axel.davy@ens.fr>
Sun, 4 Dec 2016 09:33:19 +0000 (10:33 +0100)
committerAxel Davy <axel.davy@ens.fr>
Tue, 20 Dec 2016 22:47:08 +0000 (23:47 +0100)
commitb4f16615ef6546c6f8eab8a2d2a50cdab1773a91
treeed4f89cad6d195298a600e63ef05d4395ac337af
parent525a1b292a3d65857db06832e175fba840b75ff8
st/nine: Do not wait for DEFAULT lock for surfaces when we can

If the surfaces (and the texture container) are not referenced,
then they are no pending operations on them. We can lock directly.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/surface9.c