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 157fe00eb67013347d1840a7c9499e392b885fcf..5a28befd3d51cf54b2b8a0deadda4c5d11a3f891 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -82,7 +82,6 @@ class LayerTreeHostImplClient { |
virtual void SetNeedsRedrawOnImplThread() = 0; |
virtual void SetNeedsRedrawRectOnImplThread(const gfx::Rect& damage_rect) = 0; |
virtual void SetNeedsAnimateOnImplThread() = 0; |
- virtual void DidInitializeVisibleTileOnImplThread() = 0; |
virtual void SetNeedsCommitOnImplThread() = 0; |
virtual void SetNeedsManageTilesOnImplThread() = 0; |
virtual void PostAnimationEventsToMainThreadOnImplThread( |
@@ -174,7 +173,6 @@ class CC_EXPORT LayerTreeHostImpl |
RenderPassIdHashMap render_passes_by_id; |
const LayerImplList* render_surface_layer_list; |
LayerImplList will_draw_layers; |
- bool contains_incomplete_tile; |
bool has_no_damage; |
// RenderPassSink implementation. |
@@ -213,9 +211,6 @@ class CC_EXPORT LayerTreeHostImpl |
// immediately if any notifications had been blocked while blocking. |
virtual void BlockNotifyReadyToActivateForTesting(bool block); |
- // This allows us to inject DidInitializeVisibleTile events for testing. |
- void DidInitializeVisibleTileForTesting(); |
- |
// Resets all of the trees to an empty state. |
void ResetTreesForTesting(); |
@@ -237,6 +232,7 @@ class CC_EXPORT LayerTreeHostImpl |
void NotifyTileStateChanged(const Tile* tile) override; |
void BuildRasterQueue(RasterTilePriorityQueue* queue, |
TreePriority tree_priority) override; |
+ void FinishedRasterQueue() override; |
void BuildEvictionQueue(EvictionTilePriorityQueue* queue, |
TreePriority tree_priority) override; |
@@ -306,7 +302,6 @@ class CC_EXPORT LayerTreeHostImpl |
return pending_tree_ ? pending_tree_.get() : active_tree_.get(); |
} |
virtual void CreatePendingTree(); |
- virtual void UpdateVisibleTiles(); |
virtual void ActivateSyncTree(); |
// Shortcuts to layers on the active tree. |
@@ -702,8 +697,6 @@ class CC_EXPORT LayerTreeHostImpl |
MicroBenchmarkControllerImpl micro_benchmark_controller_; |
scoped_ptr<TaskGraphRunner> single_thread_synchronous_task_graph_runner_; |
- bool need_to_update_visible_tiles_before_draw_; |
- |
// Optional callback to notify of new tree activations. |
base::Closure tree_activation_callback_; |
@@ -717,6 +710,7 @@ class CC_EXPORT LayerTreeHostImpl |
std::vector<PictureLayerImpl::Pair> picture_layer_pairs_; |
bool requires_high_res_to_draw_; |
+ bool active_visible_tile_is_top_of_raster_queue_; |
DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
}; |