summaryrefslogtreecommitdiff
path: root/libs/hwui/pipeline/skia/RenderNodeDrawable.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2018-05-03 14:40:56 -0700
committerJohn Reck <jreck@google.com>2018-05-03 15:25:19 -0700
commitd9d7f127b5f07df9434aff67374a0012b1750cd4 (patch)
tree5be03d634c7b14030e4dd111aecd4b046e70b3fe /libs/hwui/pipeline/skia/RenderNodeDrawable.h
parentba720d098ebd6bbc1b376bb0945c76dcda3820b6 (diff)
Delete a bunch of code
This removes the duality of DisplayList, removing a small amount of overhead Test: buids & hwuiunit passes Change-Id: I8bb3a20e9ead1caec4b4a8a3e9f2c08f717a7096
Diffstat (limited to 'libs/hwui/pipeline/skia/RenderNodeDrawable.h')
-rw-r--r--libs/hwui/pipeline/skia/RenderNodeDrawable.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/libs/hwui/pipeline/skia/RenderNodeDrawable.h b/libs/hwui/pipeline/skia/RenderNodeDrawable.h
index ef21cd8a29b5..6594bd22c0b1 100644
--- a/libs/hwui/pipeline/skia/RenderNodeDrawable.h
+++ b/libs/hwui/pipeline/skia/RenderNodeDrawable.h
@@ -47,11 +47,9 @@ public:
* layer into the canvas.
*/
explicit RenderNodeDrawable(RenderNode* node, SkCanvas* canvas, bool composeLayer = true,
- bool inReorderingSection = false)
- : mRenderNode(node)
- , mRecordedTransform(canvas->getTotalMatrix())
- , mComposeLayer(composeLayer)
- , mInReorderingSection(inReorderingSection) {}
+ bool inReorderingSection = false);
+
+ ~RenderNodeDrawable();
/**
* Draws into the canvas this render node and its children. If the node is marked as a