Index: src/gpu/GrLayerHoister.h |
diff --git a/src/gpu/GrLayerHoister.h b/src/gpu/GrLayerHoister.h |
index 044e36b7612e9429dacc940ff6d3f993732811ee..2a41a35807d592a5339211bfe368675f1d2f5bb1 100644 |
--- a/src/gpu/GrLayerHoister.h |
+++ b/src/gpu/GrLayerHoister.h |
@@ -8,9 +8,14 @@ |
#ifndef GrLayerHoister_DEFINED |
#define GrLayerHoister_DEFINED |
+#define SK_IGNORE_GPU_LAYER_HOISTING |
+ |
+ |
#include "SkPicture.h" |
#include "SkTDArray.h" |
+#if !defined(SK_IGNORE_GPU_LAYER_HOISTING) && SK_SUPPORT_GPU |
+ |
struct GrCachedLayer; |
class GrReplacements; |
class SkGpuDevice; |
@@ -120,5 +125,6 @@ private: |
static void FilterLayer(GrContext* context, const SkSurfaceProps*, const GrHoistedLayer& info); |
}; |
+#endif |
#endif |