I'm developing a Smithay-based compositor that requires screen capture capabilities for client access. Per the protocol tracking in #781, neither ext-image-capture-source-v1 nor ext-image-copy-capture-v1 are currently implemented.
I have an immediate need for these protocols and am prepared to contribute an implementation. Before beginning work, I wanted to check:
- Is there existing work on these protocols that I should be aware of?
- Are there any design preferences or constraints from the maintainers' perspective?
- Would a phased approach (ext-image-capture-source-v1 first, then ext-image-copy-capture-v1) be acceptable?
From my initial review, the existing infrastructure appears well-suited for this:
ExportMem provides framebuffer readback
DmabufState and ForeignToplevelListState offer relevant patterns
- The protocol definitions are available in wayland-protocols 0.32.4+
I can adapt my current development schedule to prioritize this if there's interest in an upstream contribution.
Greg Lamberson
Lamco Development
https://lamco.ai
I'm developing a Smithay-based compositor that requires screen capture capabilities for client access. Per the protocol tracking in #781, neither
ext-image-capture-source-v1norext-image-copy-capture-v1are currently implemented.I have an immediate need for these protocols and am prepared to contribute an implementation. Before beginning work, I wanted to check:
From my initial review, the existing infrastructure appears well-suited for this:
ExportMemprovides framebuffer readbackDmabufStateandForeignToplevelListStateoffer relevant patternsI can adapt my current development schedule to prioritize this if there's interest in an upstream contribution.
Greg Lamberson
Lamco Development
https://lamco.ai