-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reland "ozone/wayland: call submission callback only after OnSubmissi…
…on is received." This is a reland of commit bc3ec39 Original change's description: > ozone/wayland: call submission callback only after OnSubmission is received. > > Previously, a submission callback was called immediately, which sometimes > resulted in WaylandCanvasSurface running out of buffers as the > SoftwareOutputDevice was trying to get a new SkCanvas backed by > those buffers too early. > > The fix to the above problem is to store a submission callback > in the submitted buffer and call it upon OnSubmission. > > Bug: 1402208 > Change-Id: Ie4edae7f2bcf49b9f0b0ad77b593fa4ecd10b900 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4154635 > Reviewed-by: Kyle Charbonneau <kylechar@chromium.org> > Commit-Queue: Maksim Sisov <msisov@igalia.com> > Reviewed-by: Kramer Ge <fangzhoug@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1092964} Cq-Include-Trybots: luci.chromium.try:gpu-fyi-try-lacros-intel-rel Bug: 1402208, 1407698 Change-Id: I49055b6b9ba2729e9522f39409686a76e65831cc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4173527 Reviewed-by: Kyle Charbonneau <kylechar@chromium.org> Commit-Queue: Maksim Sisov <msisov@igalia.com> Reviewed-by: Kramer Ge <fangzhoug@chromium.org> Cr-Commit-Position: refs/heads/main@{#1096055}
- Loading branch information
Showing
3 changed files
with
406 additions
and
71 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
Oops, something went wrong.