Index: src/gpu/effects/GrDashingEffect.h |
diff --git a/src/gpu/effects/GrDashingEffect.h b/src/gpu/effects/GrDashingEffect.h |
index 5552f1df1be3978686cea2975445372b4aea7cd1..b8cb82655dc6fa0e15f87e463aa7fe133188ecfb 100644 |
--- a/src/gpu/effects/GrDashingEffect.h |
+++ b/src/gpu/effects/GrDashingEffect.h |
@@ -15,36 +15,14 @@ |
class GrGpu; |
class GrDrawTarget; |
-class GrGeometryProcessor; |
class GrPaint; |
class GrPipelineBuilder; |
class GrStrokeInfo; |
-class GrGLDashingEffect; |
-class SkPath; |
- |
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 |