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

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

Issue 1192663005: cc: Measure compositor timing with finer granularity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@modeTimingHistory3
Patch Set: fixes 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 unified diff | Download patch
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_LAYER_TREE_HOST_IMPL_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 scoped_ptr<AnimationEventsVector> events) = 0; 112 scoped_ptr<AnimationEventsVector> events) = 0;
113 // Returns true if resources were deleted by this call. 113 // Returns true if resources were deleted by this call.
114 virtual bool ReduceContentsTextureMemoryOnImplThread( 114 virtual bool ReduceContentsTextureMemoryOnImplThread(
115 size_t limit_bytes, 115 size_t limit_bytes,
116 int priority_cutoff) = 0; 116 int priority_cutoff) = 0;
117 virtual bool IsInsideDraw() = 0; 117 virtual bool IsInsideDraw() = 0;
118 virtual void RenewTreePriority() = 0; 118 virtual void RenewTreePriority() = 0;
119 virtual void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, 119 virtual void PostDelayedAnimationTaskOnImplThread(const base::Closure& task,
120 base::TimeDelta delay) = 0; 120 base::TimeDelta delay) = 0;
121 virtual void DidActivateSyncTree() = 0; 121 virtual void DidActivateSyncTree() = 0;
122 virtual void WillPrepareTiles() = 0;
122 virtual void DidPrepareTiles() = 0; 123 virtual void DidPrepareTiles() = 0;
123 124
124 // Called when page scale animation has completed on the impl thread. 125 // Called when page scale animation has completed on the impl thread.
125 virtual void DidCompletePageScaleAnimationOnImplThread() = 0; 126 virtual void DidCompletePageScaleAnimationOnImplThread() = 0;
126 127
127 // Called when output surface asks for a draw. 128 // Called when output surface asks for a draw.
128 virtual void OnDrawForOutputSurface() = 0; 129 virtual void OnDrawForOutputSurface() = 0;
129 130
130 virtual void PostFrameTimingEventsOnImplThread( 131 virtual void PostFrameTimingEventsOnImplThread(
131 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, 132 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; 775 scoped_ptr<FrameTimingTracker> frame_timing_tracker_;
775 776
776 scoped_ptr<Viewport> viewport_; 777 scoped_ptr<Viewport> viewport_;
777 778
778 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 779 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
779 }; 780 };
780 781
781 } // namespace cc 782 } // namespace cc
782 783
783 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 784 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698