diff options
| author | 2015-11-02 19:17:45 -0800 | |
|---|---|---|
| committer | 2015-11-05 15:25:12 -0800 | |
| commit | 76caecf421b42e9b8294a65f62ff2d90b55a337b (patch) | |
| tree | 74ff2357d77c6b831aa3723d9f38416b3cef0d67 /libs/hwui/RenderNode.h | |
| parent | 429c5b93ff66e82fa3fd65475489fde133c66002 (diff) | |
Add more RenderNode property support in OpReorderer path
Change-Id: I0163fe91d8145e33019739c191bbab0432a5f9aa
Diffstat (limited to 'libs/hwui/RenderNode.h')
| -rw-r--r-- | libs/hwui/RenderNode.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; |