From 880b9d302fadd6449a511b8664682f16cde7dd9c Mon Sep 17 00:00:00 2001 From: Chris Dalton Date: Wed, 18 Jul 2018 12:51:02 -0600 Subject: 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 --- include/private/GrTypesPriv.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'include') 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 -- cgit v1.2.3