Damage entire candidate quad rect on underlay promotion
Certain overlay candidates forward damage rects that are smaller than the quad itself. This works perfectly fine in the case of composition as it simply corresponds to a partial update within a quad. However, in the case of underlays, the primary plane must have the overlay candidate rect be FULLY replaced by a black "window" quad. Currently the code fails to do this on promotion and will make no attempt to do this after promotion. This change damages the entire quad rect so that the "window" quad is fully composed on the primary plane. The reason why this bug remains unreported (till this time) is because it only occurs for candidates that have damage as a subset of the quad rect. Basically, only in the case of Lacros underlays. Bug: 1130733 Change-Id: Ib4ecd77b105c5ad6e7b46d21e9edd5a8b802412f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2468678 Commit-Queue: Peter McNeeley <petermcneeley@chromium.org> Reviewed-by:Maggie Chen <magchen@chromium.org> Reviewed-by:
Robert Kroeger <rjkroege@chromium.org> Reviewed-by:
Kramer Ge <fangzhoug@chromium.org> Cr-Commit-Position: refs/heads/master@{#818046}
Showing
Please register or sign in to comment