diff options
author | Kohsuke Yatoh <kyatoh@google.com> | 2021-06-09 20:09:49 +0000 |
---|---|---|
committer | Kohsuke Yatoh <kyatoh@google.com> | 2021-06-10 21:02:24 +0000 |
commit | a3f5f22cbced8647fbf2c57bb84e722d14a5a0de (patch) | |
tree | 733de1d46e18b8664b336bf07760cbded4fab85b /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | e298f682ca3eb84dd61de8a9899e657568af5012 (diff) |
Read font attributes from buffer.
minikin::Font::typeface() is expensive because it will open the font file.
Font attribute getters should avoid calling it.
Bug: 188201287
Test: atest UpdatableSystemFontTest
Test: atest CtsGraphicsTestCases:FontTest
Test: atest CtsGraphicsTestCases:SystemFontsTest
Change-Id: Ic8554f6dfacbe27ddfea6b375633c96bced2cc09
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions