diff options
author | 2015-12-03 12:58:06 -0800 | |
---|---|---|
committer | 2015-12-03 12:58:06 -0800 | |
commit | 6dea83f244cfdea52901eef6b31cee60b07a8ea0 (patch) | |
tree | 2fde780eafe3efe1981fd8ede81d0d2c6ffe5dd3 /dm/DMGpuSupport.h | |
parent | 6f2753deee7b8cd03224e3df91dfea21bbeb9f7f (diff) |
Add option to draw wireframe batch bounds
Committed: https://skia.googlesource.com/skia/+/26489ef21ff5df33b8cb5943fddfd4604e203960
Review URL: https://codereview.chromium.org/1494473005
Diffstat (limited to 'dm/DMGpuSupport.h')
-rw-r--r-- | dm/DMGpuSupport.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/dm/DMGpuSupport.h b/dm/DMGpuSupport.h index 9f20dd51da..bccf112f72 100644 --- a/dm/DMGpuSupport.h +++ b/dm/DMGpuSupport.h @@ -13,6 +13,10 @@ #include "SkSurface.h" +// This should be safe to include even in no-gpu builds. Include by relative path so it +// can be found in non-gpu builds. +#include "../include/gpu/GrContextOptions.h" + #if SK_SUPPORT_GPU // Ganesh is available. Yippee! @@ -55,11 +59,6 @@ public: void dumpGpuStats(SkString*) const {} }; -struct GrContextOptions { - bool fImmediateMode; - bool fClipBatchToBounds; -}; - class GrContextFactory { public: GrContextFactory() {}; |