diff options
| author | 2014-07-01 17:56:52 -0700 | |
|---|---|---|
| committer | 2014-07-07 19:14:55 +0000 | |
| commit | 59744b79ec302000802cd56d30a1bf70f0183c80 (patch) | |
| tree | 0057de9a24def27ca543608cd1d5b75b1b89bd57 /libs/hwui/FontRenderer.cpp | |
| parent | 904a1045ced36e844605b9764c3cb184976ea0a9 (diff) | |
Add hack for custom re-rasterization buckets
bug:14083128
Moves all of the font transform management into
OpenGLRenderer::findBestFontTransform(), and now simply passes down
final rasterization transforms into the FontRenderer.
Change-Id: Ie02752e6af863347b142367c7d628db5f9fc2998
Diffstat (limited to 'libs/hwui/FontRenderer.cpp')
| -rw-r--r-- | libs/hwui/FontRenderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/FontRenderer.cpp b/libs/hwui/FontRenderer.cpp index bf0ab5cae7d7..3910381d9e1a 100644 --- a/libs/hwui/FontRenderer.cpp +++ b/libs/hwui/FontRenderer.cpp @@ -587,7 +587,7 @@ void FontRenderer::appendRotatedMeshQuad(float x1, float y1, float u1, float v1, } } -void FontRenderer::setFont(const SkPaint* paint, const mat4& matrix) { +void FontRenderer::setFont(const SkPaint* paint, const SkMatrix& matrix) { mCurrentFont = Font::create(this, paint, matrix); } @@ -678,7 +678,7 @@ void FontRenderer::finishRender() { } void FontRenderer::precache(const SkPaint* paint, const char* text, int numGlyphs, - const mat4& matrix) { + const SkMatrix& matrix) { Font* font = Font::create(this, paint, matrix); font->precache(paint, text, numGlyphs); } |