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

Unified Diff: cc/thread_proxy.h

Issue 12519006: cc:: Add RenderingStatsInstrumentation to manage collection of RenderingStats (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed tests Created 7 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/thread_proxy.h
diff --git a/cc/thread_proxy.h b/cc/thread_proxy.h
index e508b76461f5f8d9c6242c694d3067b1f1ea8c4c..77f9da5605493ce1a3d7c69343ceca7128062457 100644
--- a/cc/thread_proxy.h
+++ b/cc/thread_proxy.h
@@ -48,7 +48,6 @@ class ThreadProxy : public Proxy,
virtual void SetVisible(bool visible) OVERRIDE;
virtual bool InitializeRenderer() OVERRIDE;
virtual bool RecreateOutputSurface() OVERRIDE;
- virtual void CollectRenderingStats(RenderingStats* stats) OVERRIDE;
virtual const RendererCapabilities& GetRendererCapabilities() const OVERRIDE;
virtual void SetNeedsAnimate() OVERRIDE;
virtual void SetNeedsCommit() OVERRIDE;
@@ -172,8 +171,6 @@ class ThreadProxy : public Proxy,
scoped_refptr<cc::ContextProvider> offscreen_context_provider,
bool* recreate_succeeded,
RendererCapabilities* capabilities);
- void RenderingStatsOnImplThread(CompletionEvent* completion,
- RenderingStats* stats);
ScheduledActionDrawAndSwapResult ScheduledActionDrawAndSwapInternal(
bool forced_draw);
void ForceSerializeOnSwapBuffersOnImplThread(CompletionEvent* completion);
@@ -251,9 +248,6 @@ class ThreadProxy : public Proxy,
bool inside_draw_;
- base::TimeDelta total_commit_time_;
- size_t total_commit_count_;
-
bool defer_commits_;
scoped_ptr<BeginFrameAndCommitState> pending_deferred_commit_;

Powered by Google App Engine
This is Rietveld 408576698