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

Unified Diff: cc/resources/tile_manager.h

Issue 671653005: SetNeedsRedraw directly when updating a visible tile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | cc/resources/tile_manager.cc » ('j') | cc/resources/tile_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_manager.h
diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h
index 6f579f9fb1c9dde8baa82cd233604482f0e00f5f..5c78749ceb404e2466c24bf52914bc6323b750d1 100644
--- a/cc/resources/tile_manager.h
+++ b/cc/resources/tile_manager.h
@@ -52,7 +52,7 @@ class CC_EXPORT TileManagerClient {
// - Tile version initialized.
// - Tile resources freed.
// - Tile marked for on-demand raster.
- virtual void NotifyTileStateChanged(const Tile* tile) = 0;
+ virtual void NotifyTileStateChanged(const Tile* tile, bool visible_tile) = 0;
enne (OOO) 2014/10/28 18:09:21 This seems redundant to pass along visible_tile.
enne (OOO) 2014/10/28 18:09:21 This seems redundant to pass along visible_tile.
danakj 2014/10/31 20:02:01 Yes, using manfred's tile->required_to_draw() now
// Given an empty raster tile priority queue, this will build a priority queue
// that will return tiles in order in which they should be rasterized.
« no previous file with comments | « no previous file | cc/resources/tile_manager.cc » ('j') | cc/resources/tile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698