diff options
author | Derek Sollenberger <djsollen@google.com> | 2014-03-31 13:52:39 -0400 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2014-05-07 09:36:04 -0400 |
commit | c29a0a4664a4b9871fadd668b632469a0db240b9 (patch) | |
tree | 33e324bd3698bf9c100f998389694e4baeefaa57 /libs/hwui/DeferredDisplayList.cpp | |
parent | ae84e20b2a0cb77223d40f55c71011d3ae8c71c7 (diff) | |
download | frameworks_base-c29a0a4664a4b9871fadd668b632469a0db240b9.zip frameworks_base-c29a0a4664a4b9871fadd668b632469a0db240b9.tar.gz frameworks_base-c29a0a4664a4b9871fadd668b632469a0db240b9.tar.bz2 |
Avoid caching shadow properties in Java & HWUI.
bug: 10650594
Change-Id: I6f57df002710bb0567ed7e53fc0bfe96cfd504b8
Diffstat (limited to 'libs/hwui/DeferredDisplayList.cpp')
-rw-r--r-- | libs/hwui/DeferredDisplayList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/DeferredDisplayList.cpp b/libs/hwui/DeferredDisplayList.cpp index 3d58964..45b6624 100644 --- a/libs/hwui/DeferredDisplayList.cpp +++ b/libs/hwui/DeferredDisplayList.cpp @@ -190,7 +190,7 @@ public: // Overlapping other operations is only allowed for text without shadow. For other ops, // multiDraw isn't guaranteed to overdraw correctly - if (!isTextBatch || state->mDrawModifiers.mHasShadow) { + if (!isTextBatch || op->hasTextShadow()) { if (intersects(state->mBounds)) return false; } const DeferredDisplayState* lhs = state; |