summaryrefslogtreecommitdiff
path: root/libs/ui/KeyLayoutMap.cpp
diff options
context:
space:
mode:
author Chet Haase <chet@google.com> 2011-12-16 15:44:59 -0800
committer Chet Haase <chet@google.com> 2011-12-16 15:44:59 -0800
commit9a8245629d69d81e0b62e52970feaf9c02580e75 (patch)
tree3aa17c76e6a1b2d4abde5bfe75640c2dcc08d5d9 /libs/ui/KeyLayoutMap.cpp
parent6a6da2c9719c6942246d50833e04ee48f9fb2b03 (diff)
De-allocate caches for large glyphs when trimming memory
Currently, font renderers eliminate some texture caches when memory is trimmed. This change makes it go further by eliminating the large-glyph caches for all font renderers. These caches are only allocated as needed, but continue to consume large amounts of memory (CPU and GPU) after that allocation. De-allocating this memory on a trim operation should prevent background apps from holding onto this memory in the possible case that they have allocated it by drawing large glyphs. Change-Id: Id7a3ab49b244e036b442d87252fb40aeca8fdb26
Diffstat (limited to 'libs/ui/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions