Chromium Code Reviews| 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 234 // for draw properties, tilings, quads and render passes. | 234 // for draw properties, tilings, quads and render passes. |
| 235 gfx::Size DrawViewportSize() const; | 235 gfx::Size DrawViewportSize() const; |
| 236 | 236 |
| 237 // Viewport rect in view space used for tiling prioritization. | 237 // Viewport rect in view space used for tiling prioritization. |
| 238 const gfx::Rect ViewportRectForTilePriority() const; | 238 const gfx::Rect ViewportRectForTilePriority() const; |
| 239 | 239 |
| 240 // RendererClient implementation. | 240 // RendererClient implementation. |
| 241 void SetFullRootLayerDamage() override; | 241 void SetFullRootLayerDamage() override; |
| 242 | 242 |
| 243 // TileManagerClient implementation. | 243 // TileManagerClient implementation. |
| 244 const std::vector<PictureLayerImpl*>& GetPictureLayers() const override; | |
| 245 void NotifyReadyToActivate() override; | 244 void NotifyReadyToActivate() override; |
| 246 void NotifyReadyToDraw() override; | 245 void NotifyReadyToDraw() override; |
| 247 void NotifyTileStateChanged(const Tile* tile) override; | 246 void NotifyTileStateChanged(const Tile* tile) override; |
| 248 scoped_ptr<RasterTilePriorityQueue> BuildRasterQueue( | 247 scoped_ptr<RasterTilePriorityQueue> BuildRasterQueue( |
| 249 TreePriority tree_priority, | 248 TreePriority tree_priority, |
| 250 RasterTilePriorityQueue::Type type) override; | 249 RasterTilePriorityQueue::Type type) override; |
| 251 scoped_ptr<EvictionTilePriorityQueue> BuildEvictionQueue( | 250 scoped_ptr<EvictionTilePriorityQueue> BuildEvictionQueue( |
| 252 TreePriority tree_priority) override; | 251 TreePriority tree_priority) override; |
| 253 | 252 |
| 253 // Returns existing picture layers. | |
|
danakj
2015/01/28 00:48:19
is this TODO:remove, or do you mean for this to st
vmpstr
2015/01/28 19:51:17
Added a TODO.
| |
| 254 const std::vector<PictureLayerImpl*>& GetPictureLayers() const; | |
| 255 | |
| 254 // ScrollbarAnimationControllerClient implementation. | 256 // ScrollbarAnimationControllerClient implementation. |
| 255 void PostDelayedScrollbarFade(const base::Closure& start_fade, | 257 void PostDelayedScrollbarFade(const base::Closure& start_fade, |
| 256 base::TimeDelta delay) override; | 258 base::TimeDelta delay) override; |
| 257 void SetNeedsScrollbarAnimationFrame() override; | 259 void SetNeedsScrollbarAnimationFrame() override; |
| 258 | 260 |
| 259 // OutputSurfaceClient implementation. | 261 // OutputSurfaceClient implementation. |
| 260 void DeferredInitialize() override; | 262 void DeferredInitialize() override; |
| 261 void ReleaseGL() override; | 263 void ReleaseGL() override; |
| 262 void CommitVSyncParameters(base::TimeTicks timebase, | 264 void CommitVSyncParameters(base::TimeTicks timebase, |
| 263 base::TimeDelta interval) override; | 265 base::TimeDelta interval) override; |
| (...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 726 | 728 |
| 727 bool requires_high_res_to_draw_; | 729 bool requires_high_res_to_draw_; |
| 728 bool required_for_draw_tile_is_top_of_raster_queue_; | 730 bool required_for_draw_tile_is_top_of_raster_queue_; |
| 729 | 731 |
| 730 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 732 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| 731 }; | 733 }; |
| 732 | 734 |
| 733 } // namespace cc | 735 } // namespace cc |
| 734 | 736 |
| 735 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 737 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
| OLD | NEW |