| Summary: | [GTK] AcceleratedBackingStoreDMABuf compile error with GBM OFF | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jim Mason <jmason> | ||||
| Component: | WebKitGTK | Assignee: | Adrian Perez <aperez> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | aperez, bugs-noreply | ||||
| Priority: | P2 | ||||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Jim Mason
2023-04-05 04:09:33 PDT
NB: If I comment out the entire contents of the derived source file DerivedSources/WebKit/AcceleratedBackingStoreDMABufMessageReceiver.cpp, the build completes normally and runs fine. In fact, I am posting this message from it. It seems the file AcceleratedBackingStoreDMABufMessageReceiver.cpp should never have been generated nor included in the build when GBM is OFF. Created attachment 465827 [details]
fix to compile with USE_GBM=OFF
For reference, attached is the patch I apply locally to clear the issue.
The patch conditionally excludes AcceleratedBackingStoreDMABuf when USE_GBM=OFF.
As I have no way to test the GBM case, I will leave landing a fix to the owner.
(In reply to Jim Mason from comment #2) > Created attachment 465827 [details] > fix to compile with USE_GBM=OFF > > For reference, attached is the patch I apply locally to clear the issue. > > The patch conditionally excludes AcceleratedBackingStoreDMABuf when > USE_GBM=OFF. > > As I have no way to test the GBM case, I will leave landing a fix to the > owner. Submit a patch (see https://github.com/WebKit/WebKit/wiki/Contributing for details) will make the EWS do a build, which will have GBM enabled. Do you have the bandwidth to send the patch yourself, or shall I submit it giving you proper credit? (In reply to Adrian Perez from comment #3) > Do you > have the bandwidth to send the patch yourself, or shall I submit it giving > you proper credit? If you can do it, it will be most appreciated. Thank you for all that you do to make the GTK port possible! Pull request: https://github.com/WebKit/WebKit/pull/12584 Committed 262787@main (9f37ad0c30a2): <https://commits.webkit.org/262787@main> Reviewed commits have been landed. Closing PR #12584 and removing active labels. I can confirm, in the case of -DUSE_GBM=OFF, the build now completes and runs without issue. Thank you! (In reply to Jim Mason from comment #7) > I can confirm, in the case of -DUSE_GBM=OFF, the build now completes and > runs without issue. Thank you! Excellent, thanks for confirming! |