fix(linux): export all Wayland DMA-BUF planes - #5699
Conversation
Bundle ReportBundle size has no change ✅ |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5699 +/- ##
==========================================
+ Coverage 37.67% 37.79% +0.12%
==========================================
Files 104 104
Lines 26103 26130 +27
Branches 11561 11569 +8
==========================================
+ Hits 9834 9877 +43
- Misses 12569 14779 +2210
+ Partials 3700 1474 -2226
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 51 files with indirect coverage changes Continue to review full report in Codecov by Harness.
|
Screenshot ComparisonPR #5699 screenshots vs Matrix:
|
21f54a0 to
8861ff9
Compare
Modifier-aware GBM allocation can return multi-plane buffers, but the wlroots capture path only described plane zero to linux-dmabuf. Query and export each plane fd, stride, and offset, then add every plane to the Wayland parameter object. Allocate modifier-backed buffers with rendering usage and close exported descriptors when export or asynchronous buffer creation fails. Add unit coverage for multi-plane metadata, unsupported plane counts, and partial-export cleanup.
8861ff9 to
fcdd9e2
Compare
|























































































Description
Modifier-aware GBM allocation can return multi-plane buffers, but the wlroots capture path only described plane zero to linux-dmabuf. Query and export each plane fd, stride, and offset, then add every plane to the Wayland parameter object.
Allocate modifier-backed buffers with rendering usage and close exported descriptors when export or asynchronous buffer creation fails.
Add unit coverage for multi-plane metadata, unsupported plane counts, and partial-export cleanup.
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage
See our AI usage policy.