Index: src/gpu/effects/GrDashingEffect.h |
diff --git a/src/gpu/effects/GrDashingEffect.h b/src/gpu/effects/GrDashingEffect.h |
index 14df1ae7d5ea72d53ba33d0e46822ba5a3cfff61..492c6905fc1f213585dbc60b42eedd6b775789c4 100644 |
--- a/src/gpu/effects/GrDashingEffect.h |
+++ b/src/gpu/effects/GrDashingEffect.h |
@@ -9,6 +9,7 @@ |
#ifndef GrDashingEffect_DEFINED |
#define GrDashingEffect_DEFINED |
+#include "GrColor.h" |
#include "GrTypesPriv.h" |
#include "SkPathEffect.h" |
@@ -23,7 +24,7 @@ class GrGLDashingEffect; |
class SkPath; |
namespace GrDashingEffect { |
- bool DrawDashLine(GrGpu*, GrDrawTarget*, GrDrawState*, const SkPoint pts[2], |
+ bool DrawDashLine(GrGpu*, GrDrawTarget*, GrDrawState*, GrColor, const SkPoint pts[2], |
const GrPaint& paint, const GrStrokeInfo& strokeInfo, |
const SkMatrix& vm); |
@@ -38,7 +39,8 @@ namespace GrDashingEffect { |
* Bounding geometry is rendered and the effect computes coverage based on the fragment's |
* position relative to the dashed line. |
*/ |
- GrGeometryProcessor* Create(GrPrimitiveEdgeType edgeType, |
+ GrGeometryProcessor* Create(GrColor, |
+ GrPrimitiveEdgeType edgeType, |
const SkPathEffect::DashInfo& info, |
SkScalar strokeWidth, |
DashCap cap); |