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

Unified Diff: src/gpu/effects/GrDashingEffect.h

Issue 892203003: Dash using vertex attributes for interval and stroke width (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: cleanup Created 5 years, 11 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 | src/gpu/effects/GrDashingEffect.cpp » ('j') | src/gpu/effects/GrDashingEffect.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/effects/GrDashingEffect.h
diff --git a/src/gpu/effects/GrDashingEffect.h b/src/gpu/effects/GrDashingEffect.h
index 5552f1df1be3978686cea2975445372b4aea7cd1..4e04f1f27f748172627865e9bd930c47632b0de9 100644
--- a/src/gpu/effects/GrDashingEffect.h
+++ b/src/gpu/effects/GrDashingEffect.h
@@ -27,24 +27,6 @@ namespace GrDashingEffect {
bool DrawDashLine(GrGpu*, GrDrawTarget*, GrPipelineBuilder*, GrColor,
const SkMatrix& viewMatrix, const SkPoint pts[2], const GrPaint& paint,
const GrStrokeInfo& strokeInfo);
-
- enum DashCap {
- kRound_DashCap,
- kNonRound_DashCap,
- };
-
- /**
- * An effect that renders a dashed line. It is intended to be used as a coverage effect.
- * The effect is meant for dashed lines that only have a single on/off interval pair.
- * Bounding geometry is rendered and the effect computes coverage based on the fragment's
- * position relative to the dashed line.
- */
- GrGeometryProcessor* Create(GrColor,
- GrPrimitiveEdgeType edgeType,
- const SkPathEffect::DashInfo& info,
- SkScalar strokeWidth,
- DashCap cap,
- const SkMatrix& localMatrix);
}
#endif
« no previous file with comments | « no previous file | src/gpu/effects/GrDashingEffect.cpp » ('j') | src/gpu/effects/GrDashingEffect.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698