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

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

Issue 14092003: Add compositor support for the LatencyInfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_impl.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_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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/time.h" 13 #include "base/time.h"
14 #include "cc/animation/animation_events.h" 14 #include "cc/animation/animation_events.h"
15 #include "cc/animation/animation_registrar.h" 15 #include "cc/animation/animation_registrar.h"
16 #include "cc/base/cc_export.h" 16 #include "cc/base/cc_export.h"
17 #include "cc/debug/latency_info.h"
17 #include "cc/input/input_handler.h" 18 #include "cc/input/input_handler.h"
18 #include "cc/input/top_controls_manager_client.h" 19 #include "cc/input/top_controls_manager_client.h"
19 #include "cc/layers/layer_lists.h" 20 #include "cc/layers/layer_lists.h"
20 #include "cc/layers/render_pass_sink.h" 21 #include "cc/layers/render_pass_sink.h"
21 #include "cc/output/output_surface_client.h" 22 #include "cc/output/output_surface_client.h"
22 #include "cc/output/renderer.h" 23 #include "cc/output/renderer.h"
23 #include "cc/quads/render_pass.h" 24 #include "cc/quads/render_pass.h"
24 #include "cc/resources/tile_manager.h" 25 #include "cc/resources/tile_manager.h"
25 #include "skia/ext/refptr.h" 26 #include "skia/ext/refptr.h"
26 #include "third_party/skia/include/core/SkColor.h" 27 #include "third_party/skia/include/core/SkColor.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 virtual ~FrameData(); 125 virtual ~FrameData();
125 126
126 std::vector<gfx::Rect> occluding_screen_space_rects; 127 std::vector<gfx::Rect> occluding_screen_space_rects;
127 std::vector<gfx::Rect> non_occluding_screen_space_rects; 128 std::vector<gfx::Rect> non_occluding_screen_space_rects;
128 RenderPassList render_passes; 129 RenderPassList render_passes;
129 RenderPassIdHashMap render_passes_by_id; 130 RenderPassIdHashMap render_passes_by_id;
130 const LayerImplList* render_surface_layer_list; 131 const LayerImplList* render_surface_layer_list;
131 LayerImplList will_draw_layers; 132 LayerImplList will_draw_layers;
132 bool contains_incomplete_tile; 133 bool contains_incomplete_tile;
133 bool has_no_damage; 134 bool has_no_damage;
135 LatencyInfo latency_info;
134 136
135 // RenderPassSink implementation. 137 // RenderPassSink implementation.
136 virtual void AppendRenderPass(scoped_ptr<RenderPass> render_pass) OVERRIDE; 138 virtual void AppendRenderPass(scoped_ptr<RenderPass> render_pass) OVERRIDE;
137 }; 139 };
138 140
139 virtual void BeginCommit(); 141 virtual void BeginCommit();
140 virtual void CommitComplete(); 142 virtual void CommitComplete();
141 virtual void Animate(base::TimeTicks monotonic_time, 143 virtual void Animate(base::TimeTicks monotonic_time,
142 base::Time wall_clock_time); 144 base::Time wall_clock_time);
143 virtual void UpdateAnimationState(bool start_ready_animations); 145 virtual void UpdateAnimationState(bool start_ready_animations);
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 scoped_ptr<AnimationRegistrar> animation_registrar_; 471 scoped_ptr<AnimationRegistrar> animation_registrar_;
470 472
471 RenderingStatsInstrumentation* rendering_stats_instrumentation_; 473 RenderingStatsInstrumentation* rendering_stats_instrumentation_;
472 474
473 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 475 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
474 }; 476 };
475 477
476 } // namespace cc 478 } // namespace cc
477 479
478 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 480 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698