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

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

Issue 1449133002: TaskGraphRunner refactor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 5 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/test/test_task_graph_runner.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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 class PictureLayerImpl; 62 class PictureLayerImpl;
63 class RasterTilePriorityQueue; 63 class RasterTilePriorityQueue;
64 class TileTaskWorkerPool; 64 class TileTaskWorkerPool;
65 class RenderPassDrawQuad; 65 class RenderPassDrawQuad;
66 class RenderingStatsInstrumentation; 66 class RenderingStatsInstrumentation;
67 class ResourcePool; 67 class ResourcePool;
68 class ScrollElasticityHelper; 68 class ScrollElasticityHelper;
69 class ScrollbarLayerImplBase; 69 class ScrollbarLayerImplBase;
70 class SwapPromise; 70 class SwapPromise;
71 class SwapPromiseMonitor; 71 class SwapPromiseMonitor;
72 class SynchronousTaskGraphRunner;
72 class TextureMailboxDeleter; 73 class TextureMailboxDeleter;
73 class TopControlsManager; 74 class TopControlsManager;
74 class UIResourceBitmap; 75 class UIResourceBitmap;
75 class UIResourceRequest; 76 class UIResourceRequest;
76 struct ScrollAndScaleSet; 77 struct ScrollAndScaleSet;
77 class Viewport; 78 class Viewport;
78 79
79 enum class GpuRasterizationStatus { 80 enum class GpuRasterizationStatus {
80 ON, 81 ON,
81 ON_FORCED, 82 ON_FORCED,
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 scoped_ptr<AnimationHost> animation_host_; 804 scoped_ptr<AnimationHost> animation_host_;
804 std::set<VideoFrameController*> video_frame_controllers_; 805 std::set<VideoFrameController*> video_frame_controllers_;
805 806
806 // Map from scroll layer ID to scrollbar animation controller. 807 // Map from scroll layer ID to scrollbar animation controller.
807 // There is one animation controller per pair of overlay scrollbars. 808 // There is one animation controller per pair of overlay scrollbars.
808 base::ScopedPtrHashMap<int, scoped_ptr<ScrollbarAnimationController>> 809 base::ScopedPtrHashMap<int, scoped_ptr<ScrollbarAnimationController>>
809 scrollbar_animation_controllers_; 810 scrollbar_animation_controllers_;
810 811
811 RenderingStatsInstrumentation* rendering_stats_instrumentation_; 812 RenderingStatsInstrumentation* rendering_stats_instrumentation_;
812 MicroBenchmarkControllerImpl micro_benchmark_controller_; 813 MicroBenchmarkControllerImpl micro_benchmark_controller_;
813 scoped_ptr<TaskGraphRunner> single_thread_synchronous_task_graph_runner_; 814 scoped_ptr<SynchronousTaskGraphRunner>
815 single_thread_synchronous_task_graph_runner_;
814 816
815 // Optional callback to notify of new tree activations. 817 // Optional callback to notify of new tree activations.
816 base::Closure tree_activation_callback_; 818 base::Closure tree_activation_callback_;
817 819
818 SharedBitmapManager* shared_bitmap_manager_; 820 SharedBitmapManager* shared_bitmap_manager_;
819 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; 821 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_;
820 TaskGraphRunner* task_graph_runner_; 822 TaskGraphRunner* task_graph_runner_;
821 int id_; 823 int id_;
822 824
823 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 825 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
824 826
825 bool requires_high_res_to_draw_; 827 bool requires_high_res_to_draw_;
826 bool is_likely_to_require_a_draw_; 828 bool is_likely_to_require_a_draw_;
827 829
828 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; 830 scoped_ptr<FrameTimingTracker> frame_timing_tracker_;
829 831
830 scoped_ptr<Viewport> viewport_; 832 scoped_ptr<Viewport> viewport_;
831 833
832 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 834 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
833 }; 835 };
834 836
835 } // namespace cc 837 } // namespace cc
836 838
837 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 839 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/test/test_task_graph_runner.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698