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

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: pinchblurmerge-test: nits 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/trees/layer_tree_host_impl.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 f5bea383141a38c325f695ed2247e9b7561331a9..2a04425047fe1884b74e1a838b1550b2a9f4c352 100644
--- a/cc/resources/tile_manager.h
+++ b/cc/resources/tile_manager.h
@@ -104,8 +104,11 @@ class CC_EXPORT TileManager : public RasterizerClient,
void ManageTiles(const GlobalStateThatImpactsTilePriority& state);
- // Returns true when visible tiles have been initialized.
- bool UpdateVisibleTiles();
+ void UpdateVisibleTiles();
+
+ bool has_active_visible_tile_scheduled() {
reveman 2014/10/30 19:37:42 I think this is too implementation specific. For e
danakj 2014/10/30 19:49:07 And I think that all of those results would be acc
+ return has_active_visible_tile_scheduled_;
+ }
scoped_refptr<Tile> CreateTile(RasterSource* raster_source,
const gfx::Size& tile_size,
@@ -248,9 +251,9 @@ class CC_EXPORT TileManager : public RasterizerClient,
RenderingStatsInstrumentation* rendering_stats_instrumentation_;
- bool did_initialize_visible_tile_;
bool did_check_for_completed_tasks_since_last_schedule_tasks_;
bool did_oom_on_last_assign_;
+ bool has_active_visible_tile_scheduled_;
typedef base::hash_map<uint32_t, scoped_refptr<ImageDecodeTask>>
PixelRefTaskMap;
« no previous file with comments | « no previous file | cc/resources/tile_manager.cc » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698