| Index: cc/CCPrioritizedTexture.h
|
| diff --git a/cc/CCPrioritizedTexture.h b/cc/CCPrioritizedTexture.h
|
| index 519934f15c523e344186b815d351cbf0d62a6d90..bec85193feb3cfa44a9de998dd2955e93ef27333 100644
|
| --- a/cc/CCPrioritizedTexture.h
|
| +++ b/cc/CCPrioritizedTexture.h
|
| @@ -89,11 +89,13 @@ private:
|
| Backing(unsigned id, CCResourceProvider*, IntSize, GC3Denum format);
|
| ~Backing();
|
| void updatePriority();
|
| + void updateInDrawingImplTree();
|
|
|
| CCPrioritizedTexture* owner() { return m_owner; }
|
| - bool hadOwnerAtLastPriorityUpdate() const { return m_ownerExistedAtLastPriorityUpdate; }
|
| + bool canBeRecycled() const;
|
| int requestPriorityAtLastPriorityUpdate() const { return m_priorityAtLastPriorityUpdate; }
|
| bool wasAbovePriorityCutoffAtLastPriorityUpdate() const { return m_wasAbovePriorityCutoffAtLastPriorityUpdate; }
|
| + bool inDrawingImplTree() const { return m_inDrawingImplTree; }
|
|
|
| void deleteResource(CCResourceProvider*);
|
| bool resourceHasBeenDeleted() const;
|
| @@ -102,8 +104,11 @@ private:
|
| friend class CCPrioritizedTexture;
|
| CCPrioritizedTexture* m_owner;
|
| int m_priorityAtLastPriorityUpdate;
|
| - bool m_ownerExistedAtLastPriorityUpdate;
|
| bool m_wasAbovePriorityCutoffAtLastPriorityUpdate;
|
| +
|
| + // Set if this is currently-drawing impl tree.
|
| + bool m_inDrawingImplTree;
|
| +
|
| bool m_resourceHasBeenDeleted;
|
| #ifndef NDEBUG
|
| CCResourceProvider* m_resourceProvider;
|
|
|