path ops -- make combined clips soft if one is soft
Review URL: https://codereview.chromium.org/14786018
git-svn-id: http://skia.googlecode.com/svn/trunk@9047 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp
index c491632..df2a0f9 100644
--- a/src/core/SkCanvas.cpp
+++ b/src/core/SkCanvas.cpp
@@ -1268,6 +1268,10 @@
} else {
Op(devPath, operand, (SkPathOp) elementOp, &devPath);
}
+ // if the prev and curr clips disagree about aa -vs- not, favor the aa request.
+ // perhaps we need an API change to avoid this sort of mixed-signals about
+ // clipping.
+ doAA |= element->isAA();
}
op = SkRegion::kReplace_Op;
}