Use correct pixel format for exported dmabuf surfaces [FEATURE_DMABUF_SURFACE_EXPORT]
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox139 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
If Linux/HDR rendering is used, we need to clear framebuffer of WebGL. Shared&recycled surfaces are used for framebuffer so it contains content of previous frames.
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
Happens if FEATURE_DMABUF_SURFACE_EXPORT is used only.
| Assignee | ||
Comment 2•1 year ago
|
||
Looks like working in KDE, broken in Mutter only.
| Assignee | ||
Comment 3•1 year ago
|
||
Doesn't look to be a problem with simple frame buffer clear. If I disable surface recycling and clear dmabuf surfaces before use, there is still transparent/missing background. Produces different results with alpha set.
| Comment hidden (obsolete) |
| Assignee | ||
Comment 5•11 months ago
|
||
More investigation reveals we create GBM buffers as transparent while exported ones are marked as opaque so we don't paint underlying layer and we see the artifacts here.
| Assignee | ||
Updated•11 months ago
|
| Assignee | ||
Comment 6•11 months ago
|
||
- Translate DRM formats to gfx::SurfaceFormat.
- Update DMABufSurface::HasAlpha() for different drm formats.
Updated•11 months ago
|
| Assignee | ||
Updated•11 months ago
|
| Assignee | ||
Comment 7•11 months ago
|
||
https://hg.mozilla.org/mozilla-central/rev/7b87c7308511
https://hg.mozilla.org/mozilla-central/rev/1cc6a56b71a1
Updated•11 months ago
|
Description
•