summaryrefslogtreecommitdiffstats
path: root/libs/hwui/OpenGLRenderer.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2010-10-13 13:40:37 -0700
committerRomain Guy <romainguy@google.com>2010-10-13 13:40:37 -0700
commit41030da16856c8869e1e51d4a0405432fa96614e (patch)
treee40b599f2961989c444e5ca1bb92536eef76b7ba /libs/hwui/OpenGLRenderer.h
parent2b67ce7213501d4377e46f67656993914eceb423 (diff)
downloadframeworks_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.h1
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);