summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2017-08-31 14:01:54 -0700
committerSeigo Nonaka <nona@google.com>2017-09-25 13:19:24 -0700
commit5d518dcd5a4ee39de41ce329b78d404a80b088c1 (patch)
treec66d97e67cd65b82bcd0230820782c1e71730e41 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta0a23c7f2e2a0499dc273b65a64527a68e7249c3 (diff)
Remove nSetLocales
nSetLocales needed to be done at the same time of addStyleRun. So it is natural to be the arguments of addStyleRun. Since locale change detection take longer time in native, check it in Java and pass null if not changed. Here is an example of StaticLayoutPerfTestResult. Before (median): createRandom: 3,422,247 createRandom(breakBalanced): 3,448,865 create: 183,642 After: createRandom: 3,493,079 createRandom(breakBalanced): 3,495,381 create: 193,363 Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest Test: bit CtsTextTestCases:android.text.cts.DynamicLayoutTest Test: bit CtsTextTestCases:android.text.cts.StaticLayoutTest Test: minikin_tests Bug: 65175766 Bug: 65024629 Change-Id: I4586cef626f631d4736b0db59ba9f3f6abd3d4ff
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions