Bug 1687831 [wpt PR 27262] - Allow rasterization of partially recorded tiles, a=testonly
commit5fba74f1da9e7f8d4a593931cb5c57ba63029327
authorXianzhu Wang <wangxianzhu@chromium.org>
Fri, 22 Jan 2021 10:24:32 +0000 (22 10:24 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Tue, 26 Jan 2021 10:02:00 +0000 (26 10:02 +0000)
tree40fa817a4849b3061c5b611bf2b04350206d44a6
parent56b9dd890fb33128609fe05ade4f7763c0220ee3
Bug 1687831 [wpt PR 27262] - Allow rasterization of partially recorded tiles, a=testonly

Automatic update from web-platform-tests
Allow rasterization of partially recorded tiles

Previously we rasterized fully recorded tiles only, requiring that
blink must expand the recording rect by at least the tile size, which
was fragile.

CompositeAfterPaint calculates cull rect before painting and compositing
so we don't know the bounds of a composited layer and how it intersects
with the visible area, and we don't know which paint chunk will be
indirectly composited later, so we can't ensure we meet the recording
rect expansion requirement for every composited layer.

Allowing rasterization of partially recorded tiles will remove the
requirement, and this allows more flexibility of blink recording rect
expansion and cc tile size.

Bug: 1046544
Change-Id: Ibfe86eeecd46925deacc7a74afa2fee789e65867
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2628491
Reviewed-by: vmpstr <vmpstr@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#845805}

--

wpt-commits: 2b9e2dc0c23e4d13225402f88935baafc326a78f
wpt-pr: 27262
testing/web-platform/tests/css/css-overflow/incremental-scroll-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-overflow/incremental-scroll.html [new file with mode: 0644]