diff options
author | Jim Van Verth <jvanverth@google.com> | 2017-03-16 08:45:39 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-16 13:22:31 +0000 |
commit | 830104632fd79eb5ac5bf8755a1c0271d13acb22 (patch) | |
tree | a8914fd30c729207c42744d871fac1a5f71c2338 /include/gpu/GrContextOptions.h | |
parent | 69225d02500c882053864410b1b775197455f2c5 (diff) |
Rename GrAADistanceFieldPathRenderer to GrSmallPathRenderer
Also disables use of small distance fields in Android framework.
Change-Id: I1ba40ce85aa34d067608587e1fbe1d42e8a42868
Reviewed-on: https://skia-review.googlesource.com/9731
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'include/gpu/GrContextOptions.h')
-rw-r--r-- | include/gpu/GrContextOptions.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/gpu/GrContextOptions.h b/include/gpu/GrContextOptions.h index 4c922f3d2f..8b61c9c1bc 100644 --- a/include/gpu/GrContextOptions.h +++ b/include/gpu/GrContextOptions.h @@ -94,11 +94,14 @@ struct GrContextOptions { kAAHairline = 1 << 3, kAAConvex = 1 << 4, kAALinearizing = 1 << 5, - kDistanceField = 1 << 6, + kSmall = 1 << 6, kTessellating = 1 << 7, kDefault = 1 << 8, - kAll = kDefault | (kDefault - 1) + kAll = kDefault | (kDefault - 1), + + // For legacy. To be removed when updated in Android. + kDistanceField = kSmall }; GpuPathRenderers fGpuPathRenderers = GpuPathRenderers::kAll; |