Index: src/gpu/effects/GrDashingEffect.h |
diff --git a/src/gpu/effects/GrDashingEffect.h b/src/gpu/effects/GrDashingEffect.h |
index 7d0d006f1b56e93ff287cf11dd11ee28cd063c9a..eaa0d0d5b5ffa0981b0127de15141fcc86180689 100644 |
--- a/src/gpu/effects/GrDashingEffect.h |
+++ b/src/gpu/effects/GrDashingEffect.h |
@@ -14,15 +14,16 @@ |
#include "SkPathEffect.h" |
class GrClip; |
-class GrDrawTarget; |
-class GrPaint; |
-class GrPipelineBuilder; |
+class GrDrawBatch; |
class GrStrokeInfo; |
namespace GrDashingEffect { |
- bool DrawDashLine(GrDrawTarget*, const GrPipelineBuilder&, GrColor, |
- const SkMatrix& viewMatrix, const SkPoint pts[2], bool useAA, |
- const GrStrokeInfo& strokeInfo); |
+ GrDrawBatch* CreateDashLineBatch(GrColor, |
+ const SkMatrix& viewMatrix, |
+ const SkPoint pts[2], |
+ bool useAA, |
+ bool msaaIsEnabled, |
+ const GrStrokeInfo& strokeInfo); |
bool CanDrawDashLine(const SkPoint pts[2], const GrStrokeInfo& strokeInfo, |
const SkMatrix& viewMatrix); |
} |