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

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

Issue 2267263002: cc: Delete all the RendererCapabilities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-prepare-mailbox-param
Patch Set: renderer-caps: rebase Created 4 years, 3 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/channel_impl.h ('k') | cc/trees/layer_tree_host.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_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_
6 #define CC_TREES_LAYER_TREE_HOST_H_ 6 #define CC_TREES_LAYER_TREE_HOST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 16 matching lines...) Expand all
27 #include "cc/debug/micro_benchmark.h" 27 #include "cc/debug/micro_benchmark.h"
28 #include "cc/debug/micro_benchmark_controller.h" 28 #include "cc/debug/micro_benchmark_controller.h"
29 #include "cc/input/event_listener_properties.h" 29 #include "cc/input/event_listener_properties.h"
30 #include "cc/input/input_handler.h" 30 #include "cc/input/input_handler.h"
31 #include "cc/input/layer_selection_bound.h" 31 #include "cc/input/layer_selection_bound.h"
32 #include "cc/input/scrollbar.h" 32 #include "cc/input/scrollbar.h"
33 #include "cc/input/top_controls_state.h" 33 #include "cc/input/top_controls_state.h"
34 #include "cc/layers/layer_collections.h" 34 #include "cc/layers/layer_collections.h"
35 #include "cc/layers/layer_list_iterator.h" 35 #include "cc/layers/layer_list_iterator.h"
36 #include "cc/output/output_surface.h" 36 #include "cc/output/output_surface.h"
37 #include "cc/output/renderer_capabilities.h"
38 #include "cc/output/swap_promise.h" 37 #include "cc/output/swap_promise.h"
39 #include "cc/resources/resource_format.h" 38 #include "cc/resources/resource_format.h"
40 #include "cc/resources/scoped_ui_resource.h" 39 #include "cc/resources/scoped_ui_resource.h"
41 #include "cc/surfaces/surface_sequence.h" 40 #include "cc/surfaces/surface_sequence.h"
42 #include "cc/trees/compositor_mode.h" 41 #include "cc/trees/compositor_mode.h"
43 #include "cc/trees/layer_tree.h" 42 #include "cc/trees/layer_tree.h"
44 #include "cc/trees/layer_tree_host_client.h" 43 #include "cc/trees/layer_tree_host_client.h"
45 #include "cc/trees/layer_tree_settings.h" 44 #include "cc/trees/layer_tree_settings.h"
46 #include "cc/trees/proxy.h" 45 #include "cc/trees/proxy.h"
47 #include "cc/trees/swap_promise_monitor.h" 46 #include "cc/trees/swap_promise_monitor.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 bool gpu_rasterization_histogram_recorded() const { 169 bool gpu_rasterization_histogram_recorded() const {
171 return gpu_rasterization_histogram_recorded_; 170 return gpu_rasterization_histogram_recorded_;
172 } 171 }
173 172
174 void CollectRenderingStats(RenderingStats* stats) const; 173 void CollectRenderingStats(RenderingStats* stats) const;
175 174
176 RenderingStatsInstrumentation* rendering_stats_instrumentation() const { 175 RenderingStatsInstrumentation* rendering_stats_instrumentation() const {
177 return rendering_stats_instrumentation_.get(); 176 return rendering_stats_instrumentation_.get();
178 } 177 }
179 178
180 virtual const RendererCapabilities& GetRendererCapabilities() const;
181
182 void SetNeedsAnimate(); 179 void SetNeedsAnimate();
183 virtual void SetNeedsUpdateLayers(); 180 virtual void SetNeedsUpdateLayers();
184 virtual void SetNeedsCommit(); 181 virtual void SetNeedsCommit();
185 void SetNeedsRedraw(); 182 void SetNeedsRedraw();
186 void SetNeedsRedrawRect(const gfx::Rect& damage_rect); 183 void SetNeedsRedrawRect(const gfx::Rect& damage_rect);
187 bool CommitRequested() const; 184 bool CommitRequested() const;
188 bool BeginMainFrameRequested() const; 185 bool BeginMainFrameRequested() const;
189 186
190 void SetNextCommitWaitsForActivation(); 187 void SetNextCommitWaitsForActivation();
191 188
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 uint32_t surface_client_id_; 439 uint32_t surface_client_id_;
443 uint32_t next_surface_sequence_; 440 uint32_t next_surface_sequence_;
444 uint32_t num_consecutive_frames_suitable_for_gpu_ = 0; 441 uint32_t num_consecutive_frames_suitable_for_gpu_ = 0;
445 442
446 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 443 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
447 }; 444 };
448 445
449 } // namespace cc 446 } // namespace cc
450 447
451 #endif // CC_TREES_LAYER_TREE_HOST_H_ 448 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/trees/channel_impl.h ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698