commit | 3aa75f95f23df87cf74ddefe0d3f90b1484ff95e | [log] [tgz] |
---|---|---|
author | Jesse Hall <jessehall@google.com> | Fri May 20 10:47:07 2016 -0700 |
committer | Jesse Hall <jessehall@google.com> | Sat May 21 14:07:25 2016 -0700 |
tree | 5fd9e103c2bfbd758670d0db781d08b1d3f5e4af | |
parent | b59de7fa32b0bcaf52d00290d075d8e9c8f2dd2b [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