summaryrefslogtreecommitdiff
path: root/libs/rs/rsObjectBase.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2011-10-21 15:18:28 -0700
committer The Android Automerger <android-build@android.com> 2011-10-21 17:04:05 -0700
commit73182fc8213ad4fdc548463a637c593d1f22dffe (patch)
treea43723253c7dad1fa8cb574239815ff505ee901d /libs/rs/rsObjectBase.cpp
parentcbbf026a4382da9862ad559b51084e266738d8d4 (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 'libs/rs/rsObjectBase.cpp')
0 files changed, 0 insertions, 0 deletions