-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Scheduler: Filter out continuous input for kPrioritizeCompositingAfte…
…rInput Continuous input, when rAF-algined, hops through the input task queue before ultimately running in rAF. This means we need to do more filtering in the scheduler to only prioritize rendering after discrete inputs. This CL adds that filtering. This also moves the kPrioritizeCompositingAfterInput from OnTaskComplete() to MaybeUpdateCompositorTaskQueuePriorityOnTaskCompleted(), consolidating the logic to update compositor priority after a task runs. (cherry picked from commit c528d65) Bug: 853771, 1068426 Change-Id: Ifd3d00440688b015015d7d20320de330a70db376 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3641430 Reviewed-by: Kouhei Ueno <kouhei@chromium.org> Reviewed-by: Minoru Chikamune <chikamune@chromium.org> Commit-Queue: Scott Haseley <shaseley@chromium.org> Reviewed-by: Dave Tapuska <dtapuska@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1002987} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3648579 Auto-Submit: Scott Haseley <shaseley@chromium.org> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/5060@{#23} Cr-Branched-From: b83393d-refs/heads/main@{#1002911}
- Loading branch information
Showing
3 changed files
with
127 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters