Skip to content

Implementing ext-image-capture-source-v1 and ext-image-copy-capture-v1 #1900

@glamberson

Description

@glamberson

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:

  1. Is there existing work on these protocols that I should be aware of?
  2. Are there any design preferences or constraints from the maintainers' perspective?
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions