aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPicture.cpp
diff options
context:
space:
mode:
authorGravatar senorblanco <senorblanco@chromium.org>2015-04-22 14:33:34 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-22 14:33:35 -0700
commit31d36b087168486228093f0322898953072f36f2 (patch)
treeb2fb78d8057c56b50d3e1c19d30cb12536f2933a /src/core/SkPicture.cpp
parentcf614fd48e38f7c544e666dd19a5a81c35830ba3 (diff)
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
Diffstat (limited to 'src/core/SkPicture.cpp')
-rw-r--r--src/core/SkPicture.cpp6
1 files changed, 1 insertions, 5 deletions
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 -