diff options
| author | 2012-01-17 17:39:26 -0800 | |
|---|---|---|
| committer | 2012-01-17 17:39:26 -0800 | |
| commit | eb9a5367e8f0e970db8509ffb2584f5376bc62ed (patch) | |
| tree | b1edb8a663363a150fa25545f035372defbe7b70 /libs/hwui/OpenGLRenderer.h | |
| parent | d1d4bb70704e8f37d0823837eacdae21ebe0ed05 (diff) | |
First pass at implementing Canvas.drawPosText() in GL
Change-Id: Ia3ac347e95d57eb86c63045156c8dbc0572b03cb
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
| -rw-r--r-- | libs/hwui/OpenGLRenderer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h index 019e9b28b434..a9cda4796282 100644 --- a/libs/hwui/OpenGLRenderer.h +++ b/libs/hwui/OpenGLRenderer.h @@ -124,6 +124,8 @@ public: virtual void drawPoints(float* points, int count, SkPaint* paint); virtual void drawText(const char* text, int bytesCount, int count, float x, float y, SkPaint* paint, float length = -1.0f); + virtual void drawPosText(const char* text, int bytesCount, int count, const float* positions, + SkPaint* paint); virtual void resetShader(); virtual void setupShader(SkiaShader* shader); |