diff options
author | John Reck <jreck@google.com> | 2020-09-21 14:37:41 -0700 |
---|---|---|
committer | Yiwei Zhang <zzyiwei@google.com> | 2020-09-29 06:59:06 -0700 |
commit | d47a88f3580c291ca52bf70b14bee44d33f94633 (patch) | |
tree | f4f525ece848234d5c0d4ea0ad30da6628483030 /rs/java/android/renderscript/ProgramFragment.java | |
parent | 08e7cbb0b5399be7733a8dc2bb467cc8d9c48d6b (diff) |
Fix override setBufferCount
The logic in setBufferCount was still assuming it needed
to inject the extra buffers, however that injection was
already happening in the min_undequeued query. So it was
increasing buffercount by 2x the extraCount, or concretely
5 buffers when it should have been 4 on >75hz devices
Bug: 168928692
Test: Boot coral, verify 4 buffers instead of 5
Change-Id: I0908228a6791d90544fbf4cb21170931bd31a9db
Merged-In: I0908228a6791d90544fbf4cb21170931bd31a9db
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragment.java')
0 files changed, 0 insertions, 0 deletions