aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrRenderTargetContext.cpp
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2017-11-09 14:51:17 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-09 20:59:27 +0000
commit0f3c73220a25eba9bf11583db3d0f76a2c4f6331 (patch)
treea87123e59d979e7041024e34e9eb089686fb000d /src/gpu/GrRenderTargetContext.cpp
parent4a851ca334caac5e60606dbeb9ef6de77b34e24d (diff)
renamed GrPrimitiveEdgeType / GrProcessorEdgeType to GrClipEdgeType
Bug: skia: Change-Id: I4a9af0b9b2cfa47875b2ba098098183e8dca29a7 Reviewed-on: https://skia-review.googlesource.com/69601 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/gpu/GrRenderTargetContext.cpp')
-rw-r--r--src/gpu/GrRenderTargetContext.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gpu/GrRenderTargetContext.cpp b/src/gpu/GrRenderTargetContext.cpp
index 53df4bed0e..fd82920d34 100644
--- a/src/gpu/GrRenderTargetContext.cpp
+++ b/src/gpu/GrRenderTargetContext.cpp
@@ -1226,13 +1226,13 @@ bool GrRenderTargetContext::drawFilledDRRect(const GrClip& clip,
GrAAType aaType = this->chooseAAType(aa, GrAllowMixedSamples::kNo);
- GrPrimitiveEdgeType innerEdgeType, outerEdgeType;
+ GrClipEdgeType innerEdgeType, outerEdgeType;
if (GrAAType::kCoverage == aaType) {
- innerEdgeType = kInverseFillAA_GrProcessorEdgeType;
- outerEdgeType = kFillAA_GrProcessorEdgeType;
+ innerEdgeType = kInverseFillAA_GrClipEdgeType;
+ outerEdgeType = kFillAA_GrClipEdgeType;
} else {
- innerEdgeType = kInverseFillBW_GrProcessorEdgeType;
- outerEdgeType = kFillBW_GrProcessorEdgeType;
+ innerEdgeType = kInverseFillBW_GrClipEdgeType;
+ outerEdgeType = kFillBW_GrClipEdgeType;
}
SkTCopyOnFirstWrite<SkRRect> inner(origInner), outer(origOuter);