diff options
author | Chris Craik <ccraik@google.com> | 2014-08-18 19:55:36 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2014-08-18 19:55:36 -0700 |
commit | 2262abbd16e4d6c7c2e40f7d81b02dfe7db846e8 (patch) | |
tree | 755a284787fb5c14ae44e9d9a86065cfd338c999 /libs | |
parent | 49e057d7eedb44f5397781254acab4e0ef08a9cf (diff) | |
download | frameworks_base-2262abbd16e4d6c7c2e40f7d81b02dfe7db846e8.zip frameworks_base-2262abbd16e4d6c7c2e40f7d81b02dfe7db846e8.tar.gz frameworks_base-2262abbd16e4d6c7c2e40f7d81b02dfe7db846e8.tar.bz2 |
Respect round rect clip when determining op opaqueness
bug:17115570
Change-Id: I30184b4678d333b5d222af8b61daa07a5e865cab
Diffstat (limited to 'libs')
-rw-r--r-- | libs/hwui/DisplayListOp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/DisplayListOp.h b/libs/hwui/DisplayListOp.h index c6d3db7..1032a75 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()) { |