summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChris Wailes <chriswailes@google.com>2019-06-11 11:12:25 -0700
committerChris Wailes <chriswailes@google.com>2019-06-11 16:40:56 -0700
commit2f37bb1f6a27cef78603db1bc075599574368f78 (patch)
treef4de5fa4728597c7471bf2138cfced3d3d87eeed /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent7c7e6ac20061e865d870eaca2d2880d7e164fcdf (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. Test: Treehugger Change-Id: Ic6f65de51757803b5ba95975bab3b9322a91c837
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions