diff options
author | 2015-12-08 17:21:58 -0800 | |
---|---|---|
committer | 2015-12-09 16:06:09 -0800 | |
commit | f09ff5aa57bff01cb17595fb7ca8e48d238a6acd (patch) | |
tree | ea54bb5ef1da5a1e2522746689dfc45167a816bb /libs/hwui/FontRenderer.cpp | |
parent | a6f28e352d48c285b78f35c8c70dcafb82325dbb (diff) |
Add bitmapmesh, rect, and patch rendering
bug:22480459
Change-Id: Id9e9146997dd018b3e4e785c2bc13689e3cf7c3c
Diffstat (limited to 'libs/hwui/FontRenderer.cpp')
-rw-r--r-- | libs/hwui/FontRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/FontRenderer.cpp b/libs/hwui/FontRenderer.cpp index 9c8649fc9775..8acdb624a1ce 100644 --- a/libs/hwui/FontRenderer.cpp +++ b/libs/hwui/FontRenderer.cpp @@ -73,7 +73,7 @@ void TextDrawFunctor::draw(CacheTexture& texture, bool linearFiltering) { .setMeshTexturedIndexedQuads(texture.mesh(), texture.meshElementCount()) .setFillTexturePaint(texture.getTexture(), textureFillFlags, paint, bakedState->alpha) .setTransform(bakedState->computedState.transform, transformFlags) - .setModelViewOffsetRect(0, 0, Rect(0, 0, 0, 0)) + .setModelViewIdentityEmptyBounds() .build(); // Note: don't pass dirty bounds here, so user must manage passing dirty bounds to renderer renderer->renderGlop(nullptr, clip, glop); |