Index: dm/DMGpuSupport.h |
diff --git a/dm/DMGpuSupport.h b/dm/DMGpuSupport.h |
index bccf112f72ae6bcc372afd11823dd2b2f305a6e6..9f20dd51da3a2d9959ac9a10ef6b7ee0e2d3a598 100644 |
--- a/dm/DMGpuSupport.h |
+++ b/dm/DMGpuSupport.h |
@@ -12,10 +12,6 @@ |
// or if it's not available, fakes it enough so most code doesn't have to know that. |
#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 |
@@ -59,6 +55,11 @@ |
void dumpGpuStats(SkString*) const {} |
}; |
+struct GrContextOptions { |
+ bool fImmediateMode; |
+ bool fClipBatchToBounds; |
+}; |
+ |
class GrContextFactory { |
public: |
GrContextFactory() {}; |