summaryrefslogtreecommitdiffstats
path: root/libs/hwui/TreeInfo.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2014-06-13 02:32:19 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-06-12 05:34:42 +0000
commit816f71b7e0dc263362e9fc8d251c8d1944bff17c (patch)
tree7f8dc82b247276502976e80945f5b86716d20b7e /libs/hwui/TreeInfo.h
parentc0daabbec3da4a39457ce62a15a909983a2368f1 (diff)
parent25fbb3fa1138675379102a44405852555cefccbd (diff)
downloadframeworks_base-816f71b7e0dc263362e9fc8d251c8d1944bff17c.zip
frameworks_base-816f71b7e0dc263362e9fc8d251c8d1944bff17c.tar.gz
frameworks_base-816f71b7e0dc263362e9fc8d251c8d1944bff17c.tar.bz2
Merge "Move LayerType to RenderNode"
Diffstat (limited to 'libs/hwui/TreeInfo.h')
-rw-r--r--libs/hwui/TreeInfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/hwui/TreeInfo.h b/libs/hwui/TreeInfo.h
index fd78f8e..0fc0cef 100644
--- a/libs/hwui/TreeInfo.h
+++ b/libs/hwui/TreeInfo.h
@@ -26,6 +26,7 @@ namespace uirenderer {
class BaseRenderNodeAnimator;
class AnimationListener;
+class OpenGLRenderer;
class AnimationHook {
public:
@@ -63,6 +64,7 @@ public:
, animationHook(NULL)
, prepareTextures(mode == MODE_FULL)
, damageAccumulator(NullDamageAccumulator::instance())
+ , renderer(0)
{}
const TraversalMode mode;
@@ -73,6 +75,9 @@ public:
bool prepareTextures;
// Must not be null
IDamageAccumulator* damageAccumulator;
+ // The renderer that will be drawing the next frame. Use this to push any
+ // layer updates or similar. May be NULL.
+ OpenGLRenderer* renderer;
struct Out {
Out()