Ensure shared images are cleared in OOPR mode
Currently, shared images in OOPR mode are cleared only during BeginRasterCHROMIUM. This can present some issues when an application triggers a readback of the image before it has been drawn to. This CL changes CanvasResourceProvider::Clear to also support OOPR mode to allow for shared images to be cleared when they're created. Bug: 1023281, 1023259 Change-Id: Ia6bc76efd65156b14a430f7db197868628385325 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2388434Reviewed-by:Khushal <khushalsagar@chromium.org> Reviewed-by:
Fernando Serboncini <fserb@chromium.org> Commit-Queue: Nathan Zabriskie <nazabris@microsoft.com> Cr-Commit-Position: refs/heads/master@{#809495}
Showing
Please register or sign in to comment