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

Unified Diff: cc/trees/single_thread_proxy.h

Issue 1765723002: Hoist begin frame sources out of scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scheduler_remove_throttle_flag
Patch Set: Address skyostil comments Created 4 years, 9 months 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
Index: cc/trees/single_thread_proxy.h
diff --git a/cc/trees/single_thread_proxy.h b/cc/trees/single_thread_proxy.h
index 3b69668f69969d7b7101a3fbde0a77f599b4cad0..66e00758a517fb4ab76031b544ee75577f9ff107 100644
--- a/cc/trees/single_thread_proxy.h
+++ b/cc/trees/single_thread_proxy.h
@@ -145,8 +145,13 @@ class CC_EXPORT SingleThreadProxy : public Proxy,
// Accessed from both threads.
scoped_ptr<BeginFrameSource> external_begin_frame_source_;
+ scoped_ptr<BeginFrameSource> unthrottled_begin_frame_source_;
+ scoped_ptr<SyntheticBeginFrameSource> synthetic_begin_frame_source_;
scoped_ptr<Scheduler> scheduler_on_impl_thread_;
+ base::TimeDelta authoritative_vsync_interval_;
+ base::TimeTicks last_vsync_timebase_;
+
scoped_ptr<BlockingTaskRunner::CapturePostTasks> commit_blocking_task_runner_;
bool next_frame_is_newly_committed_frame_;

Powered by Google App Engine
This is Rietveld 408576698