[SPv2] Properly handle infinite cull rects through scroll translations
- Allow infinite cull rect to be properly clipped and expanded through scroll translation. This can prevent SPv2 performance regression when painting scrolling contents when some ancestor uses infinite cull rects. This achieves the similar results of SPv1 painting composited scrolling contents. - Copy and adapt the interest rect tests from composited_layer_mapping_test.cc into paint_layer_painter_test.cc - Add infinite cull rect unit tests Bug: 792577 Change-Id: Ia784416557e10a3193cd677ad8d31101fd077bc6 Reviewed-on: https://chromium-review.googlesource.com/c/1347354Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#611271}
Showing
This diff is collapsed.
Please register or sign in to comment