commit | 1fcf8231eab1a3af8757e014009f482d57c43fdb | [log] [tgz] |
---|---|---|
author | Axel Davy <axel.davy@ens.fr> | Wed Mar 15 22:53:36 2017 +0100 |
committer | Andres Gomez <agomez@igalia.com> | Wed Mar 29 19:13:18 2017 +0300 |
tree | 8752b3df5837efe024df0dd4d2cf989d011ee15f | |
parent | 0444ef0832be74cd79fec026d552c5ffcff2cd41 [diff] |
st/nine: Use atomics for available_texture_mem Resource dtor can be executed in the worker thread. Use atomic to avoid threading safety issues. CC: "17.0" <mesa-stable@lists.freedesktop.org> Signed-off-by: Axel Davy <axel.davy@ens.fr> Tested-by: James Harvey <lothmordor@gmail.com> (cherry picked from commit bdf035ea6f784b90a6cbfd4ce16f3188ab15b2d3)