Fix tearing with SkiaOutputDeviceBufferQueue
The tearing is because the displayed_image_->EndPresent() is called in wrong place. It should be called when the displayed_image_ is being replaced by a new image. Bug: 1036566 Change-Id: Ic12c41d0191e9ad62638f931bce03c9d44a31c73 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1988687Reviewed-by:Vasiliy Telezhnikov <vasilyt@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#728658}
Showing
Please register or sign in to comment