Chromium Code Reviews

Side by Side Diff: cc/resources/raster_tile_priority_queue_all.h

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « cc/resources/raster_source.h ('k') | cc/resources/raster_tile_priority_queue_all.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 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...)
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...)
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_
OLDNEW
« no previous file with comments | « cc/resources/raster_source.h ('k') | cc/resources/raster_tile_priority_queue_all.cc » ('j') | no next file with comments »

Powered by Google App Engine