[CI] Refactor CullRect preparing for SPv2 interest rect implementation
- Combine CullRect::UpdateCullRect() and CullRect::UpdateCullRectForScrollingContents() into CullRect::ApplyTransform() which accepts a TransformPaintPropertyNode. For SPv2, if the transform node has scroll node, we'll expand the cull rect for composited scrolling. - Rename CullRect::IntersectsCullRect() to CullRect::Intersects() - Change CullRect constructor with offset to mutation methods to keep consistent with ApplyTransform(). Bug: 792577 Change-Id: I306f5c7acacf73d97100c6c863b71e0df41c34af Reviewed-on: https://chromium-review.googlesource.com/c/1319650Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#607495}
Showing
Please register or sign in to comment