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

Unified Diff: cc/resources/tile_priority_queue.h

Issue 367833003: cc: Start using raster/eviction iterators. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: cc/resources/tile_priority_queue.h
diff --git a/cc/resources/tile_priority_queue.h b/cc/resources/tile_priority_queue.h
new file mode 100644
index 0000000000000000000000000000000000000000..682f5bb8a6fd2aebd4cfbe689c01022412e3f685
--- /dev/null
+++ b/cc/resources/tile_priority_queue.h
@@ -0,0 +1,24 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CC_RESOURCES_TILE_PRIORITY_QUEUE_H_
+#define CC_RESOURCES_TILE_PRIORITY_QUEUE_H_
+
+namespace cc {
+
+class Tile;
+
+class TilePriorityQueue {
reveman 2014/07/15 01:51:10 Do we still need this interface?
vmpstr 2014/07/15 05:36:27 Now that both LTHI and tile manager know about spe
vmpstr 2014/07/15 17:47:21 I'm going to keep this for now, and put GetPairedP
+ public:
+ virtual void Pop() = 0;
+ virtual bool IsEmpty() = 0;
+ virtual Tile* Top() = 0;
+
+ protected:
+ virtual ~TilePriorityQueue() {}
+};
+
+} // namespace cc
+
+#endif // CC_RESOURCES_TILE_PRIORITY_QUEUE_H_

Powered by Google App Engine
This is Rietveld 408576698