diff options
author | Ethan Nicholas <ethannicholas@google.com> | 2017-11-10 11:58:19 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-10 17:42:27 +0000 |
commit | 1706f842086c089ebc496dfc7f45c959e5eda01e (patch) | |
tree | 3221e9f852ec68f995e5668d3ef613ce11f84e5d /src/gpu/ops | |
parent | 5e9dfdbf4209fd6b41b1bc52190dabb32ae77e51 (diff) |
switched GrClipEdge to an enum class
Bug: skia:
Change-Id: Idf41580314a32739c70721530fc3ca48e566b044
Reviewed-on: https://skia-review.googlesource.com/70023
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/gpu/ops')
-rw-r--r-- | src/gpu/ops/GrAAHairLinePathRenderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/ops/GrAAHairLinePathRenderer.cpp b/src/gpu/ops/GrAAHairLinePathRenderer.cpp index 038272062e..2dcee7a4c5 100644 --- a/src/gpu/ops/GrAAHairLinePathRenderer.cpp +++ b/src/gpu/ops/GrAAHairLinePathRenderer.cpp @@ -978,7 +978,7 @@ void AAHairlineOp::onPrepareDraws(Target* target) { if (quadCount || conicCount) { sk_sp<GrGeometryProcessor> quadGP(GrQuadEffect::Make(this->color(), *geometryProcessorViewM, - kHairlineAA_GrClipEdgeType, + GrClipEdgeType::kHairlineAA, target->caps(), *geometryProcessorLocalM, fHelper.usesLocalCoords(), @@ -986,7 +986,7 @@ void AAHairlineOp::onPrepareDraws(Target* target) { sk_sp<GrGeometryProcessor> conicGP(GrConicEffect::Make(this->color(), *geometryProcessorViewM, - kHairlineAA_GrClipEdgeType, + GrClipEdgeType::kHairlineAA, target->caps(), *geometryProcessorLocalM, fHelper.usesLocalCoords(), |