Bug 267406 - [WPE] WPE Platform: wrong usage reported in DMABuf buffer formats under wayland
Summary: [WPE] WPE Platform: wrong usage reported in DMABuf buffer formats under wayland
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WPE WebKit (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Carlos Garcia Campos
URL:
Keywords:
Depends on:
Blocks: WPEPlatformAPI
  Show dependency treegraph
 
Reported: 2024-01-11 05:44 PST by Carlos Garcia Campos
Modified: 2024-01-11 06:15 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2024-01-11 05:44:35 PST
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.
Comment 1 Carlos Garcia Campos 2024-01-11 05:46:46 PST
Pull request: https://github.com/WebKit/WebKit/pull/22654
Comment 2 EWS 2024-01-11 06:15:06 PST
Committed 272911@main (75f18bf8d6d7): <https://commits.webkit.org/272911@main>

Reviewed commits have been landed. Closing PR #22654 and removing active labels.