DescriptionAdds the concept of Policies to the Blink Scheduler
In Normal mode (the default), there's virtually no
prioritization of compositor events, and
shouldYieldForHighPriorityWork always returns false. In
CompositorPriority mode, there *is* prioritization of
compositor tasks and shouldYieldForHighPriorityWork will
return false if there are pending high priority events.
Currently there is no way for client code to set the policy
but that will be introduced in a follow up CL.
Also adds some disabled by default tracing in
"blink.scheduler" to track the number of pending high
priority tasks and which policy mode the scheduler is in.
BUG=391005, 411520
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181818
Patch Set 1 #Patch Set 2 : Added an APP for the compositor to tell us when it handled input events #Patch Set 3 : Minor tweaks #Patch Set 4 : Split up into two patches #Patch Set 5 : Adds a comment to a test #
Total comments: 23
Patch Set 6 : AAdded a comment #
Total comments: 2
Patch Set 7 : Responding to Sami's feedback #Patch Set 8 : Rename LatencyMode to SchedulerPolicy #Patch Set 9 : Fixed some names #
Total comments: 20
Patch Set 10 : Responding to Sami's feedbacl #Patch Set 11 : Responding to Sami's feecback #Patch Set 12 : Minor change #Patch Set 13 : Change the test time funcstions to be non-static #
Messages
Total messages: 13 (3 generated)
|