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

Unified Diff: components/view_manager/surfaces/surfaces_scheduler.h

Issue 1184863004: cc: Move timing history to the Scheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add cc:: Created 5 years, 6 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/trees/thread_proxy.cc ('k') | components/view_manager/surfaces/surfaces_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/surfaces/surfaces_scheduler.h
diff --git a/components/view_manager/surfaces/surfaces_scheduler.h b/components/view_manager/surfaces/surfaces_scheduler.h
index 3e5be2b8b3c87c97d6ec8f7a3eac5451d332c78e..fad331286236bccd83e12719cce6c6c25c70593a 100644
--- a/components/view_manager/surfaces/surfaces_scheduler.h
+++ b/components/view_manager/surfaces/surfaces_scheduler.h
@@ -11,6 +11,7 @@
namespace cc {
class Display;
+class RenderingStatsInstrumentation;
}
namespace surfaces {
@@ -41,15 +42,13 @@ class SurfacesScheduler : public cc::SchedulerClient {
void ScheduledActionBeginOutputSurfaceCreation() override;
void ScheduledActionPrepareTiles() override;
void ScheduledActionInvalidateOutputSurface() override;
- base::TimeDelta DrawDurationEstimate() override;
- base::TimeDelta BeginMainFrameToCommitDurationEstimate() override;
- base::TimeDelta CommitToActivateDurationEstimate() override;
void SendBeginFramesToChildren(const cc::BeginFrameArgs& args) override;
void SendBeginMainFrameNotExpectedSoon() override;
std::set<cc::Display*> displays_;
scoped_ptr<cc::Scheduler> scheduler_;
- base::TimeDelta draw_estimate_;
+ scoped_ptr<cc::RenderingStatsInstrumentation>
+ rendering_stats_instrumentation_;
DISALLOW_COPY_AND_ASSIGN(SurfacesScheduler);
};
« no previous file with comments | « cc/trees/thread_proxy.cc ('k') | components/view_manager/surfaces/surfaces_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698