Chromium Code Reviews| 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 f5142f925e413404df06c65b195e438a4373a812..ff2e78bb94d5233f08ee7281885a2b63b7b1c2fa 100644 |
| --- a/cc/trees/layer_tree_host_impl.h |
| +++ b/cc/trees/layer_tree_host_impl.h |
| @@ -222,6 +222,10 @@ class CC_EXPORT LayerTreeHostImpl |
| // for draw properties, tilings, quads and render passes. |
| gfx::Size DrawViewportSize() const; |
| + // Viewport rect in screen space used for tiling prioritization. |
| + gfx::Rect ExternalTilingRect() const; |
|
enne (OOO)
2014/07/24 19:25:19
bikeshed: "TilingRect" is a really ambiguous phras
|
| + const gfx::Transform& ExternalTilingTransform() const; |
| + |
| // Viewport size for scrolling and fixed-position compensation. This value |
| // excludes the URL bar and non-overlay scrollbars and is in DIP (and |
| // invariant relative to page scale). |
| @@ -253,6 +257,8 @@ class CC_EXPORT LayerTreeHostImpl |
| const gfx::Transform& transform, |
| const gfx::Rect& viewport, |
| const gfx::Rect& clip, |
| + const gfx::Rect& external_tiling_rect, |
| + const gfx::Transform& external_tiling_transform, |
| bool resourceless_software_draw) OVERRIDE; |
| virtual void DidLoseOutputSurface() OVERRIDE; |
| virtual void DidSwapBuffers() OVERRIDE; |
| @@ -666,6 +672,8 @@ class CC_EXPORT LayerTreeHostImpl |
| gfx::Transform external_transform_; |
| gfx::Rect external_viewport_; |
| gfx::Rect external_clip_; |
| + gfx::Rect external_tiling_rect_; |
| + gfx::Transform external_tiling_transform_; |
| bool resourceless_software_draw_; |
| gfx::Rect viewport_damage_rect_; |