ash: Prevent fast ink artifacts when compositing.

The surface damage rectangle needs to be expanded to allow non-clipped
single buffer updates while a frame is in-flight. This will throttle
buffer updates outside in-flight surface damage rectangle to ensure
that content is never clipped. The surface damage rectangle is also
expanded to prevent this throttling from causing a performance problem
on devices that support HW overlays.

Bug: 
Test: laser pointer is not clipped on caroline
Change-Id: Ib4d8d331df199ac2424ee78749037e3b6419a03a
Reviewed-on: https://chromium-review.googlesource.com/721519
Reviewed-by: Vladislav Kaznacheev <kaznacheev@chromium.org>
Commit-Queue: David Reveman <reveman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#509112}
2 files changed