diff options
author | Derek Sollenberger <djsollen@google.com> | 2013-12-10 12:28:58 -0500 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2014-05-29 16:51:23 -0400 |
commit | 139088228faa7f3c446af7387e017933998a5570 (patch) | |
tree | 33b24be0cb5793d47f77fe9eee5beceb772e6cd0 /libs/hwui/RenderNode.cpp | |
parent | 1015efb143b51a5d31f2f932528f295cfa1add1f (diff) | |
download | frameworks_base-139088228faa7f3c446af7387e017933998a5570.zip frameworks_base-139088228faa7f3c446af7387e017933998a5570.tar.gz frameworks_base-139088228faa7f3c446af7387e017933998a5570.tar.bz2 |
Update HWUI matrix API
1. more closely mirror Skia API by using const ref instead of ptrs
2. store SkMatrix in the drawOp instead of the linear allocation heap
Change-Id: I4b9f6f76b9f7d19325e29303d27b793679fd4823
Diffstat (limited to 'libs/hwui/RenderNode.cpp')
-rw-r--r-- | libs/hwui/RenderNode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/RenderNode.cpp b/libs/hwui/RenderNode.cpp index df74f31..b65fe9e 100644 --- a/libs/hwui/RenderNode.cpp +++ b/libs/hwui/RenderNode.cpp @@ -212,9 +212,9 @@ void RenderNode::setViewProperties(OpenGLRenderer& renderer, T& handler) { renderer.translate(properties().getLeft(), properties().getTop()); } if (properties().getStaticMatrix()) { - renderer.concatMatrix(properties().getStaticMatrix()); + renderer.concatMatrix(*properties().getStaticMatrix()); } else if (properties().getAnimationMatrix()) { - renderer.concatMatrix(properties().getAnimationMatrix()); + renderer.concatMatrix(*properties().getAnimationMatrix()); } if (properties().hasTransformMatrix()) { if (properties().isTransformTranslateOnly()) { |