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

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

Issue 1144693002: cc: Move files out of cc/resources/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resources: android Created 5 years, 7 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CC_RESOURCES_RASTER_TILE_PRIORITY_QUEUE_ALL_H_
6 #define CC_RESOURCES_RASTER_TILE_PRIORITY_QUEUE_ALL_H_
7
8 #include <set>
9 #include <utility>
10 #include <vector>
11
12 #include "cc/base/cc_export.h"
13 #include "cc/layers/picture_layer_impl.h"
14 #include "cc/resources/raster_tile_priority_queue.h"
15 #include "cc/resources/tile_priority.h"
16 #include "cc/resources/tiling_set_raster_queue_all.h"
17
18 namespace cc {
19
20 class CC_EXPORT RasterTilePriorityQueueAll : public RasterTilePriorityQueue {
21 public:
22 RasterTilePriorityQueueAll();
23 ~RasterTilePriorityQueueAll() override;
24
25 bool IsEmpty() const override;
26 const PrioritizedTile& Top() const override;
27 void Pop() override;
28
29 private:
30 friend class RasterTilePriorityQueue;
31
32 void Build(const std::vector<PictureLayerImpl*>& active_layers,
33 const std::vector<PictureLayerImpl*>& pending_layers,
34 TreePriority tree_priority);
35
36 ScopedPtrVector<TilingSetRasterQueueAll>& GetNextQueues();
37 const ScopedPtrVector<TilingSetRasterQueueAll>& GetNextQueues() const;
38
39 ScopedPtrVector<TilingSetRasterQueueAll> active_queues_;
40 ScopedPtrVector<TilingSetRasterQueueAll> pending_queues_;
41 TreePriority tree_priority_;
42
43 DISALLOW_COPY_AND_ASSIGN(RasterTilePriorityQueueAll);
44 };
45
46 } // namespace cc
47
48 #endif // CC_RESOURCES_RASTER_TILE_PRIORITY_QUEUE_ALL_H_
OLDNEW
« no previous file with comments | « cc/resources/raster_tile_priority_queue.cc ('k') | cc/resources/raster_tile_priority_queue_all.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698