From 76caecf421b42e9b8294a65f62ff2d90b55a337b Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Mon, 2 Nov 2015 19:17:45 -0800 Subject: Add more RenderNode property support in OpReorderer path Change-Id: I0163fe91d8145e33019739c191bbab0432a5f9aa --- libs/hwui/RenderNode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/hwui/RenderNode.h') diff --git a/libs/hwui/RenderNode.h b/libs/hwui/RenderNode.h index 3500cb200a51..2c257510b341 100644 --- a/libs/hwui/RenderNode.h +++ b/libs/hwui/RenderNode.h @@ -171,11 +171,11 @@ public: return mStagingProperties; } - uint32_t getWidth() { + int getWidth() const { return properties().getWidth(); } - uint32_t getHeight() { + int getHeight() const { return properties().getHeight(); } @@ -188,7 +188,7 @@ public: AnimatorManager& animators() { return mAnimatorManager; } // Returns false if the properties dictate the subtree contained in this RenderNode won't render - bool applyViewProperties(CanvasState& canvasState) const; + bool applyViewProperties(CanvasState& canvasState, LinearAllocator& allocator) const; void applyViewPropertyTransforms(mat4& matrix, bool true3dTransform = false) const; -- cgit v1.2.3-59-g8ed1b