From 31d36b087168486228093f0322898953072f36f2 Mon Sep 17 00:00:00 2001 From: senorblanco Date: Wed, 22 Apr 2015 14:33:34 -0700 Subject: Remove MSAA check from Ganesh veto (dashed paths are no longer slow). R=egdaniel@google.com BUG=skia: Review URL: https://codereview.chromium.org/1098753004 --- src/core/SkPicture.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/core/SkPicture.cpp') diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp index 2a33c4db60..37bf921666 100644 --- a/src/core/SkPicture.cpp +++ b/src/core/SkPicture.cpp @@ -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 - -- cgit v1.2.3