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

Unified Diff: src/core/SkDraw.cpp

Issue 698003004: remove dead SK_DISABLE_DASHING_OPTIMIZATION flag (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 1 month 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/SkDraw.cpp
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp
index 67fd2770b44077eb92687c01b425143e70f5c721..82fd84b8bc740768681efeb7d6a3273f226568f5 100644
--- a/src/core/SkDraw.cpp
+++ b/src/core/SkDraw.cpp
@@ -628,7 +628,6 @@ void SkDraw::drawPoints(SkCanvas::PointMode mode, size_t count,
break;
}
case SkCanvas::kLines_PointMode:
-#ifndef SK_DISABLE_DASHING_OPTIMIZATION
if (2 == count && paint.getPathEffect()) {
// most likely a dashed line - see if it is one of the ones
// we can accelerate
@@ -712,7 +711,6 @@ void SkDraw::drawPoints(SkCanvas::PointMode mode, size_t count,
break;
}
}
-#endif // DISABLE_DASHING_OPTIMIZATION
// couldn't take fast path so fall through!
case SkCanvas::kPolygon_PointMode: {
count -= 1;
« 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