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

Side by Side Diff: cc/layer_tree_host_impl.h

Issue 12614013: Plumb cc::LatencyInfo through command buffer and output surface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | cc/output_surface.h » ('j') | cc/output_surface.h » ('J')
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_LAYER_TREE_HOST_IMPL_H_ 5 #ifndef CC_LAYER_TREE_HOST_IMPL_H_
6 #define CC_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 // TileManagerClient implementation. 161 // TileManagerClient implementation.
162 virtual void ScheduleManageTiles() OVERRIDE; 162 virtual void ScheduleManageTiles() OVERRIDE;
163 virtual void DidUploadVisibleHighResolutionTile() OVERRIDE; 163 virtual void DidUploadVisibleHighResolutionTile() OVERRIDE;
164 164
165 // OutputSurfaceClient implementation. 165 // OutputSurfaceClient implementation.
166 virtual void OnVSyncParametersChanged(base::TimeTicks timebase, 166 virtual void OnVSyncParametersChanged(base::TimeTicks timebase,
167 base::TimeDelta interval) OVERRIDE; 167 base::TimeDelta interval) OVERRIDE;
168 virtual void OnSendFrameToParentCompositorAck(const CompositorFrameAck& ack) 168 virtual void OnSendFrameToParentCompositorAck(const CompositorFrameAck& ack)
169 OVERRIDE; 169 OVERRIDE;
170 virtual void OnReceivedLatencyInfo(const LatencyInfo&) OVERRIDE { }
170 171
171 // Called from LayerTreeImpl. 172 // Called from LayerTreeImpl.
172 void OnCanDrawStateChangedForTree(); 173 void OnCanDrawStateChangedForTree();
173 174
174 // Implementation 175 // Implementation
175 bool CanDraw(); 176 bool CanDraw();
176 OutputSurface* output_surface() const { return output_surface_.get(); } 177 OutputSurface* output_surface() const { return output_surface_.get(); }
177 178
178 std::string LayerTreeAsText() const; 179 std::string LayerTreeAsText() const;
179 std::string LayerTreeAsJson() const; 180 std::string LayerTreeAsJson() const;
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 base::TimeTicks current_frame_time_; 438 base::TimeTicks current_frame_time_;
438 439
439 scoped_ptr<AnimationRegistrar> animation_registrar_; 440 scoped_ptr<AnimationRegistrar> animation_registrar_;
440 441
441 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 442 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
442 }; 443 };
443 444
444 } // namespace cc 445 } // namespace cc
445 446
446 #endif // CC_LAYER_TREE_HOST_IMPL_H_ 447 #endif // CC_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/output_surface.h » ('j') | cc/output_surface.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698