Merge "Respect round rect clip when determining op opaqueness" into lmp-dev

This commit is contained in:
Chris Craik
2014-08-19 16:51:32 +00:00
committed by Android (Google) Code Review

View File

@@ -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()) {