WIP: parallax scrolling wallpaper #886
Draft
+321
−34
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
needs integration with: lockscreen, wallpaper transition shaders, and a performance/optimization pass
a bit choppier than my lazy WpViewport solution, but I'm using a 75MiB image that's approx 7500x11000 with my 3440x1440 display - right now I'm testing with
QT_IMAGEIO_MAXALLOC=0 qs -p .just to be able to load my gigantic wallpaper, so the perf issues I see might be solved by optimizing the image itself a bit, but I'm still doing a pass over the anchoring/positioning, rects & clipping, etc to tighten that down a bit first.vibe-coded most of the first-pass impl here; rest of the work will be manual bits
current thoughts: