summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorBen Wagner <bungeman@google.com>2016-01-28 16:05:33 -0500
committerBen Wagner <bungeman@google.com>2016-02-12 19:33:26 +0000
commitfb95699364e555148b437cfa1e5c69384f843845 (patch)
treeb7f1d5a4dc3b3f3dc7fc82ab37e250c1075b9afd /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente2caaa9c8d9838f814218a48a203f95a517c9bbe (diff)
Deduplicate font file mappings.
With ttc and gx variation fonts, it is now possible and common that a number of fonts will use the same font file for data but with different parameters. In the current code each font will map the font file data, taking up an unecessary amount of virtual address space and is inefficient with respect to memory management (like the tlb). This CL deduplicates these file mappings so that a given font file will only be mapped into memory once. DO NOT MERGE Change-Id: I5ca69f963a434c72ec4028402ecbf9e0f0ee7148 (cherry picked from commit fffcf0a31fd4c9a4ec8aa7de70b1eda0d48fb337)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions