-
Notifications
You must be signed in to change notification settings - Fork 90
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
OnDamage
screencopy issues
#338
Comments
The original reference protocol (ext-screencopy https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/124) has dropped Adapting a similar approach will ease transition once the protocol is merged and simplify the implementation in cosmic-comp. Perhaps we should introduce cosmic-screencopy-v2 and drop OnDamage? Then we can also always trigger frame-callbacks, when we get a capture request. Similarly EDIT: Thinking about the ease of transitioning to a v2-protocol right now, the major users of both |
Some variation on this seems fairly important for cosmic-workspaces... if we want captures to update at more than 1 fps. Triggering renders of each window and workspace at 60fps isn't very efficient. Avoiding an explicit |
I've noticed issues with using
OnDamage
for screencopy. Specifically it seems:OnDamage
screencopy doesn't work for window capture.OnDamage
only gets 1fps. While withoutOnDamage
, it ends up sending frame callbacks and rendering at normal speed.OnDamage
determine if there's been damage since the last capture with the screencopy session, rather than getting the next damage from when the capture request is sent?age
is currently ignored.The text was updated successfully, but these errors were encountered: