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

Unified Diff: cc/scheduler/scheduler.h

Issue 791373003: Add Set Authoritative VSync Interval function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/scheduler/scheduler.cc » ('j') | cc/scheduler/scheduler.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler.h
diff --git a/cc/scheduler/scheduler.h b/cc/scheduler/scheduler.h
index dea7c3e541004fd0bce31f182b501ca0e16be845..d4ae2a0ffe9fe50af497372174b3ac3300225a8a 100644
--- a/cc/scheduler/scheduler.h
+++ b/cc/scheduler/scheduler.h
@@ -167,6 +167,7 @@ class CC_EXPORT Scheduler : public BeginFrameObserverMixIn,
}
void SetChildrenNeedBeginFrames(bool children_need_begin_frames);
+ void SetAuthoritativeVSyncInterval(base::TimeDelta interval);
protected:
Scheduler(SchedulerClient* client,
@@ -190,6 +191,7 @@ class CC_EXPORT Scheduler : public BeginFrameObserverMixIn,
scoped_ptr<SyntheticBeginFrameSource> background_frame_source_internal_;
VSyncParameterObserver* vsync_observer_;
+ base::TimeDelta authoritative_vsync_interval_;
const SchedulerSettings settings_;
SchedulerClient* client_;
« no previous file with comments | « no previous file | cc/scheduler/scheduler.cc » ('j') | cc/scheduler/scheduler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698