Implement Wayland support for example compositor
Categories
(Core :: Graphics: WebRender, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: rmader, Assigned: rmader)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Before wiring up things to gecko, make the example compositor work and implement some basic compositor support.
Steps to run:
git clone https://github.com/servo/webrender.git
cd webrender/example-compositor/compositor
cargo run native [scroll|large|small] swap 1300 520
Assignee | ||
Comment 1•3 years ago
|
||
In case anybody is interested in the progress, I'll push updates to https://github.com/rmader/gecko-dev/commits/bug1617498
Assignee | ||
Comment 2•3 years ago
|
||
Yay, first proper output with native wayland subsurfaces \o/
Assignee | ||
Comment 3•3 years ago
|
||
Found first bug in Mutter concerning subsurface reordering: https://gitlab.gnome.org/GNOME/mutter/-/issues/1691
Assignee | ||
Comment 4•3 years ago
|
||
Little status update here: it looks like this is almost done. We are now blocked on WR missing certain features for native surfaces that it supports for the draw compositor, namely setting the draw origin (surface_origin_is_top_left
/ bug 1697673) and other things that are already supported on the draw compositor (draw_previous_partial_present_regions
). Adding them should also benefit Android, in case it gets compositor integration at some point.
Apart from that we'll only need a bit of cleanup and some small features like frame-callback synced drawing. After that I'd like to get this merged soonish so compositor devs can test it and make sure they they implement all used features here correctly. Fixes for that will likely take some time to reach end user, so it's good to start early.
Assignee | ||
Comment 5•3 years ago
|
||
Next status update: after the latest git push the rendering is mostly correct now (patch for bug 1697673 incoming).
Also the Mutter fix has landed, together with backports to 3.38 and 3.36.
Assignee | ||
Comment 6•3 years ago
|
||
Assignee | ||
Comment 7•3 years ago
|
||
Found and fixed two more Mutter bugs, both introduced by me :)
Now there is AFAIK only one issue left, which is either a Mesa or WR issue.
Updated•3 years ago
|
Updated•3 years ago
|
Pushed by gwatson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3080c78f7e9e Implement Wayland backend for the example compositor, r=gw
Comment 9•3 years ago
|
||
Backed out for causing bustages.
Backout link: https://hg.mozilla.org/integration/autoland/rev/a845158570c214c3da88c249a72180101a7d924a
Failure log: https://treeherder.mozilla.org/logviewer?job_id=333700906&repo=autoland
https://treeherder.mozilla.org/logviewer?job_id=333701808&repo=autoland&lineNumber=29338
Assignee | ||
Comment 10•3 years ago
|
||
Updated, thanks. Try: https://treeherder.mozilla.org/jobs?repo=try&revision=a4a6d8b1cd161b239525e41bef6e963ff3125f91
Assignee | ||
Updated•3 years ago
|
Comment 11•3 years ago
|
||
Pushed by gwatson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f56d2bf535d6 Implement Wayland backend for the example compositor, r=gw
Comment 12•3 years ago
|
||
bugherder |
Description
•