commit | d2dfd8f128b632ed99418ab2b32949c939a9a369 | [log] [tgz] |
---|---|---|
author | Chris Craik <[email protected]> | Wed Dec 16 14:27:20 2015 -0800 |
committer | Chris Craik <[email protected]> | Wed Dec 16 15:35:40 2015 -0800 |
tree | ef9446320399a05cf5bf2e1d7d4a6a177c261960 | |
parent | d7448e65e243754f31890baef29dff187dc2e5e5 [diff] [blame] |
Add TextureView support to new renderer/reorderer bug:22480459 Change-Id: I2e4c0bc6b904706132f3f5087ededc9cac9b40fb
diff --git a/libs/hwui/Matrix.h b/libs/hwui/Matrix.h index c017638..1c25f26 100644 --- a/libs/hwui/Matrix.h +++ b/libs/hwui/Matrix.h
@@ -139,9 +139,11 @@ } void multiply(const Matrix4& v) { - Matrix4 u; - u.loadMultiply(*this, v); - *this = u; + if (!v.isIdentity()) { + Matrix4 u; + u.loadMultiply(*this, v); + *this = u; + } } void multiply(float v);