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

Unified Diff: cc/layer_tree_host_impl.h

Issue 11417002: First draft of TileManager's tile prioritzation system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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
« no previous file with comments | « no previous file | cc/tile.h » ('j') | cc/tile_priority.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_impl.h
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h
index 3c9dba7244b247734f5157b9b42330e83207a76e..36516aad677c5768b793226acda06df150baaaf6 100644
--- a/cc/layer_tree_host_impl.h
+++ b/cc/layer_tree_host_impl.h
@@ -33,6 +33,13 @@ class ResourceProvider;
struct RendererCapabilities;
struct RenderingStats;
+enum WhichTree {
+ // Note: these must be 0 and 1 because we index with them in various places,
+ // e.g. in Tile::priority_.
+ ACTIVE_TREE = 0,
+ PENDING_TREE = 1
+};
+
// LayerTreeHost->Proxy callback interface.
class LayerTreeHostImplClient {
public:
« no previous file with comments | « no previous file | cc/tile.h » ('j') | cc/tile_priority.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698