Implement custom FBO management
Categories
(Core :: Graphics: WebRender, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox92 | --- | fixed |
People
(Reporter: rmader, Assigned: rmader)
References
Details
Attachments
(2 files)
By reusing DMABufSurface we can manage FBOs ourselves instead of using the Wayland EGL platform, attaching buffer using zwp_linux_dmabuf_v1 directly. This has several advantages:
- we can get rid of the surface reordering workaround currently used when hiding surfaces in sync
- better partial damage support, similar to
NativeLayerCA::HandlePartialUpdateandWindowSurfaceWaylandMB::HandlePartialUpdate - more similar to other platforms like MacOS
- more control over GPU memory, fewer depth buffers
- clears the way for YUV support
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
In order to allow us to create FBOs ourselves. Right now only implement
it for DMABufSurfaceRGBA. In the future, we will want implement the same
for YUV, see bug 1711461.
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
Comment 5•4 years ago
|
||
| bugherder | ||
Comment 6•4 years ago
|
||
Backed out for causing wpt failures in /css/css-flexbox/flexbox-align-self-vert-001.xhtml
Backout link: https://hg.mozilla.org/integration/autoland/rev/425f0a769c49c13e046978f508310073e7f18807
Comment 7•4 years ago
•
|
||
@Robert, is it right to assume that only after patch in comment 4 is relanded and merged to central this bug can be consider as fixed?
| Assignee | ||
Comment 8•4 years ago
|
||
(In reply to Sandor Molnar from comment #7)
@Robert, is it right to assume that only after patch in comment 4 is relanded and merged to central this bug can be consider as fixed?
Right, thanks, the failure was caused by bug 1718570, so relanding this and updating bug 1718570 before landing.
Comment 10•4 years ago
|
||
| bugherder | ||
Description
•