Ignore tiny error in damage when aggregating surfaces
Transforming a surface's damage into its target space involves a bit of floating point math. This can introduce small errors - for example, scaling 1680x945 by .8 results in 1344.000122x756.000061. If we don't ignore this error, the inflated enclosing rectangle can prevent overlay optimizations from operating effectively. Bug: 1113146 Change-Id: Ic08dd08180b054b2637e57ab68b1577214bec4d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2338277Reviewed-by:weiliangc <weiliangc@chromium.org> Commit-Queue: David Stevens <stevensd@chromium.org> Cr-Commit-Position: refs/heads/master@{#795304}
Showing
Please register or sign in to comment