summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorKohsuke Yatoh <kyatoh@google.com>2020-11-16 10:41:58 -0800
committerKohsuke Yatoh <kyatoh@google.com>2020-12-01 16:05:33 -0800
commitb11b963ed14d952cc2eb85e272780f92fa5b8b09 (patch)
tree2563d3bddd26f96c037ad05018a39b4c0549558b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentda631e9a6714b259b5dcdb3c8768bcd3441c518d (diff)
Prepare switching font loading to system server.
Currently, fonts are loaded in Zygote. This CL adds a preparation to switch it to system server and bindApplication(), so that system server will be able to update font map at runtime. (1) Zygote will be initialized without fonts. (2) System server will maintain a serialized font map in ashmem. (3) Apps will load font map from the ashmem in bindApplication(). The change is guarded by Typeface.ENABLE_LAZY_TYPEFACE_INITIALIZATION, and the new behavior is disabled by default. I tested with ENABLE_LAZY_TYPEFACE_INITIALIZATION = true. Bug: 172891184 Test: atest FrameworksCoreTests:TypefaceTest Test: atest CtsGraphicsTestCases Test: atest CtsTextTestCases Test: atest CtsWidgetTestCases Change-Id: I40832962a4b27f6160c4dc6268689c52f6a4dd33
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions