aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Chris Dalton <csmartdalton@google.com>2018-07-18 12:51:02 -0600
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-18 19:57:52 +0000
commit880b9d302fadd6449a511b8664682f16cde7dd9c (patch)
tree3d77a92d7b8b17e107cf07181ed3005e3d278aab /include
parentd789550da4bf666ca11487ddcb5dd6b9b13ec3d7 (diff)
Add kAAHairline to GpuPathRenderers
With the upcoming ccpr stroking, this will no longer be the only path renderer that can handle hairlines. Bug: skia: Change-Id: Idf2543f053c8603c80fcd647ca18ffd9860a85f3 Reviewed-on: https://skia-review.googlesource.com/142246 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/private/GrTypesPriv.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/private/GrTypesPriv.h b/include/private/GrTypesPriv.h
index ee6bfd8097..4061f289e9 100644
--- a/include/private/GrTypesPriv.h
+++ b/include/private/GrTypesPriv.h
@@ -972,11 +972,12 @@ enum class GpuPathRenderers {
kNone = 0, // Always use sofware masks and/or GrDefaultPathRenderer.
kDashLine = 1 << 0,
kStencilAndCover = 1 << 1,
- kAAConvex = 1 << 2,
- kAALinearizing = 1 << 3,
- kSmall = 1 << 4,
- kCoverageCounting = 1 << 5,
- kTessellating = 1 << 6,
+ kCoverageCounting = 1 << 2,
+ kAAHairline = 1 << 3,
+ kAAConvex = 1 << 4,
+ kAALinearizing = 1 << 5,
+ kSmall = 1 << 6,
+ kTessellating = 1 << 7,
kAll = (kTessellating | (kTessellating - 1)),
kDefault = kAll