| 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 188efaf8ed8a276aee4297bf3ddb5649c12c759d..7f2cc34687efd3178f944f10d52c22b9ccc78e87 100644
|
| --- a/cc/trees/layer_tree_host_impl.h
|
| +++ b/cc/trees/layer_tree_host_impl.h
|
| @@ -96,8 +96,6 @@ class LayerTreeHostImplClient {
|
| virtual void SetEstimatedParentDrawTime(base::TimeDelta draw_time) = 0;
|
| virtual void DidSwapBuffersOnImplThread() = 0;
|
| virtual void DidSwapBuffersCompleteOnImplThread() = 0;
|
| - virtual void OnResourcelessSoftareDrawStateChanged(
|
| - bool resourceless_draw) = 0;
|
| virtual void OnCanDrawStateChanged(bool can_draw) = 0;
|
| virtual void NotifyReadyToActivate() = 0;
|
| virtual void NotifyReadyToDraw() = 0;
|
| @@ -124,7 +122,7 @@ class LayerTreeHostImplClient {
|
| virtual void DidCompletePageScaleAnimationOnImplThread() = 0;
|
|
|
| // Called when output surface asks for a draw.
|
| - virtual void OnDrawForOutputSurface() = 0;
|
| + virtual void OnDrawForOutputSurface(bool resourceless_software_draw) = 0;
|
|
|
| virtual void PostFrameTimingEventsOnImplThread(
|
| scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
|
| @@ -349,20 +347,19 @@ class CC_EXPORT LayerTreeHostImpl
|
| void CommitVSyncParameters(base::TimeTicks timebase,
|
| base::TimeDelta interval) override;
|
| void SetNeedsRedrawRect(const gfx::Rect& rect) override;
|
| - void SetExternalDrawConstraints(
|
| - const gfx::Transform& transform,
|
| - const gfx::Rect& viewport,
|
| - const gfx::Rect& clip,
|
| - const gfx::Rect& viewport_rect_for_tile_priority,
|
| - const gfx::Transform& transform_for_tile_priority,
|
| - bool resourceless_software_draw) override;
|
| + void SetExternalTilePriorityConstraints(
|
| + const gfx::Rect& viewport_rect,
|
| + const gfx::Transform& transform) override;
|
| void DidLoseOutputSurface() override;
|
| void DidSwapBuffers() override;
|
| void DidSwapBuffersComplete() override;
|
| void ReclaimResources(const CompositorFrameAck* ack) override;
|
| void SetMemoryPolicy(const ManagedMemoryPolicy& policy) override;
|
| void SetTreeActivationCallback(const base::Closure& callback) override;
|
| - void OnDraw() override;
|
| + void OnDraw(const gfx::Transform& transform,
|
| + const gfx::Rect& viewport,
|
| + const gfx::Rect& clip,
|
| + bool resourceless_software_draw) override;
|
|
|
| // Called from LayerTreeImpl.
|
| void OnCanDrawStateChangedForTree();
|
|
|