Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Unified Diff: src/core/SkPicture.cpp

Issue 1098753004: Remove MSAA check from Ganesh veto (dashed paths are no longer slow). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPicture.cpp
diff --git a/src/core/SkPicture.cpp b/src/core/SkPicture.cpp
index a8ddfe6656d5b18446aca9e59f3ae604ad18bf54..7f53c3ec9c43a68ebe33466c0467eef88c4967c0 100644
--- a/src/core/SkPicture.cpp
+++ b/src/core/SkPicture.cpp
@@ -231,10 +231,7 @@ bool SkPicture::Analysis::suitableForGpuRasterization(const char** reason,
static const int kNumSlowPathsTol = 6;
int numSlowPathDashedPaths = fNumPaintWithPathEffectUses;
- if (0 == sampleCount) {
- // The fast dashing path only works when MSAA is disabled
- numSlowPathDashedPaths -= fNumFastPathDashEffects;
- }
+ numSlowPathDashedPaths -= fNumFastPathDashEffects;
egdaniel 2015/04/22 20:49:38 might as well combine these two lines now.
Stephen White 2015/04/22 20:53:09 Done.
int numSlowPaths = fNumAAConcavePaths -
fNumAAHairlineConcavePaths -
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698