| OLD | NEW |
| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <bitset> | 10 #include <bitset> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 #include "cc/output/context_cache_controller.h" | 29 #include "cc/output/context_cache_controller.h" |
| 30 #include "cc/output/managed_memory_policy.h" | 30 #include "cc/output/managed_memory_policy.h" |
| 31 #include "cc/quads/render_pass.h" | 31 #include "cc/quads/render_pass.h" |
| 32 #include "cc/resources/resource_provider.h" | 32 #include "cc/resources/resource_provider.h" |
| 33 #include "cc/resources/ui_resource_client.h" | 33 #include "cc/resources/ui_resource_client.h" |
| 34 #include "cc/scheduler/begin_frame_tracker.h" | 34 #include "cc/scheduler/begin_frame_tracker.h" |
| 35 #include "cc/scheduler/commit_earlyout_reason.h" | 35 #include "cc/scheduler/commit_earlyout_reason.h" |
| 36 #include "cc/scheduler/draw_result.h" | 36 #include "cc/scheduler/draw_result.h" |
| 37 #include "cc/scheduler/video_frame_controller.h" | 37 #include "cc/scheduler/video_frame_controller.h" |
| 38 #include "cc/surfaces/local_surface_id.h" | 38 #include "cc/surfaces/local_surface_id.h" |
| 39 #include "cc/surfaces/surface_id.h" |
| 39 #include "cc/tiles/decoded_image_tracker.h" | 40 #include "cc/tiles/decoded_image_tracker.h" |
| 40 #include "cc/tiles/image_decode_cache.h" | 41 #include "cc/tiles/image_decode_cache.h" |
| 41 #include "cc/tiles/tile_manager.h" | 42 #include "cc/tiles/tile_manager.h" |
| 42 #include "cc/trees/layer_tree_mutator.h" | 43 #include "cc/trees/layer_tree_mutator.h" |
| 43 #include "cc/trees/layer_tree_settings.h" | 44 #include "cc/trees/layer_tree_settings.h" |
| 44 #include "cc/trees/mutator_host_client.h" | 45 #include "cc/trees/mutator_host_client.h" |
| 45 #include "cc/trees/task_runner_provider.h" | 46 #include "cc/trees/task_runner_provider.h" |
| 46 #include "ui/gfx/geometry/rect.h" | 47 #include "ui/gfx/geometry/rect.h" |
| 47 | 48 |
| 48 namespace gfx { | 49 namespace gfx { |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 216 |
| 216 void set_resourceless_software_draw_for_testing() { | 217 void set_resourceless_software_draw_for_testing() { |
| 217 resourceless_software_draw_ = true; | 218 resourceless_software_draw_ = true; |
| 218 } | 219 } |
| 219 | 220 |
| 220 struct CC_EXPORT FrameData { | 221 struct CC_EXPORT FrameData { |
| 221 FrameData(); | 222 FrameData(); |
| 222 ~FrameData(); | 223 ~FrameData(); |
| 223 void AsValueInto(base::trace_event::TracedValue* value) const; | 224 void AsValueInto(base::trace_event::TracedValue* value) const; |
| 224 | 225 |
| 226 std::vector<SurfaceId> embedded_surfaces; |
| 225 std::vector<gfx::Rect> occluding_screen_space_rects; | 227 std::vector<gfx::Rect> occluding_screen_space_rects; |
| 226 std::vector<gfx::Rect> non_occluding_screen_space_rects; | 228 std::vector<gfx::Rect> non_occluding_screen_space_rects; |
| 227 RenderPassList render_passes; | 229 RenderPassList render_passes; |
| 228 const LayerImplList* render_surface_layer_list; | 230 const LayerImplList* render_surface_layer_list; |
| 229 LayerImplList will_draw_layers; | 231 LayerImplList will_draw_layers; |
| 230 bool has_no_damage; | 232 bool has_no_damage; |
| 231 bool may_contain_video; | 233 bool may_contain_video; |
| 232 BeginFrameAck begin_frame_ack; | 234 BeginFrameAck begin_frame_ack; |
| 233 | 235 |
| 234 private: | 236 private: |
| (...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 869 bool has_scrolled_by_touch_; | 871 bool has_scrolled_by_touch_; |
| 870 | 872 |
| 871 bool touchpad_and_wheel_scroll_latching_enabled_; | 873 bool touchpad_and_wheel_scroll_latching_enabled_; |
| 872 | 874 |
| 873 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 875 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 874 }; | 876 }; |
| 875 | 877 |
| 876 } // namespace cc | 878 } // namespace cc |
| 877 | 879 |
| 878 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 880 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |