Revert "cc: Subtract estimated display draw time from begin frame deadline"
This reverts commit fc04607a. Reason for revert: Likely caused several regressions Original change's description: > cc: Subtract estimated display draw time from begin frame deadline > > Display draw time was being subtraced from display scheduler's deadline, > but a similar adjustment was missing from cc scheduler's deadline. To > fix this inconsistency, this CL applies the deadline adjustment at a > single place, the begin frame source so that there's no mismatch. > > This makes cc scheduler have a later deadline and can cause it to wait > longer for the main thread. Recent experimentation has shown improved > latency in the absence of a scheduler deadline. It's hoped that some of > the improvement can be achieved by just fixing the deadline. > > Bug: 1042584 > Change-Id: Ia948b64c1dbba5239d1b97062224e73487e35fba > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2045210 > Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> > Auto-Submit: Sunny Sachanandani <sunnyps@chromium.org> > Reviewed-by: Khushal <khushalsagar@chromium.org> > Cr-Commit-Position: refs/heads/master@{#781159} TBR=sadrul@chromium.org,sunnyps@chromium.org,khushalsagar@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 1042584, 1098444, 1098229 Change-Id: I3dcad61af5f1ef6d8a38a3290c6c2e04c503dbb3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2264629Reviewed-by:Sunny Sachanandani <sunnyps@chromium.org> Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Cr-Commit-Position: refs/heads/master@{#782068}
Showing
Please register or sign in to comment