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.h | |
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.h')
-rw-r--r-- | src/gpu/GrPathRendererChain.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/gpu/GrPathRendererChain.h b/src/gpu/GrPathRendererChain.h index 8788374d71..9a1a8fe108 100644 --- a/src/gpu/GrPathRendererChain.h +++ b/src/gpu/GrPathRendererChain.h @@ -34,13 +34,10 @@ public: /** Documents how the caller plans to use a GrPathRenderer to draw a path. It affects the PR returned by getPathRenderer */ - enum DrawType { - kColor_DrawType, // draw to the color buffer, no AA - kColorAntiAlias_DrawType, // draw to color buffer, with partial coverage AA - kStencilOnly_DrawType, // draw just to the stencil buffer - kStencilAndColor_DrawType, // draw the stencil and color buffer, no AA - kStencilAndColorAntiAlias_DrawType // draw the stencil and color buffer, with partial - // coverage AA. + enum class DrawType { + kColor, // draw to the color buffer, no AA + kStencil, // draw just to the stencil buffer + kStencilAndColor, // draw the stencil and color buffer, no AA }; /** Returns a GrPathRenderer compatible with the request if one is available. If the caller |