summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorChris Wailes <chriswailes@google.com>2019-06-11 11:12:25 -0700
committerChris Wailes <chriswailes@google.com>2020-01-15 16:20:36 -0800
commitd8ef11699304a2fdffbbe1be77f885042a840e00 (patch)
tree5ded43549d60a6eab59d6e90b78ff7fe20c6a171 /rs/java/android/renderscript/ProgramStore.java
parentb28db4abbcc2b56ad33b9782bc5cb56596c3d3cc (diff)
Improved timekeeping logic for USAP Pool refill mechanism.
This patch makes two changes to increase the reliability of the USAP pool refill mechanism. The first is to change the storage type of the result of an expression from int to long. This will help avoid potential overflow issues. The second change mitigates the impact of the non-monotonic system clock having its value changed. If the clock goes backwards in time past when the initial event triggered the refill delay, the delay will now be reset. Bug: 146614089 Test: Treehugger Change-Id: Ic6f65de51757803b5ba95975bab3b9322a91c837 Merged-In: Ic6f65de51757803b5ba95975bab3b9322a91c837
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions