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

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

Issue 863013004: cc: Split RasterTilePriorityQueue into required and all based on type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 5 years, 11 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
« no previous file with comments | « cc/resources/tile_manager_unittest.cc ('k') | cc/test/fake_tile_manager_client.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_TILING_SET_RASTER_QUEUE_H_ 5 #ifndef CC_RESOURCES_TILING_SET_RASTER_QUEUE_H_
6 #define CC_RESOURCES_TILING_SET_RASTER_QUEUE_H_ 6 #define CC_RESOURCES_TILING_SET_RASTER_QUEUE_H_
7 7
8 namespace cc { 8 namespace cc {
9 class Tile; 9 class Tile;
10 10
11 // TODO(vmpstr): Remove this, since RasterTilePriorityQueue knows the type
12 // directly.
11 class TilingSetRasterQueue { 13 class TilingSetRasterQueue {
12 public: 14 public:
13 virtual ~TilingSetRasterQueue() {} 15 virtual ~TilingSetRasterQueue() {}
14 16
15 virtual Tile* Top() = 0; 17 virtual Tile* Top() = 0;
16 virtual const Tile* Top() const = 0; 18 virtual const Tile* Top() const = 0;
17 virtual void Pop() = 0; 19 virtual void Pop() = 0;
18 virtual bool IsEmpty() const = 0; 20 virtual bool IsEmpty() const = 0;
19 }; 21 };
20 22
21 } // namespace cc 23 } // namespace cc
22 24
23 #endif // CC_RESOURCES_TILING_SET_RASTER_QUEUE_H_ 25 #endif // CC_RESOURCES_TILING_SET_RASTER_QUEUE_H_
OLDNEW
« no previous file with comments | « cc/resources/tile_manager_unittest.cc ('k') | cc/test/fake_tile_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698