Index: src/gpu/GrLayerHoister.h |
diff --git a/src/gpu/GrLayerHoister.h b/src/gpu/GrLayerHoister.h |
index f30c53c0386e8bec8374b0f477c3fdb63c16fe6d..13cac5173ab98aec8e5ca1233b4ec78b5a31802d 100644 |
--- a/src/gpu/GrLayerHoister.h |
+++ b/src/gpu/GrLayerHoister.h |
@@ -33,6 +33,13 @@ public: |
// UnlockLayers should be called once to allow the texture resources to be recycled |
class GrLayerHoister { |
public: |
+ /** Attempt to reattach layers that may have been atlased in the past |
+ */ |
+ static void Begin(GrContext* context); |
+ |
+ /** Release cache resources |
+ */ |
+ static void End(GrContext* context); |
/** Find the layers in 'topLevelPicture' that can be atlased. Note that the discovered |
layers can be inside nested sub-pictures. |