| 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();
|
|
|