diff options
author | Romain Guy <romainguy@google.com> | 2010-10-13 13:40:37 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2010-10-13 13:40:37 -0700 |
commit | 41030da16856c8869e1e51d4a0405432fa96614e (patch) | |
tree | e40b599f2961989c444e5ca1bb92536eef76b7ba /libs/hwui/OpenGLRenderer.h | |
parent | 2b67ce7213501d4377e46f67656993914eceb423 (diff) | |
download | frameworks_base-41030da16856c8869e1e51d4a0405432fa96614e.zip frameworks_base-41030da16856c8869e1e51d4a0405432fa96614e.tar.gz frameworks_base-41030da16856c8869e1e51d4a0405432fa96614e.tar.bz2 |
Add a getNativeMatrix() API.
This API can be used by WebView to apply the appropriate transform
on its rendering.
Change-Id: I79aa39a29805f462fb08226370328815e74bdc52
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
-rw-r--r-- | libs/hwui/OpenGLRenderer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h index 9900a27..f8828e2 100644 --- a/libs/hwui/OpenGLRenderer.h +++ b/libs/hwui/OpenGLRenderer.h @@ -87,6 +87,7 @@ public: virtual void rotate(float degrees); virtual void scale(float sx, float sy); + const float* getMatrix() const; void getMatrix(SkMatrix* matrix); virtual void setMatrix(SkMatrix* matrix); virtual void concatMatrix(SkMatrix* matrix); |