aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrLayerHoister.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrLayerHoister.h')
-rw-r--r--src/gpu/GrLayerHoister.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gpu/GrLayerHoister.h b/src/gpu/GrLayerHoister.h
index f30c53c038..13cac5173a 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.