summaryrefslogtreecommitdiff
path: root/libs/hwui/TreeInfo.h
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2014-07-08 13:59:49 -0700
committer John Reck <jreck@google.com> 2014-07-08 14:14:55 -0700
commitdcba6725e8b9d3eba9ad7a01258d6aa974feafba (patch)
tree994a519302533fc1073eeafda8bf74933531dd56 /libs/hwui/TreeInfo.h
parent114c68cec40a995fb6f3ef0ab110ee8b59ab0cba (diff)
Fix layers lifecycle issues
Bug: 16118540 Fix an issue where we could have a reference to a Layer after the GL context was destroyed Change-Id: I7bfd909d735ca6b942ebe188fc10099422eb6d95
Diffstat (limited to 'libs/hwui/TreeInfo.h')
-rw-r--r--libs/hwui/TreeInfo.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/libs/hwui/TreeInfo.h b/libs/hwui/TreeInfo.h
index 9746ac53906e..de09755803b6 100644
--- a/libs/hwui/TreeInfo.h
+++ b/libs/hwui/TreeInfo.h
@@ -58,15 +58,6 @@ public:
// animators, but potentially things like SurfaceTexture updates
// could be handled by this as well if there are no listeners
MODE_RT_ONLY,
- // The subtree is being detached. Maybe. If the RenderNode is present
- // in both the old and new display list's children then it will get a
- // MODE_MAYBE_DETACHING followed shortly by a MODE_FULL.
- // Push any pending display list changes in case it is detached,
- // but don't evaluate animators and such as if it isn't detached as a
- // MODE_FULL will follow shortly.
- MODE_MAYBE_DETACHING,
- // Destroy all hardware resources, including DisplayListData, in the tree.
- MODE_DESTROY_RESOURCES,
};
explicit TreeInfo(TraversalMode mode, RenderState& renderState)