diff options
author | 2014-11-06 13:38:52 -0800 | |
---|---|---|
committer | 2014-11-06 13:38:52 -0800 | |
commit | 06ba179838ba4fe187cf290750aeeb4a02a2960b (patch) | |
tree | 1e77099a7fe0905ee476d5934ab57d1e71a76f73 /dm/DMGpuGMTask.h | |
parent | 2c93efeb6f2dd652eb2575c04124d82952f020c7 (diff) |
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
Review URL: https://codereview.chromium.org/699453005
Diffstat (limited to 'dm/DMGpuGMTask.h')
-rw-r--r-- | dm/DMGpuGMTask.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dm/DMGpuGMTask.h b/dm/DMGpuGMTask.h index 23f3a45b0c..553436d040 100644 --- a/dm/DMGpuGMTask.h +++ b/dm/DMGpuGMTask.h @@ -22,7 +22,8 @@ public: skiagm::GMRegistry::Factory, GrContextFactory::GLContextType, GrGLStandard gpuAPI, - int sampleCount); + int sampleCount, + bool useDFText); virtual void draw(GrContextFactory*) SK_OVERRIDE; virtual bool shouldSkip() const SK_OVERRIDE; @@ -34,6 +35,7 @@ private: const GrContextFactory::GLContextType fContextType; GrGLStandard fGpuAPI; const int fSampleCount; + const bool fUseDFText; }; } // namespace DM |