Add more RenderNode property support in OpReorderer path
Change-Id: I0163fe91d8145e33019739c191bbab0432a5f9aa
diff --git a/libs/hwui/RenderNode.h b/libs/hwui/RenderNode.h
index 3500cb2..2c25751 100644
--- a/libs/hwui/RenderNode.h
+++ b/libs/hwui/RenderNode.h
@@ -171,11 +171,11 @@
return mStagingProperties;
}
- uint32_t getWidth() {
+ int getWidth() const {
return properties().getWidth();
}
- uint32_t getHeight() {
+ int getHeight() const {
return properties().getHeight();
}
@@ -188,7 +188,7 @@
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;