Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Unified Diff: src/gpu/GrLayerHoister.h

Issue 1945413003: Disable Ganesh layer hoister in a more revertable form (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/gpu/GrLayerHoister.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | src/gpu/GrLayerHoister.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698