diff options
author | Brian Salomon <bsalomon@google.com> | 2016-12-10 09:35:48 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-12-13 15:22:28 +0000 |
commit | 82125e9aa22b17e540edd6963781e56031c9b221 (patch) | |
tree | b81ec90caa8addc049637fb151ba78e44f9bff6e /src/gpu/GrPathRendererChain.cpp | |
parent | 72245c522ab65593239f2056df16082edb4e0a2e (diff) |
Remove antialias axis from GrPathRendererChain::DrawType
Change-Id: I910ef57027059c3c7dd780ba9de40363c201e174
Reviewed-on: https://skia-review.googlesource.com/5728
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/gpu/GrPathRendererChain.cpp')
-rw-r--r-- | src/gpu/GrPathRendererChain.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gpu/GrPathRendererChain.cpp b/src/gpu/GrPathRendererChain.cpp index 05f47fdc7a..ee31686a5c 100644 --- a/src/gpu/GrPathRendererChain.cpp +++ b/src/gpu/GrPathRendererChain.cpp @@ -75,10 +75,9 @@ GrPathRenderer* GrPathRendererChain::getPathRenderer( GR_STATIC_ASSERT(GrPathRenderer::kStencilOnly_StencilSupport < GrPathRenderer::kNoRestriction_StencilSupport); GrPathRenderer::StencilSupport minStencilSupport; - if (kStencilOnly_DrawType == drawType) { + if (DrawType::kStencil == drawType) { minStencilSupport = GrPathRenderer::kStencilOnly_StencilSupport; - } else if (kStencilAndColor_DrawType == drawType || - kStencilAndColorAntiAlias_DrawType == drawType) { + } else if (DrawType::kStencilAndColor == drawType) { minStencilSupport = GrPathRenderer::kNoRestriction_StencilSupport; } else { minStencilSupport = GrPathRenderer::kNoSupport_StencilSupport; |