OffscreenCanvas: Don't copy previous content if canvas is fully repaint
In the previous CL, https://chromium-review.googlesource.com/c/chromium/src/+/2063733, I added mode change for Canvas, such that it discard the content of canvas from the previous frame if canvas needs a full repaint in the current frame. In this Cl, I added the mode change feature for OffScreenCanvas. Bug: 1054666 Change-Id: I2b685641c40f2a31b50e04ee739f3ef26423297c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2088021 Commit-Queue: Yi Xu <yiyix@chromium.org> Reviewed-by:Khushal <khushalsagar@chromium.org> Reviewed-by:
Fernando Serboncini <fserb@chromium.org> Cr-Commit-Position: refs/heads/master@{#748861}
Showing
Please register or sign in to comment