diff options
author | bsalomon <bsalomon@google.com> | 2015-12-03 09:36:48 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-03 09:36:49 -0800 |
commit | 26489ef21ff5df33b8cb5943fddfd4604e203960 (patch) | |
tree | 8f7b8d5f1a7a124af2ceb08b897c166cfd47d74c /dm/DMGpuSupport.h | |
parent | 222b30d3a84b29b72b32e639751db4e6542d5e48 (diff) |
Add option to draw wireframe batch bounds
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() {}; |