commit | 6497eabf0eaba7eb239431043b32365fb0daa7a1 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Fri Oct 21 15:18:28 2011 -0700 |
committer | Mathias Agopian <mathias@google.com> | Fri Oct 21 15:41:01 2011 -0700 |
tree | a43723253c7dad1fa8cb574239815ff505ee901d | |
parent | 8bf89f305eb3a2010b1a63048a4aa18ccbc42e78 [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