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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 900073003: cc: Rework how picture layer tiling set gets into raster queues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed unrelated changes Created 5 years, 10 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 f4052f1fae136ba242f601b6ca310d48edde5bd6..7d5a8dff07b2fe1060a59cf9a823c2a7964792c5 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -247,16 +247,8 @@ class CC_EXPORT LayerTreeHostImpl
void NotifyReadyToActivate() override;
void NotifyReadyToDraw() override;
void NotifyTileStateChanged(const Tile* tile) override;
- scoped_ptr<RasterTilePriorityQueue> BuildRasterQueue(
- TreePriority tree_priority,
- RasterTilePriorityQueue::Type type) override;
- scoped_ptr<EvictionTilePriorityQueue> BuildEvictionQueue(
- TreePriority tree_priority) override;
void SetIsLikelyToRequireADraw(bool is_likely_to_require_a_draw) override;
-
- // Returns existing picture layers.
- // TODO(vmpstr): Remove this, it's only used in tests.
- const std::vector<PictureLayerImpl*>& GetPictureLayers() const;
+ bool PendingTreeExists() override;
// ScrollbarAnimationControllerClient implementation.
void PostDelayedScrollbarFade(const base::Closure& start_fade,
@@ -495,12 +487,6 @@ class CC_EXPORT LayerTreeHostImpl
void InsertSwapPromiseMonitor(SwapPromiseMonitor* monitor);
void RemoveSwapPromiseMonitor(SwapPromiseMonitor* monitor);
- void RegisterPictureLayerImpl(PictureLayerImpl* layer);
- void UnregisterPictureLayerImpl(PictureLayerImpl* layer);
-
- void GetPictureLayerImplPairs(std::vector<PictureLayerImpl::Pair>* layers,
- bool need_valid_tile_priorities) const;
-
void SetRequiresHighResToDraw() { requires_high_res_to_draw_ = true; }
void ResetRequiresHighResToDraw() { requires_high_res_to_draw_ = false; }
bool RequiresHighResToDraw() const { return requires_high_res_to_draw_; }
@@ -733,9 +719,6 @@ class CC_EXPORT LayerTreeHostImpl
std::set<SwapPromiseMonitor*> swap_promise_monitor_;
- std::vector<PictureLayerImpl*> picture_layers_;
- std::vector<PictureLayerImpl::Pair> picture_layer_pairs_;
-
bool requires_high_res_to_draw_;
bool is_likely_to_require_a_draw_;

Powered by Google App Engine
This is Rietveld 408576698