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

feat: implement interactive capture #55

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

asterwyx
Copy link
Contributor

@asterwyx asterwyx commented Sep 13, 2024

Implement interactive capture using protocol treeland-capture. Only works on treeland.

@asterwyx asterwyx changed the title add capture protocol feat: implement interactive capture Sep 18, 2024
src/wayland/protocols/treelandcapture.h Outdated Show resolved Hide resolved
src/wayland/screenshotportal.cpp Outdated Show resolved Hide resolved
src/wayland/screenshotportal.cpp Outdated Show resolved Hide resolved
src/wayland/screenshotportal.cpp Outdated Show resolved Hide resolved
Implement interactive capture using protocol treeland-capture.
Only works on treeland.
@deepin-ci-robot
Copy link

deepin pr auto review

QtWayland: Add support for TreeLandCaptureManager

The TreeLandCaptureManager is used to capture output contents or window
contents. It provides a way to capture frames from a source, such as an
output or a window, and then process the captured contents.

The TreeLandCaptureManager is designed to be used with the TreeLandCaptureContext,
which is responsible for managing the capture process. The TreeLandCaptureContext
can be created and destroyed, and it can capture frames from different sources
such as an output or a window.

The TreeLandCaptureFrame is responsible for capturing the frame from the source
and providing it to the client. It can also handle different formats of the
captured frame and can be used to copy the captured frame to a buffer.

The TreeLandCaptureManager provides a way to interact with the TreeLandCaptureContext,
allowing the client to select a source, capture a frame, and process the captured
frame.

The TreeLandCaptureManager and TreeLandCaptureContext protocols are designed to be
used with the TreeLandCapture protocol, which provides a way to capture output
contents or window contents.

Signed-off-by: Zhipu Song [email protected]

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: asterwyx, justforlxz

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@justforlxz justforlxz merged commit 26f69d7 into linuxdeepin:master Sep 24, 2024
15 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants