Index: dm/DMGpuSupport.h |
diff --git a/dm/DMGpuSupport.h b/dm/DMGpuSupport.h |
index 9f20dd51da3a2d9959ac9a10ef6b7ee0e2d3a598..bccf112f72ae6bcc372afd11823dd2b2f305a6e6 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() {}; |