diff options
author | 2011-08-16 13:55:02 -0700 | |
---|---|---|
committer | 2011-08-16 13:55:02 -0700 | |
commit | 302a9df1d50373c82923bb84ff665dfce584fb22 (patch) | |
tree | 01a6e183b3c0f49676730a679397a31692942f8d /libs/hwui/Matrix.h | |
parent | 95a78c38373bb99258d83a6ab2c92825d979f200 (diff) |
Add an API to set the transform on a TextureView's surface texture.
Bug #5156689
Change-Id: I635a625885c9b832a60d44ece0de7613ceb84109
Diffstat (limited to 'libs/hwui/Matrix.h')
-rw-r--r-- | libs/hwui/Matrix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/Matrix.h b/libs/hwui/Matrix.h index 2fa6ab7757a7..56fd37de813b 100644 --- a/libs/hwui/Matrix.h +++ b/libs/hwui/Matrix.h @@ -112,6 +112,7 @@ public: bool isPureTranslate(); bool isSimple(); + bool isIdentity(); bool changesBounds(); @@ -128,6 +129,7 @@ public: private: bool mSimpleMatrix; + bool mIsIdentity; inline float get(int i, int j) const { return data[i * 4 + j]; |