diff options
| author | Romain Guy <romainguy@google.com> | 2013-03-13 16:14:47 -0700 |
|---|---|---|
| committer | Romain Guy <romainguy@google.com> | 2013-03-13 16:14:47 -0700 |
| commit | bd3055f95e67a55648fd84a125e939293115171b (patch) | |
| tree | c22ae6a64fda750461de8a0defaf85d1a999ba07 /docs/html/sdk/api_diff/3/changes | |
| parent | 0f809f3b794174f044366bf421f8d0c72d9afc14 (diff) | |
Less aggressive glyphs precaching
The renderer used to pre-cache glyphs at record time. This then changed
to pre-caching at the beginning of every frame. This unfortunately entails
a lot of duplicate work on every frame, which amounts to 0.5 to 1ms in
some stock applications.
This change is somewhere in the middle: pre-caching happens the first
time a DrawTextOp is deferred or every time the screen-space transform
is different from the last pre-caching operation.
Change-Id: Id6d9e2599d90a5b75010b0f0a28746befbf3c205
Diffstat (limited to 'docs/html/sdk/api_diff/3/changes')
0 files changed, 0 insertions, 0 deletions
