summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-05-14 22:27:36 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-05-14 23:47:41 +0800
commit43a4cb2ecdaf55dbc1c7e3f97e945be9d1a0d2d8 (patch)
tree6abc7956ec3cf605b6cb8cb10df388e472f325ad /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent0a35d1d6b4e486c39f51c0ade132a48fecd210c7 (diff)
Use matrix to scale icon for splash starting window
Originally the cost would increase in proportion to the size. Now the draw time becomes almost irrelevant to size. And the visual appearance is almost the same as previous approach. The icon draw time: News : 32ms -> 10ms Clock : 46ms -> 23ms Dialer: 30ms -> 14ms Bug: 187104264 Test: OpenAppMicrobenchmark Change-Id: I9edeb367c671315374f8579bf3b91dc778bad302
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions