| Index: content/public/browser/android/synchronous_compositor.h
|
| diff --git a/content/public/browser/android/synchronous_compositor.h b/content/public/browser/android/synchronous_compositor.h
|
| index 6f02cfbedd795e2d9c979af368916055050ed61e..0b0b7ebccf3f7ecab4ba94fa5be1b291abdeb264 100644
|
| --- a/content/public/browser/android/synchronous_compositor.h
|
| +++ b/content/public/browser/android/synchronous_compositor.h
|
| @@ -59,13 +59,12 @@ class CONTENT_EXPORT SynchronousCompositor {
|
| DISALLOW_COPY_AND_ASSIGN(Frame);
|
| };
|
|
|
| - // "On demand" hardware draw. The content is first clipped to |damage_area|,
|
| - // then transformed through |transform|, and finally clipped to |view_size|.
|
| + // "On demand" hardware draw. Parameters are used by compositor for this draw.
|
| + // |viewport_size| is the current size to improve results during resize.
|
| + // |viewport_rect_for_tile_priority| and |transform_for_tile_priority| are
|
| + // used to customize the tiling decisions of compositor.
|
| virtual Frame DemandDrawHw(
|
| - const gfx::Size& surface_size,
|
| - const gfx::Transform& transform,
|
| - const gfx::Rect& viewport,
|
| - const gfx::Rect& clip,
|
| + const gfx::Size& viewport_size,
|
| const gfx::Rect& viewport_rect_for_tile_priority,
|
| const gfx::Transform& transform_for_tile_priority) = 0;
|
|
|
|
|