| Index: src/gpu/GrClipMaskManager.h
|
| diff --git a/src/gpu/GrClipMaskManager.h b/src/gpu/GrClipMaskManager.h
|
| index c3a21fd8a2b1e9d6771ebde48bbdaa2731b28b85..ea16fc842b5b283502d93ed87c4f8a5726019fc8 100644
|
| --- a/src/gpu/GrClipMaskManager.h
|
| +++ b/src/gpu/GrClipMaskManager.h
|
| @@ -53,7 +53,11 @@ public:
|
| bool setupClipping(const GrClipData* clipDataIn, GrDrawState::AutoRestoreEffects*,
|
| const SkRect* devBounds);
|
|
|
| - void releaseResources();
|
| + /**
|
| + * Purge resources to free up memory. TODO: This class shouldn't hold any long lived refs
|
| + * which will allow ResourceCache2 to automatically purge anything this class has created.
|
| + */
|
| + void purgeResources();
|
|
|
| bool isClipInStencil() const {
|
| return kStencil_ClipMaskType == fCurrClipMaskType;
|
|
|