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

Unified Diff: cc/scheduler/compositor_timing_history.h

Issue 2409923002: cc: Rename SwapBuffers on CompositorFrameSink to SubmitCompositorFrame (Closed)
Patch Set: swap-to-submit: rebase Created 4 years, 2 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
« no previous file with comments | « cc/output/compositor_frame_sink_unittest.cc ('k') | cc/scheduler/compositor_timing_history.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/compositor_timing_history.h
diff --git a/cc/scheduler/compositor_timing_history.h b/cc/scheduler/compositor_timing_history.h
index c66eea41ac99149a34a9529a3c9d593e84dad073..fb2fd816744ed2930b9f9db3e77e00a7be77e56f 100644
--- a/cc/scheduler/compositor_timing_history.h
+++ b/cc/scheduler/compositor_timing_history.h
@@ -71,8 +71,8 @@ class CC_EXPORT CompositorTimingHistory {
void DidDraw(bool used_new_active_tree,
bool main_thread_missed_last_deadline,
base::TimeTicks impl_frame_time);
- void DidSwapBuffers();
- void DidSwapBuffersComplete();
+ void DidSubmitCompositorFrame();
+ void DidReceiveCompositorFrameAck();
protected:
void DidBeginMainFrame();
@@ -115,10 +115,10 @@ class CC_EXPORT CompositorTimingHistory {
base::TimeTicks activate_start_time_;
base::TimeTicks active_tree_main_frame_time_;
base::TimeTicks draw_start_time_;
- base::TimeTicks swap_start_time_;
+ base::TimeTicks submit_start_time_;
// Watchdog timers.
- bool swap_ack_watchdog_enabled_;
+ bool submit_ack_watchdog_enabled_;
std::unique_ptr<UMAReporter> uma_reporter_;
RenderingStatsInstrumentation* rendering_stats_instrumentation_;
« no previous file with comments | « cc/output/compositor_frame_sink_unittest.cc ('k') | cc/scheduler/compositor_timing_history.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698