| Index: src/gpu/effects/GrDashingEffect.h
|
| diff --git a/src/gpu/effects/GrDashingEffect.h b/src/gpu/effects/GrDashingEffect.h
|
| index 8899820114d77e45fc1cd6c03945091e7e4a55ff..b2d052347938d346ea4963b14dec32e91d1dccba 100644
|
| --- a/src/gpu/effects/GrDashingEffect.h
|
| +++ b/src/gpu/effects/GrDashingEffect.h
|
| @@ -17,11 +17,17 @@ class GrDrawBatch;
|
| class GrStyle;
|
|
|
| namespace GrDashingEffect {
|
| + enum class AAMode {
|
| + kNone,
|
| + kCoverage,
|
| + kCoverageWithMSAA,
|
| + };
|
| + static const int kAAModeCnt = static_cast<int>(AAMode::kCoverageWithMSAA) + 1;
|
| +
|
| GrDrawBatch* CreateDashLineBatch(GrColor,
|
| const SkMatrix& viewMatrix,
|
| const SkPoint pts[2],
|
| - bool useAA,
|
| - bool msaaIsEnabled,
|
| + AAMode,
|
| const GrStyle& style);
|
| bool CanDrawDashLine(const SkPoint pts[2], const GrStyle& style,
|
| const SkMatrix& viewMatrix);
|
|
|