summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAndrii Kulian <akulian@google.com>2017-12-20 15:38:12 -0800
committerAndrii Kulian <akulian@google.com>2017-12-21 15:36:08 -0800
commit1c110302fe3236e7477020aa11b9cb0b8226328a (patch)
tree4b006e3f2accd0f1b7b1588fd54aabc2513b1166 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent93592a9b390e2f44a476068e1d732d3d6b13e82e (diff)
Fix object pool for lifecycler
The original implementation of object pool for lifecycle transactions tried to always recycle objects after a transaction was scheduled. In case when a client was running in the same process this lead to objects being emptied before it could actually perform the transaction. Also when checking if object was already in the pool we should use "==" instead of equality check. Bug: 70568084 Bug: 70526039 Bug: 70616950 Test: android.app.servertransaction.ObjectPoolTests Change-Id: I45eeecc189b9a458d8efdfed256b81cf0baf8b95
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions