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

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

Issue 228183002: cc: Move ResourcePool ownership to LTHI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « cc/test/fake_tile_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 <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 class FrameRateCounter; 43 class FrameRateCounter;
44 class LayerImpl; 44 class LayerImpl;
45 class LayerTreeHostImplTimeSourceAdapter; 45 class LayerTreeHostImplTimeSourceAdapter;
46 class LayerTreeImpl; 46 class LayerTreeImpl;
47 class MemoryHistory; 47 class MemoryHistory;
48 class PageScaleAnimation; 48 class PageScaleAnimation;
49 class PaintTimeCounter; 49 class PaintTimeCounter;
50 class RasterWorkerPool; 50 class RasterWorkerPool;
51 class RenderPassDrawQuad; 51 class RenderPassDrawQuad;
52 class RenderingStatsInstrumentation; 52 class RenderingStatsInstrumentation;
53 class ResourcePool;
53 class ScrollbarLayerImplBase; 54 class ScrollbarLayerImplBase;
54 class TextureMailboxDeleter; 55 class TextureMailboxDeleter;
55 class TopControlsManager; 56 class TopControlsManager;
56 class UIResourceBitmap; 57 class UIResourceBitmap;
57 class UIResourceRequest; 58 class UIResourceRequest;
58 struct RendererCapabilitiesImpl; 59 struct RendererCapabilitiesImpl;
59 60
60 // LayerTreeHost->Proxy callback interface. 61 // LayerTreeHost->Proxy callback interface.
61 class LayerTreeHostImplClient { 62 class LayerTreeHostImplClient {
62 public: 63 public:
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 534
534 scoped_ptr<OutputSurface> output_surface_; 535 scoped_ptr<OutputSurface> output_surface_;
535 scoped_refptr<ContextProvider> offscreen_context_provider_; 536 scoped_refptr<ContextProvider> offscreen_context_provider_;
536 537
537 // |resource_provider_| and |tile_manager_| can be NULL, e.g. when using tile- 538 // |resource_provider_| and |tile_manager_| can be NULL, e.g. when using tile-
538 // free rendering - see OutputSurface::ForcedDrawToSoftwareDevice(). 539 // free rendering - see OutputSurface::ForcedDrawToSoftwareDevice().
539 scoped_ptr<ResourceProvider> resource_provider_; 540 scoped_ptr<ResourceProvider> resource_provider_;
540 scoped_ptr<TileManager> tile_manager_; 541 scoped_ptr<TileManager> tile_manager_;
541 scoped_ptr<RasterWorkerPool> raster_worker_pool_; 542 scoped_ptr<RasterWorkerPool> raster_worker_pool_;
542 scoped_ptr<RasterWorkerPool> direct_raster_worker_pool_; 543 scoped_ptr<RasterWorkerPool> direct_raster_worker_pool_;
544 scoped_ptr<ResourcePool> resource_pool_;
543 scoped_ptr<Renderer> renderer_; 545 scoped_ptr<Renderer> renderer_;
544 546
545 GlobalStateThatImpactsTilePriority global_tile_state_; 547 GlobalStateThatImpactsTilePriority global_tile_state_;
546 548
547 // Tree currently being drawn. 549 // Tree currently being drawn.
548 scoped_ptr<LayerTreeImpl> active_tree_; 550 scoped_ptr<LayerTreeImpl> active_tree_;
549 551
550 // In impl-side painting mode, tree with possibly incomplete rasterized 552 // In impl-side painting mode, tree with possibly incomplete rasterized
551 // content. May be promoted to active by ActivatePendingTree(). 553 // content. May be promoted to active by ActivatePendingTree().
552 scoped_ptr<LayerTreeImpl> pending_tree_; 554 scoped_ptr<LayerTreeImpl> pending_tree_;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 int id_; 657 int id_;
656 658
657 std::set<SwapPromiseMonitor*> swap_promise_monitor_; 659 std::set<SwapPromiseMonitor*> swap_promise_monitor_;
658 660
659 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); 661 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
660 }; 662 };
661 663
662 } // namespace cc 664 } // namespace cc
663 665
664 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ 666 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « cc/test/fake_tile_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