diff options
author | Seigo Nonaka <nona@google.com> | 2017-08-14 14:22:56 -0700 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2017-08-15 10:53:20 -0700 |
commit | 7cc3ee7091d9bcbc83879c0f84f9e5174716f285 (patch) | |
tree | a0dce402e4a3db070ccf0037b38058c7476ad1bc /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | a2991d045d549fb7570619ae658a23f10bee172e (diff) |
Adjust font texture cache based on device density.
The main purpose of this CL is reducing font cache size of
low-density device.
The memory usage for the small RGBA texture will be
Nexus 6P: 7,928,856 bytes (1408x1408)
Nexus 5X: 4,734,976 bytes (1088x1088)
These used to be 4,194,304 bytes
Test: manually checked
Bug: 64400885
Change-Id: Ied064a6d59909ad7fbeff74332973206436fbd34
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions