Remove MSAA check from Ganesh veto (dashed paths are no longer slow).
authorsenorblanco <senorblanco@chromium.org>
Wed, 22 Apr 2015 21:33:34 +0000 (14:33 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 22 Apr 2015 21:33:35 +0000 (14:33 -0700)
R=egdaniel@google.com
BUG=skia:

Review URL: https://codereview.chromium.org/1098753004

src/core/SkPicture.cpp

index 2a33c4d..37bf921 100644 (file)
@@ -230,11 +230,7 @@ bool SkPicture::Analysis::suitableForGpuRasterization(const char** reason,
     // TODO: the heuristic used here needs to be refined
     static const int kNumSlowPathsTol = 6;
 
-    int numSlowPathDashedPaths = fNumPaintWithPathEffectUses;
-    if (0 == sampleCount) {
-        // The fast dashing path only works when MSAA is disabled
-        numSlowPathDashedPaths -= fNumFastPathDashEffects;
-    }
+    int numSlowPathDashedPaths = fNumPaintWithPathEffectUses - fNumFastPathDashEffects;
 
     int numSlowPaths = fNumAAConcavePaths -
                        fNumAAHairlineConcavePaths -