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

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: Created 5 years, 1 month 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
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 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 scoped_ptr<AnimationHost> animation_host_; 799 scoped_ptr<AnimationHost> animation_host_;
799 std::set<VideoFrameController*> video_frame_controllers_; 800 std::set<VideoFrameController*> video_frame_controllers_;
800 801
801 // Map from scroll layer ID to scrollbar animation controller. 802 // Map from scroll layer ID to scrollbar animation controller.
802 // There is one animation controller per pair of overlay scrollbars. 803 // There is one animation controller per pair of overlay scrollbars.
803 base::ScopedPtrHashMap<int, scoped_ptr<ScrollbarAnimationController>> 804 base::ScopedPtrHashMap<int, scoped_ptr<ScrollbarAnimationController>>
804 scrollbar_animation_controllers_; 805 scrollbar_animation_controllers_;
805 806
806 RenderingStatsInstrumentation* rendering_stats_instrumentation_; 807 RenderingStatsInstrumentation* rendering_stats_instrumentation_;
807 MicroBenchmarkControllerImpl micro_benchmark_controller_; 808 MicroBenchmarkControllerImpl micro_benchmark_controller_;
808 scoped_ptr<TaskGraphRunner> single_thread_synchronous_task_graph_runner_; 809 scoped_ptr<SynchronousTaskGraphRunner>
810 single_thread_synchronous_task_graph_runner_;
809 811
810 // Optional callback to notify of new tree activations. 812 // Optional callback to notify of new tree activations.
811 base::Closure tree_activation_callback_; 813 base::Closure tree_activation_callback_;
812 814
813 SharedBitmapManager* shared_bitmap_manager_; 815 SharedBitmapManager* shared_bitmap_manager_;
814 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_; 816 gpu::GpuMemoryBufferManager* gpu_memory_buffer_manager_;
815 TaskGraphRunner* task_graph_runner_; 817 TaskGraphRunner* task_graph_runner_;
816 int id_; 818 int id_;
817 819
818 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 820 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
819 821
820 bool requires_high_res_to_draw_; 822 bool requires_high_res_to_draw_;
821 bool is_likely_to_require_a_draw_; 823 bool is_likely_to_require_a_draw_;
822 824
823 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; 825 scoped_ptr<FrameTimingTracker> frame_timing_tracker_;
824 826
825 scoped_ptr<Viewport> viewport_; 827 scoped_ptr<Viewport> viewport_;
826 828
827 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 829 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
828 }; 830 };
829 831
830 } // namespace cc 832 } // namespace cc
831 833
832 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 834 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698