aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Ben Wagner <bungeman@google.com>2018-07-18 21:24:11 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-18 21:24:22 +0000
commit7c0998a130b5b1a64811defd17ab3266985515f4 (patch)
tree4fbda8fd05b6eccada667c6525a0bafb4bd52c5e /include
parent2eacff02f1436e282468670373f5867ab2b27916 (diff)
Revert "Add kAAHairline to GpuPathRenderers"
This reverts commit 880b9d302fadd6449a511b8664682f16cde7dd9c. Reason for revert: Appears to be breaking serialization. See https://ci.chromium.org/raw/build/logs.chromium.org/skia/20180718T201711.486335899Z_000000000077bbff/+/annotations Original change's description: > 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> TBR=brianosman@google.com,csmartdalton@google.com Change-Id: I1967c2cf6b1f1307270bf62bb04130cdf84317b7 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: skia: Reviewed-on: https://skia-review.googlesource.com/142280 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/private/GrTypesPriv.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/private/GrTypesPriv.h b/include/private/GrTypesPriv.h
index 4061f289e9..ee6bfd8097 100644
--- a/include/private/GrTypesPriv.h
+++ b/include/private/GrTypesPriv.h
@@ -972,12 +972,11 @@ enum class GpuPathRenderers {
kNone = 0, // Always use sofware masks and/or GrDefaultPathRenderer.
kDashLine = 1 << 0,
kStencilAndCover = 1 << 1,
- kCoverageCounting = 1 << 2,
- kAAHairline = 1 << 3,
- kAAConvex = 1 << 4,
- kAALinearizing = 1 << 5,
- kSmall = 1 << 6,
- kTessellating = 1 << 7,
+ kAAConvex = 1 << 2,
+ kAALinearizing = 1 << 3,
+ kSmall = 1 << 4,
+ kCoverageCounting = 1 << 5,
+ kTessellating = 1 << 6,
kAll = (kTessellating | (kTessellating - 1)),
kDefault = kAll