Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ec311d6d964b58d9d62362b5d64d84fbb54f7e19
https://github.com/WebKit/WebKit/commit/ec311d6d964b58d9d62362b5d64d84fbb54f7e19
Author: Carlos Garcia Campos <[email protected]>
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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes