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

Refactor offscreens to not recreate them from scratch every frame #1150

Open
YaLTeR opened this issue Feb 19, 2025 · 0 comments
Open

Refactor offscreens to not recreate them from scratch every frame #1150

YaLTeR opened this issue Feb 19, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@YaLTeR
Copy link
Owner

YaLTeR commented Feb 19, 2025

Currently we use offscreens only for animations (open, close, resize) which are short and therefore not too bad to redraw every frame. However, I want to use offscreens for longer things like interactive move (make window semitransparent), or for more things at once (the tab fade animations should use offscreens ideally). For this we should do offscreens better: keep the texture around, along with a damage tracker, and only redraw the changes.

This should also hopefully help with issues like #1138.

@YaLTeR YaLTeR added the enhancement New feature or request label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant