Index: src/gpu/GrLayerHoister.h |
diff --git a/src/gpu/GrLayerHoister.h b/src/gpu/GrLayerHoister.h |
index 2d68a94a889831cc2158f682d9190583e55d58dc..9668ba60d54cd04693657b0f5c97da42155f11c6 100644 |
--- a/src/gpu/GrLayerHoister.h |
+++ b/src/gpu/GrLayerHoister.h |
@@ -13,6 +13,7 @@ |
struct GrCachedLayer; |
class GrReplacements; |
+class SkGpuDevice; |
struct SkRect; |
class GrHoistedLayer { |
@@ -102,6 +103,15 @@ public: |
@param context Owner of the layer cache (and thus the layers) |
*/ |
static void PurgeCache(GrContext* context); |
+ |
+private: |
+ /** Update the GrTexture in 'layer' with its filtered version |
+ @param context Owner of the layer cache (and thus the layers) |
+ @param device Required by the filtering code |
+ @param layer A layer needing filtering prior to being composited |
+ */ |
+ static void FilterLayer(GrContext* context, SkGpuDevice* device, GrCachedLayer* layer); |
+ |
}; |
#endif |