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

Unified Diff: cc/resources/tile_manager.h

Issue 807273005: cc: Prevent recursion in *TileTaskWorkerPool methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed reentrance checks. Will make that a separate CL. Created 6 years 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 a5005bf7f3cce2da6d11082e5567633af2468a1a..fa213858d212f4424d2d0e66a191bdc378e8d79b 100644
--- a/cc/resources/tile_manager.h
+++ b/cc/resources/tile_manager.h
@@ -243,6 +243,7 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient,
bool IsReadyToDraw() const;
void CheckIfReadyToActivate();
void CheckIfReadyToDraw();
+ void CheckIfMoreTilesNeedPrepare();
reveman 2014/12/19 01:07:44 nit: ...NeedToBePrepared() Maybe it would be bett
vmiura 2014/12/23 22:28:13 Done.
TileManagerClient* client_;
scoped_refptr<base::SequencedTaskRunner> task_runner_;
@@ -281,6 +282,7 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient,
UniqueNotifier ready_to_activate_check_notifier_;
UniqueNotifier ready_to_draw_check_notifier_;
+ UniqueNotifier more_tiles_need_prepare_check_notifier_;
RasterTilePriorityQueue raster_priority_queue_;
EvictionTilePriorityQueue eviction_priority_queue_;
« 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