Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ext-image-capture-source-v1 and ext-image-copy-capture-v1 #46

Open
Ferdi265 opened this issue Aug 11, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@Ferdi265
Copy link
Owner

This completely flew under the radar for me. These two protocols were just merged into wayland-protocols and if implemented in wlroots would potentially allow window screenshare in wlroots compositors.

This has less priority than #16 since xdg-desktop-portal-wlr will likely expose window capture as well, but this protocol likely has better selection ergonomics on some desktops (allowing to specify an output on the commandline).

@Ferdi265 Ferdi265 added the enhancement New feature or request label Aug 11, 2024
@Ferdi265
Copy link
Owner Author

Ferdi265 commented Jan 14, 2025

wlroots has just merged ext-image-copy-capture-v1 and ext-image-capture-source-v1 (without toplevel capture for now).

Implementing this is also likely not as complicated as implementing xdg-desktop-portal handling (since no dbus and no pipewire is involved). I'll attempt to implement this in two stages: first for shm only and then for dmabuf, since dmabuf here means we need to create our own dmabufs (similar to screencopy with dmabuf) rather than just importing one (wlr-export-dmabuf and pipewire).

Implementing the toplevel capture source is a top priority once it lands in wlroots as it will finally allow window mirroring in wlroots compositors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant