commit | 4736e1434ae329e3a737dfd9504c22b3fc13dc72 | [log] [tgz] |
---|---|---|
author | jvanverth <jvanverth@google.com> | Fri Nov 07 07:12:46 2014 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Fri Nov 07 07:12:46 2014 -0800 |
tree | 6655d830ec2999edffdcd08176c092573b2dd225 | |
parent | 7376b6a1a1da2fd1c7c56b9d55214854711f9909 [diff] [blame] |
Get gpudft support working in dm, gm, nanobench and bench_pictures Adds a new config to test distance field text. Clean up some flags and #defines to read "distance field text", not "distance field fonts" to be consistent with Chromium NOTREECHECKS=true Committed: https://skia.googlesource.com/skia/+/06ba179838ba4fe187cf290750aeeb4a02a2960b Review URL: https://codereview.chromium.org/699453005
diff --git a/src/gpu/GrDistanceFieldTextContext.cpp b/src/gpu/GrDistanceFieldTextContext.cpp index 1976cf1..58c8121 100755 --- a/src/gpu/GrDistanceFieldTextContext.cpp +++ b/src/gpu/GrDistanceFieldTextContext.cpp
@@ -64,7 +64,7 @@ const SkDeviceProperties& properties, bool enable) : GrTextContext(context, properties) { -#if SK_FORCE_DISTANCEFIELD_FONTS +#if SK_FORCE_DISTANCE_FIELD_TEXT fEnableDFRendering = true; #else fEnableDFRendering = enable;