forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark buffers in WaylandCanvasSurface as released correctly.
This CL marks submitted buffer N as released when buffer N+1 is submitted. Previously, buffer N was being marked as released when it was submitted. This fixes tearing / screen not updating glitches. This CL also adds some comments + minor cleanup. Test: Running linux chrome on ChromeOS Test: Running linux chrome on weston Test: Running linux chrome on sway Test: Running linux chrome on mutter Bug: 1039428 Bug: 1039481 Change-Id: Ieb14f6f097b53e89d2feedba42e33b47778c1f8e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2041980 Commit-Queue: Eliot Courtney <edcourtney@chromium.org> Reviewed-by: Maksim Sisov <msisov@igalia.com> Cr-Commit-Position: refs/heads/master@{#740567}
- Loading branch information
Eliot Courtney
authored and
Commit Bot
committed
Feb 12, 2020
1 parent
3eca83e
commit b8b044b
Showing
2 changed files
with
65 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters