summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
author chaviw <chaviw@google.com> 2019-08-12 13:28:29 -0700
committer chaviw <chaviw@google.com> 2019-08-12 13:28:29 -0700
commiteadf0d45489a28d0145c538848969ad023fc47ab (patch)
tree725da607a35943866d4c389a77d3570f8514ee57 /opengl/libagl/TextureObjectManager.cpp
parent4f17282e3122838d4581ca2f279386c3a9e1537e (diff)
Changed mNumLayers to atomic
mNumLayers is accessed from multiple threads, binder thread when a layer is created and main thread when a layer is destroyed. The variable should be atomic to ensure it's thread safe. Test: Builds and runs Change-Id: I72962d148dfdeec8e1877b86f93cc53c8c7883a9
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions