[ozone/wayland] Sway: avoid sending presentation early.
In Sway, presentation callbacks may come much earlier than we send submission callbacks. That results in unexpected crashes in GbmSurfacelessWayland, because of early presentation callbacks. Briefly, a submitted frame may not receive the submission callback and not be moved to the list waiting for presentation frames. That means GbmSurfacelessWayland::OnPresentation accesses an invalid pointer to a frame when the presentation feedback comes. Bug: 974456 Change-Id: Iae7ab57a00d06f0dde6057ed05df885239e099bd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1719013Reviewed-by:Robert Kroeger <rjkroege@chromium.org> Commit-Queue: Maksim Sisov <msisov@igalia.com> Cr-Commit-Position: refs/heads/master@{#682157}
Showing
Please register or sign in to comment