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

Issue 668273003: Get high resolution frame timebase and interval on compatible systems (Closed)

Created:
6 years, 2 months ago by bajones
Modified:
6 years, 2 months ago
CC:
chromium-reviews, mithro
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Get high resolution frame timebase and interval on compatible systems Significantly reduces stuttering of animations on Windows caused by rounding errors in the computation of the display refresh rate. Also made a minor change to how multi-monitor display rates are handled. Now we only use the value from EnumDisplaySettings if DWM compositing is disabled, even if the monitor refresh rate is lower. The previous logic may have erroniously overridden a display refresh of ~60.1Hz or similar with a less accurate 60Hz. BUG=422000 Committed: https://crrev.com/10b6709e59abc1ef5d3921a38b93acd73a689be8 Cr-Commit-Position: refs/heads/master@{#301230}

Patch Set 1 #

Patch Set 2 : Minor whitespace cleanup #

Total comments: 3

Patch Set 3 : Better comments #

Patch Set 4 : Addressing feedback from jerryj #

Patch Set 5 : Fixed calling Windows-only function on all platforms. #

Patch Set 6 : DEEEERRRRRRPPPP #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -36 lines) Patch
M ui/gfx/frame_time.h View 1 2 3 4 5 1 chunk +4 lines, -3 lines 0 comments Download
M ui/gl/gl_surface_win.cc View 1 2 3 2 chunks +34 lines, -33 lines 0 comments Download

Messages

Total messages: 25 (7 generated)
bajones
This doesn't completely solve the problem of occasional jitters that was introduced by https://codereview.chromium.org/299443020, but ...
6 years, 2 months ago (2014-10-22 22:43:41 UTC) #2
brianderson
Unlikely, but I wonder if timing_info.qpcRefreshPeriod is noisy because vsync is disabled. Does it get ...
6 years, 2 months ago (2014-10-22 23:05:30 UTC) #3
bajones
Thanks for the feedback/comments Brian! I've fleshed out the comments in the code a bit ...
6 years, 2 months ago (2014-10-22 23:34:02 UTC) #4
brianderson
lgtm, but I'm not an owner.
6 years, 2 months ago (2014-10-23 00:12:29 UTC) #5
piman
lgtm
6 years, 2 months ago (2014-10-23 03:38:00 UTC) #6
jerryj
Was it intentional to change the behavior of the new monitor code? -- to not ...
6 years, 2 months ago (2014-10-24 11:56:20 UTC) #7
bajones
On 2014/10/24 at 11:56:20, jerryj wrote: > Was it intentional to change the behavior of ...
6 years, 2 months ago (2014-10-24 18:07:30 UTC) #8
bajones
the ui/gfx OWNERS file makes it hard to know who needs to review frame_time.h, so ...
6 years, 2 months ago (2014-10-24 18:55:14 UTC) #10
danakj
rslgtm of frame_time based on brianderson review
6 years, 2 months ago (2014-10-24 18:57:41 UTC) #11
danakj
On 2014/10/24 18:57:41, danakj wrote: > rslgtm of frame_time based on brianderson review rs-lgtm.. i ...
6 years, 2 months ago (2014-10-24 18:57:49 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/668273003/60001
6 years, 2 months ago (2014-10-24 19:54:33 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/11166)
6 years, 2 months ago (2014-10-24 20:01:56 UTC) #16
sky
Rubber stamp LGTM
6 years, 2 months ago (2014-10-24 21:26:32 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/668273003/80001
6 years, 2 months ago (2014-10-24 22:10:05 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/27883) android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/21898) linux_chromium_gn_dbg ...
6 years, 2 months ago (2014-10-24 22:21:30 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/668273003/100001
6 years, 2 months ago (2014-10-24 22:25:32 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:100001)
6 years, 2 months ago (2014-10-24 23:48:41 UTC) #24
commit-bot: I haz the power
6 years, 2 months ago (2014-10-24 23:49:30 UTC) #25
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/10b6709e59abc1ef5d3921a38b93acd73a689be8
Cr-Commit-Position: refs/heads/master@{#301230}

Powered by Google App Engine
This is Rietveld 408576698