diff options
author | John Reck <jreck@google.com> | 2017-01-30 10:15:48 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2017-01-30 13:29:26 -0800 |
commit | 3afd63778e401651a7a6fd721d6d795690916ab8 (patch) | |
tree | d9b6cf4a86e9f8473f29cab0c60b396194075933 /libs/hwui/RenderNode.h | |
parent | fda076a12ed641d5ab53933c4aac9e8063c580d0 (diff) |
Switch how destroyHardwareResources works
destroyHardwareResources will now only force-destroy
the specific node it was called on, which are only
ever the root nodes. Rely on onRemovedFromTree()
to clean up resources for all other nodes.
Bug: 34736819
Test: RenderNode.multiTreeValidity passes, manually
verified fixes b/34736819
Change-Id: I1c275ad6a98b63bf50f265602f09bffe3e1f169b
Diffstat (limited to 'libs/hwui/RenderNode.h')
-rw-r--r-- | libs/hwui/RenderNode.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/hwui/RenderNode.h b/libs/hwui/RenderNode.h index 14a664c6a364..a971e835e604 100644 --- a/libs/hwui/RenderNode.h +++ b/libs/hwui/RenderNode.h @@ -262,7 +262,6 @@ private: void prepareLayer(TreeInfo& info, uint32_t dirtyMask); void pushLayerUpdate(TreeInfo& info); void deleteDisplayList(TreeObserver& observer, TreeInfo* info = nullptr); - void destroyHardwareResourcesImpl(TreeObserver& observer, TreeInfo* info = nullptr); void damageSelf(TreeInfo& info); void incParentRefCount() { mParentCount++; } |