diff options
author | Soonil Nagarkar <sooniln@google.com> | 2021-12-11 11:19:40 -0800 |
---|---|---|
committer | Soonil Nagarkar <sooniln@google.com> | 2021-12-13 20:20:26 +0000 |
commit | 232a0456e7353eb38af89646181ff48e531774bf (patch) | |
tree | 0bf74bf7eaeea84984c71c22aef0c099019f0342 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | a66bc891ceecbaea77d37b4e71643332d3e70251 (diff) |
Reduce allocations on location delivery
Allocating a new Binder object for every location delivery is causing
resource starvation when location deliveries are not processed fast
enough. Instead, allocate an object per registration, to substantially
reduce the number of total allocations.
Bug: 206340085
Test: manual
Change-Id: Ib0ce770a059acab37b431cb557f96c7fc008aec7
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions