diff options
author | Mathias Agopian <mathias@google.com> | 2011-10-21 15:18:28 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2011-10-21 15:41:01 -0700 |
commit | 0dfb7b73a468698622d6c0423f0d5471a6f5d375 (patch) | |
tree | 87a39b5cdbf821691c07080240b08e1ff7e1d3a7 /opengl/tests/gl_basic/gl_basic.cpp | |
parent | f91a2f070a28f92e334d2b9f692a1217c2e8dccc (diff) |
mDirtyRegion is single threaded, but could be accessed from a hwc thread
We now have mInvalidateRegion which holds the region to invalidate, it
can be set from any thread as long as mInvalidateLock is held. We use
fine-grained locking here because mInvalidateRegion can be set from anywhere,
in particular frmo HWC callbacks.
Bug: 5466774
Change-Id: Iafca20aa3f5b25a87755e65bde7b769aa8f997bc
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions