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

Issue 791373003: Add Set Authoritative VSync Interval function (Closed)

Created:
6 years ago by weiliangc
Modified:
5 years, 6 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, danakj, enne (OOO), jbauman+watch_chromium.org, kalyank, piman+watch_chromium.org, scheduler-bugs_chromium.org, sievers+watch_chromium.org, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Set Authoritative VSync Interval function This add functionality to set "authoritative" Vsync interval to scheduler. This interval would come from display configuration, which is more reliable than 3D context. Pull the SetAuthoritativeVSyncInterval from CL 775143003. R=brianderson@chromium.org BUG=372086

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -2 lines) Patch
M cc/scheduler/scheduler.h View 2 chunks +2 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler.cc View 3 chunks +10 lines, -2 lines 1 comment Download
M cc/test/fake_proxy.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M cc/trees/proxy.h View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M cc/trees/thread_proxy.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/thread_proxy.cc View 1 chunk +4 lines, -0 lines 1 comment Download
M ui/compositor/compositor.h View 1 chunk +8 lines, -0 lines 0 comments Download
M ui/compositor/compositor.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
weiliangc
This is pretty independent so I pulled it out of CL 775143003.
6 years ago (2014-12-11 20:30:18 UTC) #1
simonhong
LGTM https://codereview.chromium.org/791373003/diff/1/cc/scheduler/scheduler.cc File cc/scheduler/scheduler.cc (right): https://codereview.chromium.org/791373003/diff/1/cc/scheduler/scheduler.cc#newcode456 cc/scheduler/scheduler.cc:456: void Scheduler::SetAuthoritativeVSyncInterval(base::TimeDelta interval) { nit: How about add ...
6 years ago (2014-12-11 23:09:46 UTC) #3
brianderson
TLDR: 1) STP needs to implement CommitVSyncParameters like TP does. 2) I don't think we ...
6 years ago (2014-12-12 01:11:39 UTC) #4
mithro-old
5 years, 9 months ago (2015-02-27 02:26:03 UTC) #6
mithro-old
Looking at this patch, I think almost all of it should go away as UnifiedBeginFrame ...
5 years, 9 months ago (2015-03-11 04:24:49 UTC) #7
simonhong
5 years, 9 months ago (2015-03-11 05:17:02 UTC) #8
On 2015/03/11 04:24:49, mithro wrote:
> Looking at this patch, I think almost all of it should go away as
> UnifiedBeginFrame lands. I'm unsure the usefulness of landing it only to
remove
> a month later.

Current authoritative impl will be removed in the second landing step of unified
BeginFrame.
Please refer to https://codereview.chromium.org/775143003/.

Powered by Google App Engine
This is Rietveld 408576698