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

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

Issue 2101043002: Reland of cc: Add mailbox support to ResourceProvider write locks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@worker_context_sync_tokens_revert
Patch Set: Created 4 years, 5 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/tiles/tile_task_manager.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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <bitset> 10 #include <bitset>
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 731
732 OutputSurface* output_surface_; 732 OutputSurface* output_surface_;
733 733
734 std::unique_ptr<ResourceProvider> resource_provider_; 734 std::unique_ptr<ResourceProvider> resource_provider_;
735 bool content_is_suitable_for_gpu_rasterization_; 735 bool content_is_suitable_for_gpu_rasterization_;
736 bool has_gpu_rasterization_trigger_; 736 bool has_gpu_rasterization_trigger_;
737 bool use_gpu_rasterization_; 737 bool use_gpu_rasterization_;
738 bool use_msaa_; 738 bool use_msaa_;
739 GpuRasterizationStatus gpu_rasterization_status_; 739 GpuRasterizationStatus gpu_rasterization_status_;
740 bool tree_resources_for_gpu_rasterization_dirty_; 740 bool tree_resources_for_gpu_rasterization_dirty_;
741 std::unique_ptr<RasterBufferProvider> raster_buffer_provider_;
741 std::unique_ptr<TileTaskManager> tile_task_manager_; 742 std::unique_ptr<TileTaskManager> tile_task_manager_;
742 std::unique_ptr<ResourcePool> resource_pool_; 743 std::unique_ptr<ResourcePool> resource_pool_;
743 std::unique_ptr<Renderer> renderer_; 744 std::unique_ptr<Renderer> renderer_;
744 std::unique_ptr<ImageDecodeController> image_decode_controller_; 745 std::unique_ptr<ImageDecodeController> image_decode_controller_;
745 746
746 GlobalStateThatImpactsTilePriority global_tile_state_; 747 GlobalStateThatImpactsTilePriority global_tile_state_;
747 748
748 // Tree currently being drawn. 749 // Tree currently being drawn.
749 std::unique_ptr<LayerTreeImpl> active_tree_; 750 std::unique_ptr<LayerTreeImpl> active_tree_;
750 751
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 851
851 std::unique_ptr<PendingTreeDurationHistogramTimer> 852 std::unique_ptr<PendingTreeDurationHistogramTimer>
852 pending_tree_duration_timer_; 853 pending_tree_duration_timer_;
853 854
854 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 855 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
855 }; 856 };
856 857
857 } // namespace cc 858 } // namespace cc
858 859
859 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 860 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/tiles/tile_task_manager.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698