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

Side by Side Diff: cc/trees/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/single_thread_proxy.cc ('k') | cc/trees/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_THREAD_PROXY_H_ 5 #ifndef CC_TREES_THREAD_PROXY_H_
6 #define CC_TREES_THREAD_PROXY_H_ 6 #define CC_TREES_THREAD_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 void SetNeedsPrepareTilesOnImplThread() override; 190 void SetNeedsPrepareTilesOnImplThread() override;
191 void SetNeedsCommitOnImplThread() override; 191 void SetNeedsCommitOnImplThread() override;
192 void SetVideoNeedsBeginFrames(bool needs_begin_frames) override; 192 void SetVideoNeedsBeginFrames(bool needs_begin_frames) override;
193 void PostAnimationEventsToMainThreadOnImplThread( 193 void PostAnimationEventsToMainThreadOnImplThread(
194 scoped_ptr<AnimationEventsVector> queue) override; 194 scoped_ptr<AnimationEventsVector> queue) override;
195 bool IsInsideDraw() override; 195 bool IsInsideDraw() override;
196 void RenewTreePriority() override; 196 void RenewTreePriority() override;
197 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, 197 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task,
198 base::TimeDelta delay) override; 198 base::TimeDelta delay) override;
199 void DidActivateSyncTree() override; 199 void DidActivateSyncTree() override;
200 void WillPrepareTiles() override;
200 void DidPrepareTiles() override; 201 void DidPrepareTiles() override;
201 void DidCompletePageScaleAnimationOnImplThread() override; 202 void DidCompletePageScaleAnimationOnImplThread() override;
202 void OnDrawForOutputSurface() override; 203 void OnDrawForOutputSurface() override;
203 // This should only be called by LayerTreeHostImpl::PostFrameTimingEvents. 204 // This should only be called by LayerTreeHostImpl::PostFrameTimingEvents.
204 void PostFrameTimingEventsOnImplThread( 205 void PostFrameTimingEventsOnImplThread(
205 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, 206 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
206 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) 207 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events)
207 override; 208 override;
208 209
209 // SchedulerClient implementation 210 // SchedulerClient implementation
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 294
294 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; 295 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_;
295 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; 296 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_;
296 297
297 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 298 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
298 }; 299 };
299 300
300 } // namespace cc 301 } // namespace cc
301 302
302 #endif // CC_TREES_THREAD_PROXY_H_ 303 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698