-
Peng Huang authored
Since vulkan swap chain will not modify the content of images, so we can set preserve_buffer_content in output surface capabilities, and then the SkiaRenderer will only draw damage area instead of the whole buffer to save CPU and GPU cycles. Note: we are using FIFO Vulkan swap chain, so the swap chain should return images in presenting order. Bug: 1043388 Change-Id: I6f3a4f84027607fe5cb6ecd992552c535c72ed52 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2042766 Commit-Queue: Peng Huang <penghuang@chromium.org> Reviewed-by:
Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/master@{#744752}
2285ce0a