Skip to content

subsurface_widget: Handle viewport and set source rectangle #227

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

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ids1024
Copy link
Member

@ids1024 ids1024 commented May 9, 2025

Scrolling seems to be more or less working... but it doesn't seem to be triggering redraws properly, and scrolling is throttled to 1 fps.

Also the scrollable doesn't seem to subtract the scrollbar from the size allocated to its child (this is true of upstream iced). But due to how subsurfaces work, it ends up above the scroll bar instead of the scroll bar drawing above it.

ids1024 added 5 commits May 8, 2025 12:29
Test scrolling. Single color buffers in `sctk_subsurface` aren't good
for comparing it, and `sctk_subsurface_gst` isn't working on latest gst
with explicit sync (and AppSync isn't accepting the dmabuf when I try to
modify it.)
This is needed to crop subsurface when needed, instead of rendering
overlapping other things. And to offset while scrolling.
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.

1 participant