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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 2668873002: cc: Add checker-imaging support to TileManager. (Closed)
Patch Set: Created 3 years, 11 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 a296fc9154d1e70bbab4925aaa1d52d0e5ee9ae2..ba8aa721d840547d10f057fbf932decc76909fa5 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -121,6 +121,8 @@ class LayerTreeHostImplClient {
virtual void OnDrawForCompositorFrameSink(
bool resourceless_software_draw) = 0;
+ virtual void NeedsImplSideInvalidation() = 0;
+
protected:
virtual ~LayerTreeHostImplClient() {}
};
@@ -249,6 +251,8 @@ class CC_EXPORT LayerTreeHostImpl
void SetFullViewportDamage();
void SetViewportDamage(const gfx::Rect& damage_rect);
+ void RunImplSideInvalidation();
+
void SetTreeLayerFilterMutated(ElementId element_id,
LayerTreeImpl* tree,
const FilterOperations& filters);
@@ -343,6 +347,7 @@ class CC_EXPORT LayerTreeHostImpl
TreePriority tree_priority) override;
void SetIsLikelyToRequireADraw(bool is_likely_to_require_a_draw) override;
gfx::ColorSpace GetTileColorSpace() const override;
+ void RequestImplSideInvalidation() override;
// ScrollbarAnimationControllerClient implementation.
void PostDelayedScrollbarAnimationTask(const base::Closure& task,
@@ -629,6 +634,8 @@ class CC_EXPORT LayerTreeHostImpl
void AnimateInternal(bool active_tree);
+ void AddImplSideInvalidationToSyncTree();
+
// Returns true if status changed.
bool UpdateGpuRasterizationStatus();
void UpdateTreeResourcesForGpuRasterizationIfNeeded();

Powered by Google App Engine
This is Rietveld 408576698