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

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

Issue 816543004: Update from https://crrev.com/308996 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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_common_unittest.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 <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 14 matching lines...) Expand all
25 #include "cc/input/top_controls_manager_client.h" 25 #include "cc/input/top_controls_manager_client.h"
26 #include "cc/layers/layer_lists.h" 26 #include "cc/layers/layer_lists.h"
27 #include "cc/layers/render_pass_sink.h" 27 #include "cc/layers/render_pass_sink.h"
28 #include "cc/output/begin_frame_args.h" 28 #include "cc/output/begin_frame_args.h"
29 #include "cc/output/managed_memory_policy.h" 29 #include "cc/output/managed_memory_policy.h"
30 #include "cc/output/output_surface_client.h" 30 #include "cc/output/output_surface_client.h"
31 #include "cc/output/renderer.h" 31 #include "cc/output/renderer.h"
32 #include "cc/quads/render_pass.h" 32 #include "cc/quads/render_pass.h"
33 #include "cc/resources/resource_provider.h" 33 #include "cc/resources/resource_provider.h"
34 #include "cc/resources/tile_manager.h" 34 #include "cc/resources/tile_manager.h"
35 #include "cc/scheduler/commit_earlyout_reason.h"
35 #include "cc/scheduler/draw_result.h" 36 #include "cc/scheduler/draw_result.h"
36 #include "skia/ext/refptr.h" 37 #include "skia/ext/refptr.h"
37 #include "third_party/skia/include/core/SkColor.h" 38 #include "third_party/skia/include/core/SkColor.h"
38 #include "ui/gfx/geometry/rect.h" 39 #include "ui/gfx/geometry/rect.h"
39 40
40 namespace cc { 41 namespace cc {
41 42
42 class CompletionEvent; 43 class CompletionEvent;
43 class CompositorFrameMetadata; 44 class CompositorFrameMetadata;
44 class DebugRectHistory; 45 class DebugRectHistory;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 RenderPassList render_passes; 184 RenderPassList render_passes;
184 RenderPassIdHashMap render_passes_by_id; 185 RenderPassIdHashMap render_passes_by_id;
185 const LayerImplList* render_surface_layer_list; 186 const LayerImplList* render_surface_layer_list;
186 LayerImplList will_draw_layers; 187 LayerImplList will_draw_layers;
187 bool has_no_damage; 188 bool has_no_damage;
188 189
189 // RenderPassSink implementation. 190 // RenderPassSink implementation.
190 void AppendRenderPass(scoped_ptr<RenderPass> render_pass) override; 191 void AppendRenderPass(scoped_ptr<RenderPass> render_pass) override;
191 }; 192 };
192 193
193 virtual void BeginMainFrameAborted(bool did_handle); 194 virtual void BeginMainFrameAborted(CommitEarlyOutReason reason);
194 virtual void BeginCommit(); 195 virtual void BeginCommit();
195 virtual void CommitComplete(); 196 virtual void CommitComplete();
196 virtual void Animate(base::TimeTicks monotonic_time); 197 virtual void Animate(base::TimeTicks monotonic_time);
197 virtual void UpdateAnimationState(bool start_ready_animations); 198 virtual void UpdateAnimationState(bool start_ready_animations);
198 void ActivateAnimations(); 199 void ActivateAnimations();
199 void MainThreadHasStoppedFlinging(); 200 void MainThreadHasStoppedFlinging();
200 void DidAnimateScrollOffset(); 201 void DidAnimateScrollOffset();
201 void SetViewportDamage(const gfx::Rect& damage_rect); 202 void SetViewportDamage(const gfx::Rect& damage_rect);
202 203
203 virtual void PrepareTiles(); 204 virtual void PrepareTiles();
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 727
727 bool requires_high_res_to_draw_; 728 bool requires_high_res_to_draw_;
728 bool required_for_draw_tile_is_top_of_raster_queue_; 729 bool required_for_draw_tile_is_top_of_raster_queue_;
729 730
730 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 731 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
731 }; 732 };
732 733
733 } // namespace cc 734 } // namespace cc
734 735
735 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 736 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_common_unittest.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698