[webkit-changes] [WebKit/WebKit] 75f18b: [WPE] WPE Platform: wrong usage reported in DMABuf...
Carlos Garcia Campos
noreply at github.com
Thu Jan 11 06:15:15 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 75f18bf8d6d7395cb6cbf94d9c6dbdb6cfa4330e
https://github.com/WebKit/WebKit/commit/75f18bf8d6d7395cb6cbf94d9c6dbdb6cfa4330e
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2024-01-11 (Thu, 11 Jan 2024)
Changed paths:
M Source/WebKit/WPEPlatform/wpe/wayland/WPEViewWayland.cpp
Log Message:
-----------
[WPE] WPE Platform: wrong usage reported in DMABuf buffer formats under wayland
https://bugs.webkit.org/show_bug.cgi?id=267406
Reviewed by Alejandro G. Castro.
When there's more than one tranche, the flags for the next tranches are
added to the previous one. This is because we are using std::move with
the Tranche struct without defining a move constructor, so the flags
member is not set to 0 after the move.
* Source/WebKit/WPEPlatform/wpe/wayland/WPEViewWayland.cpp:
(DMABufFeedback::Tranche::Tranche): Define a move constructor and make it non copyable.
Canonical link: https://commits.webkit.org/272911@main
More information about the webkit-changes
mailing list