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

Side by Side Diff: cc/trees/single_thread_proxy.h

Issue 1192663005: cc: Measure compositor timing with finer granularity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@modeTimingHistory3
Patch Set: don't reset timing history Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_ 5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_
6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 void SetNeedsPrepareTilesOnImplThread() override; 94 void SetNeedsPrepareTilesOnImplThread() override;
95 void SetNeedsCommitOnImplThread() override; 95 void SetNeedsCommitOnImplThread() override;
96 void SetVideoNeedsBeginFrames(bool needs_begin_frames) override; 96 void SetVideoNeedsBeginFrames(bool needs_begin_frames) override;
97 void PostAnimationEventsToMainThreadOnImplThread( 97 void PostAnimationEventsToMainThreadOnImplThread(
98 scoped_ptr<AnimationEventsVector> events) override; 98 scoped_ptr<AnimationEventsVector> events) override;
99 bool IsInsideDraw() override; 99 bool IsInsideDraw() override;
100 void RenewTreePriority() override {} 100 void RenewTreePriority() override {}
101 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, 101 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task,
102 base::TimeDelta delay) override {} 102 base::TimeDelta delay) override {}
103 void DidActivateSyncTree() override; 103 void DidActivateSyncTree() override;
104 void WillPrepareTiles() override;
104 void DidPrepareTiles() override; 105 void DidPrepareTiles() override;
105 void DidCompletePageScaleAnimationOnImplThread() override; 106 void DidCompletePageScaleAnimationOnImplThread() override;
106 void OnDrawForOutputSurface() override; 107 void OnDrawForOutputSurface() override;
107 void PostFrameTimingEventsOnImplThread( 108 void PostFrameTimingEventsOnImplThread(
108 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, 109 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
109 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) 110 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events)
110 override; 111 override;
111 112
112 void SetDebugState(const LayerTreeDebugState& debug_state) override {} 113 void SetDebugState(const LayerTreeDebugState& debug_state) override {}
113 114
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 private: 233 private:
233 DebugScopedSetImplThread impl_thread_; 234 DebugScopedSetImplThread impl_thread_;
234 DebugScopedSetMainThreadBlocked main_thread_blocked_; 235 DebugScopedSetMainThreadBlocked main_thread_blocked_;
235 236
236 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 237 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
237 }; 238 };
238 239
239 } // namespace cc 240 } // namespace cc
240 241
241 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 242 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/single_thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698