From 2262abbd16e4d6c7c2e40f7d81b02dfe7db846e8 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Mon, 18 Aug 2014 19:55:36 -0700 Subject: [PATCH] Respect round rect clip when determining op opaqueness bug:17115570 Change-Id: I30184b4678d333b5d222af8b61daa07a5e865cab --- libs/hwui/DisplayListOp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/hwui/DisplayListOp.h b/libs/hwui/DisplayListOp.h index c6d3db7d9a48e..1032a7560bd07 100644 --- a/libs/hwui/DisplayListOp.h +++ b/libs/hwui/DisplayListOp.h @@ -208,6 +208,8 @@ protected: // ensure that local bounds cover mapped bounds if (!state.mMatrix.isSimple()) return false; + if (state.mRoundRectClipState) return false; + // check state/paint for transparency if (mPaint) { if (mPaint->getShader() && !mPaint->getShader()->isOpaque()) {