summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2017-12-06 15:10:22 -0800
committerChristopher Tate <ctate@google.com>2017-12-06 15:10:22 -0800
commit0c4d768b5cac00aa74817d81beeed6fd3e69319d (patch)
treedd9ed677f986d3629e34cdd877d0964c192c465a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent43be09b58c6ec3009f0eb9cb0c904edbd81b23b5 (diff)
Age jobs into runnability even in infrequent buckets
Actually use the "base heartbeats" of jobs when deciding runnability, so that now we properly sweep up all of the patiently-waiting jobs for a given bucket even if we can't quite get to them all within one heartbeat duration. Previously we would accidentally stop handling them until that bucket's next evaluation point, which might be far in the future. Now we're fair: once the app has waited an appropriate time, we can "catch up" all of its pending jobs, not just the ones we happen to fit into a relatively short period of time. Bug: 63527785 Test: manual Change-Id: I6b49b1f151df53bda59a64ead0c6c2a834a0dfe9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions