| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_RESOURCES_RASTER_TILE_PRIORITY_QUEUE_ALL_H_ | 5 #ifndef CC_RESOURCES_RASTER_TILE_PRIORITY_QUEUE_ALL_H_ |
| 6 #define CC_RESOURCES_RASTER_TILE_PRIORITY_QUEUE_ALL_H_ | 6 #define CC_RESOURCES_RASTER_TILE_PRIORITY_QUEUE_ALL_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 TreePriority tree_priority); | 26 TreePriority tree_priority); |
| 27 ~PairedTilingSetQueue(); | 27 ~PairedTilingSetQueue(); |
| 28 | 28 |
| 29 bool IsEmpty() const; | 29 bool IsEmpty() const; |
| 30 Tile* Top(TreePriority tree_priority); | 30 Tile* Top(TreePriority tree_priority); |
| 31 void Pop(TreePriority tree_priority); | 31 void Pop(TreePriority tree_priority); |
| 32 | 32 |
| 33 WhichTree NextTileIteratorTree(TreePriority tree_priority) const; | 33 WhichTree NextTileIteratorTree(TreePriority tree_priority) const; |
| 34 void SkipTilesReturnedByTwin(TreePriority tree_priority); | 34 void SkipTilesReturnedByTwin(TreePriority tree_priority); |
| 35 | 35 |
| 36 scoped_refptr<base::debug::ConvertableToTraceFormat> StateAsValue() const; | 36 scoped_refptr<base::trace_event::ConvertableToTraceFormat> StateAsValue() |
| 37 const; |
| 37 | 38 |
| 38 const TilingSetRasterQueueAll* active_queue() const { | 39 const TilingSetRasterQueueAll* active_queue() const { |
| 39 return active_queue_.get(); | 40 return active_queue_.get(); |
| 40 } | 41 } |
| 41 const TilingSetRasterQueueAll* pending_queue() const { | 42 const TilingSetRasterQueueAll* pending_queue() const { |
| 42 return pending_queue_.get(); | 43 return pending_queue_.get(); |
| 43 } | 44 } |
| 44 | 45 |
| 45 private: | 46 private: |
| 46 scoped_ptr<TilingSetRasterQueueAll> active_queue_; | 47 scoped_ptr<TilingSetRasterQueueAll> active_queue_; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 69 // objects directly (ie std::vector<PairedTilingSetQueue>. | 70 // objects directly (ie std::vector<PairedTilingSetQueue>. |
| 70 ScopedPtrVector<PairedTilingSetQueue> paired_queues_; | 71 ScopedPtrVector<PairedTilingSetQueue> paired_queues_; |
| 71 TreePriority tree_priority_; | 72 TreePriority tree_priority_; |
| 72 | 73 |
| 73 DISALLOW_COPY_AND_ASSIGN(RasterTilePriorityQueueAll); | 74 DISALLOW_COPY_AND_ASSIGN(RasterTilePriorityQueueAll); |
| 74 }; | 75 }; |
| 75 | 76 |
| 76 } // namespace cc | 77 } // namespace cc |
| 77 | 78 |
| 78 #endif // CC_RESOURCES_RASTER_TILE_PRIORITY_QUEUE_ALL_H_ | 79 #endif // CC_RESOURCES_RASTER_TILE_PRIORITY_QUEUE_ALL_H_ |
| OLD | NEW |