[scheduler] Use PrioritisationType instead of QueueClass for compositor
priority decisions. This CL adds a prioritisation type for the compositor queue and uses that inside of computePriority instead of QueueClass. This is more clear than QueueClass (since QueueClass::kCompositor includes other task queues that have a fixed priority). In addition, this CL adds some DCHECKS to ensure that we only create one queue of this type since there should only be one main thread compositor task queue. Change-Id: I88825288476c73e46739214bad61c2d3c8b2af93 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2300881 Commit-Queue: Katie Dillon <kdillon@chromium.org> Reviewed-by:Alexander Timin <altimin@chromium.org> Reviewed-by:
Scott Haseley <shaseley@chromium.org> Cr-Commit-Position: refs/heads/master@{#792703}
Showing
Please register or sign in to comment