DescriptionEnsure deterministic heap prioritization of raster task nodes
Previously, task nodes were all fed the same priority. While certain
heap implementations ensured a consistent prioritization given the same
task priority and input ordering, this is not guaranteed by the spec.
In particular, Android's libc++ implementation appears to differ in this
respect, resulting in tasks from different sets being processed in an
order different from node creation order.
Avoid this by including the task set type in the node priority. All
conforming heap implementations should now yield the same ordering
with respect to task set type.
BUG=427718
Committed: https://crrev.com/d2f00426f585653d2c8d6e16081c3a53538d4e1e
Cr-Commit-Position: refs/heads/master@{#313972}
Patch Set 1 #Patch Set 2 : Code review #
Total comments: 2
Patch Set 3 : Fix type case #
Messages
Total messages: 10 (2 generated)
|