Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Issue 22887010: cc: Handle future timebases properly in DelayBasedTimeSource (Closed)

Created:
7 years, 4 months ago by brianderson
Modified:
7 years, 4 months ago
Reviewers:
jdduke (slow), nduca
CC:
chromium-reviews, cc-bugs_chromium.org, jbauman, apatrick, danakj
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

cc: Handle future timebases properly in DelayBasedTimeSource The existing code didn't anticipate negative values for intervals_elapsed, which would round up towards 0 instead of down towards 0 and cause the next frame to be posted more than 1 vsync away. This primarly cropped up on Windows machines, but only for certain configurations. BUG=262437 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217723

Patch Set 1 #

Patch Set 2 : nix extraneous epsilon #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -3 lines) Patch
M cc/scheduler/delay_based_time_source.cc View 1 1 chunk +11 lines, -3 lines 1 comment Download
M cc/scheduler/delay_based_time_source_unittest.cc View 1 chunk +109 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
brianderson
7 years, 4 months ago (2013-08-14 21:47:40 UTC) #1
brianderson
Nat or Jared, can I get a quick review of this patch? After this lands ...
7 years, 4 months ago (2013-08-14 22:09:54 UTC) #2
nduca
lgtm
7 years, 4 months ago (2013-08-14 22:33:40 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/brianderson@chromium.org/22887010/4001
7 years, 4 months ago (2013-08-14 22:34:36 UTC) #4
jdduke (slow)
https://codereview.chromium.org/22887010/diff/4001/cc/scheduler/delay_based_time_source.cc File cc/scheduler/delay_based_time_source.cc (right): https://codereview.chromium.org/22887010/diff/4001/cc/scheduler/delay_based_time_source.cc#newcode200 cc/scheduler/delay_based_time_source.cc:200: if (next_parameters_.tick_target < now) { To make this a ...
7 years, 4 months ago (2013-08-14 22:39:36 UTC) #5
jdduke (slow)
On 2013/08/14 22:39:36, jdduke wrote: > https://codereview.chromium.org/22887010/diff/4001/cc/scheduler/delay_based_time_source.cc > File cc/scheduler/delay_based_time_source.cc (right): > > https://codereview.chromium.org/22887010/diff/4001/cc/scheduler/delay_based_time_source.cc#newcode200 > ...
7 years, 4 months ago (2013-08-14 22:40:04 UTC) #6
commit-bot: I haz the power
7 years, 4 months ago (2013-08-15 01:22:05 UTC) #7
Message was sent while issue was closed.
Change committed as 217723

Powered by Google App Engine
This is Rietveld 408576698