Backdrop cache flag should exclude damage from the same render surface.
When setting the |can_use_backdrop_filter_cached_result| flag, we do intersection check between the render surface's content rect and current accumulated damage. This damage should not include the damage on the same render surface. This bug was causing ChromeOS window cycling not using backdrop cache when there's no damage under the cycling container. Bug: 1141712 Change-Id: I4acb988d109beadf0507fddf98bdbbc881e6bef4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2498646Reviewed-by:weiliangc <weiliangc@chromium.org> Commit-Queue: Jun Liu <yjliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#821579}
Showing
Please register or sign in to comment