From 7c0998a130b5b1a64811defd17ab3266985515f4 Mon Sep 17 00:00:00 2001 From: Ben Wagner Date: Wed, 18 Jul 2018 21:24:11 +0000 Subject: 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 > Commit-Queue: Chris Dalton 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 Commit-Queue: Ben Wagner --- include/private/GrTypesPriv.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'include') 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 -- cgit v1.2.3