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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 1210073020: Reland (2): cc: Make tile manager object persist for the length of LTHI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/trees/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index f7a3e99be0a9251320fb340c8f7d89e3165c1039..618b2d10c840b3a0eaf82e6a81f03795d1bb33fc 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -229,7 +229,7 @@ class CC_EXPORT LayerTreeHostImpl
void DidAnimateScrollOffset();
void SetViewportDamage(const gfx::Rect& damage_rect);
- virtual void PrepareTiles();
+ virtual bool PrepareTiles();
// Returns DRAW_SUCCESS unless problems occured preparing the frame, and we
// should try to avoid displaying the frame. If PrepareToDraw is called,
@@ -580,8 +580,8 @@ class CC_EXPORT LayerTreeHostImpl
const gfx::Vector2dF& viewport_delta);
void CreateAndSetRenderer();
- void CreateAndSetTileManager();
- void DestroyTileManager();
+ void CleanUpTileManager();
+ void RecreateTileManagerResources();
void ReleaseTreeResources();
void RecreateTreeResources();

Powered by Google App Engine
This is Rietveld 408576698