summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2016-05-20 10:47:07 -0700
committerJesse Hall <jessehall@google.com>2016-05-21 14:07:25 -0700
commit3aa75f95f23df87cf74ddefe0d3f90b1484ff95e (patch)
tree5fd9e103c2bfbd758670d0db781d08b1d3f5e4af /opengl/tests/gl_basic/gl_basic.cpp
parentb59de7fa32b0bcaf52d00290d075d8e9c8f2dd2b (diff)
Ensure memory ordering around libagl and EGL refcount operations
The android_atomic_inc/android_atomic_dec functions don't impose sufficient memory ordering. Using them for object refcounting could allow an object to be destroyed prior to writes by a different thread being visible. Bug: 28820690 Change-Id: Ie018091035174255a22ebc52852528cdaec2d648
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions