diff options
author | 2014-09-03 17:52:24 -0700 | |
---|---|---|
committer | 2014-09-04 14:05:10 -0700 | |
commit | e83cbd451868a734bfac07ccd680d5617080b579 (patch) | |
tree | eb2c39e190850694b67ad3f6e810a08f63e60282 /libs/hwui/StatefulBaseRenderer.cpp | |
parent | 01abcaa295fc4eec7442a575d160b0ce2c250127 (diff) |
Prioritize reveal clipping over Outline clipping
bug:15780987
bug:17350602
Also update docs around clipping nesting behavior,
and some Z ordering behavior.
Change-Id: Iaa204350a0adfdcbd8c4b821fb4a9c0ae22f2613
Diffstat (limited to 'libs/hwui/StatefulBaseRenderer.cpp')
-rw-r--r-- | libs/hwui/StatefulBaseRenderer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/hwui/StatefulBaseRenderer.cpp b/libs/hwui/StatefulBaseRenderer.cpp index 3e1aed3dfa01..12b8c8db28ea 100644 --- a/libs/hwui/StatefulBaseRenderer.cpp +++ b/libs/hwui/StatefulBaseRenderer.cpp @@ -198,13 +198,13 @@ void StatefulBaseRenderer::setClippingOutline(LinearAllocator& allocator, const clipRect(bounds.left, bounds.top, bounds.right, bounds.bottom, SkRegion::kIntersect_Op); } if (outlineIsRounded) { - setClippingRoundRect(allocator, bounds, radius); + setClippingRoundRect(allocator, bounds, radius, false); } } void StatefulBaseRenderer::setClippingRoundRect(LinearAllocator& allocator, - const Rect& rect, float radius) { - mSnapshot->setClippingRoundRect(allocator, rect, radius); + const Rect& rect, float radius, bool highPriority) { + mSnapshot->setClippingRoundRect(allocator, rect, radius, highPriority); } |