diff options
author | Mathias Fröhlich <[email protected]> | 2018-02-03 15:22:33 +0100 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2018-02-23 05:34:11 +0100 |
commit | 2f351408467a1d2e46927b8df0d3047b67ae2623 (patch) | |
tree | 4f3ba35429173ef3521bc7d2530a7ec9021ddc50 /docs | |
parent | 8a3a4b6fae75905088ce4fcb42fc50cb09763a10 (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 'docs')
0 files changed, 0 insertions, 0 deletions