summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2018-02-03 15:22:33 +0100
committerMathias Fröhlich <[email protected]>2018-02-23 05:34:11 +0100
commit2f351408467a1d2e46927b8df0d3047b67ae2623 (patch)
tree4f3ba35429173ef3521bc7d2530a7ec9021ddc50 /m4
parent8a3a4b6fae75905088ce4fcb42fc50cb09763a10 (diff)
mesa: Use atomics for shared VAO reference counts.
VAOs will be used in the next change as immutable object across multiple contexts. Only reference counting may write concurrently on the VAO. So, make the reference count thread safe for those and only those VAO objects. v3: Use bool/true/false for gl_vertex_array_object::SharedAndImmutable. Signed-off-by: Mathias Fröhlich <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions