diff options
| author | Jeff Sharkey <jsharkey@android.com> | 2020-04-22 17:36:53 -0600 |
|---|---|---|
| committer | Jeff Sharkey <jsharkey@android.com> | 2020-04-29 14:54:44 -0600 |
| commit | 1639e6b8eeaac34d44b1f1cd0d50a5c051852a65 (patch) | |
| tree | 71f726256ce0c1718ba2840fb23d0f9f95fb8f98 /opengl/java/android/opengl/Material.java | |
| parent | 7291aad962f1d74bbfad1013a87a1f183836051a (diff) | |
Update more Parcelables to send Strings UTF-8.
An earlier CL with benchmarks has shown that sending strings as UTF-8
is 50% faster for US-ASCII strings, and still 68% faster for complex
strings referencing higher Unicode planes. (So an improvement in
both cases!)
Since code across the OS still makes heavy assumptions about Parcel
strings typically being UTF-16, we need to carefully migrate
Parcelables by hand, which is what this CLs begins doing.
Bug: 154436100
Test: manual
Change-Id: I9a675473e0ce3a4a5c5e305dd851b40bb1560e1c
Diffstat (limited to 'opengl/java/android/opengl/Material.java')
0 files changed, 0 insertions, 0 deletions
