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

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: perf test fix 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..8908482dbcb63e31c9de6758b628c70b33e72f9c
--- /dev/null
+++ b/cc/resources/tile_priority_queue.h
@@ -0,0 +1,26 @@
+// 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_
+
+#include "cc/base/cc_export.h"
+
+namespace cc {
+
+class Tile;
+
+class CC_EXPORT TilePriorityQueue {
reveman 2014/07/14 15:52:38 I don't think you need CC_EXPORT when the dtor is
vmpstr 2014/07/14 18:10:44 Done.
+ 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