[webkit-changes] [WebKit/WebKit] ec311d: [WPE] WPE Platform: fix a crash when handling wayl...
Carlos Garcia Campos
noreply at github.com
Tue Dec 19 04:02:07 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ec311d6d964b58d9d62362b5d64d84fbb54f7e19
https://github.com/WebKit/WebKit/commit/ec311d6d964b58d9d62362b5d64d84fbb54f7e19
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2023-12-19 (Tue, 19 Dec 2023)
Changed paths:
M Source/WebKit/WPEPlatform/wpe/wayland/WPEViewWayland.cpp
Log Message:
-----------
[WPE] WPE Platform: fix a crash when handling wayland DMA-BUF feedback with some compositors
https://bugs.webkit.org/show_bug.cgi?id=266622
Reviewed by Alejandro G. Castro.
Some compositors like weston don't sent the format table on every
feedback message, but only the first time. Handle that case in main
device message by stealing the format table from the previous committed
feedback.
* Source/WebKit/WPEPlatform/wpe/wayland/WPEViewWayland.cpp:
(DMABufFeedback::FormatTable::FormatTable):
(DMABufFeedback::FormatTable::~FormatTable):
(DMABufFeedback::create):
(DMABufFeedback::DMABufFeedback):
(DMABufFeedback::format):
(DMABufFeedback::~DMABufFeedback): Deleted.
Canonical link: https://commits.webkit.org/272262@main
More information about the webkit-changes
mailing list