summaryrefslogtreecommitdiff
path: root/libs/hwui/RenderNode.h
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2016-09-28 13:39:55 -0400
committerDerek Sollenberger <djsollen@google.com>2016-10-03 16:30:19 -0400
commit6a21ca5a4c6b62ae277ae6dcb14bc187460321a0 (patch)
treeeb886e4b0fc727bafe15a600cdf1bc41d0fbfb56 /libs/hwui/RenderNode.h
parentc83f46dc834bd7342ab2be98f34889460ce74be4 (diff)
Move Layer creation/deletion into the RenderPipeline.
Test: refactoring. existing tests still pass. Change-Id: I032c33896a0cb74c91e2a913a584373518466b88
Diffstat (limited to 'libs/hwui/RenderNode.h')
-rw-r--r--libs/hwui/RenderNode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/RenderNode.h b/libs/hwui/RenderNode.h
index a0679b1e55f0..da93c131bb5a 100644
--- a/libs/hwui/RenderNode.h
+++ b/libs/hwui/RenderNode.h
@@ -199,6 +199,7 @@ public:
}
OffscreenBuffer* getLayer() const { return mLayer; }
OffscreenBuffer** getLayerHandle() { return &mLayer; } // ugh...
+ void setLayer(OffscreenBuffer* layer) { mLayer = layer; }
// Note: The position callbacks are relying on the listener using
// the frameNumber to appropriately batch/synchronize these transactions.