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

Perform partial rendering when possible #5843

Open
kchibisov opened this issue Feb 2, 2022 · 0 comments · May be fixed by #5863
Open

Perform partial rendering when possible #5843

kchibisov opened this issue Feb 2, 2022 · 0 comments · May be fixed by #5863

Comments

@kchibisov
Copy link
Member

Since we landed damage tracking we could try to go even further and make use of EGL_EXT_buffer_age and GLX_EXT_buffer_age. So platforms other than Wayland would get benefits from recent damage tracking addition.

I'm not sure whether macOS/Windows provide something similar, but at least it'll work on X11/Wayland. If someone is aware which extensions to use on macOS/Windows for that let me known.

Also, there's some other API (EGL_KHR_partial_update), but I'm not sure that it's widely adopted and I only saw it with lima driver.

@kchibisov kchibisov self-assigned this Feb 2, 2022
kchibisov added a commit to kchibisov/alacritty that referenced this issue Feb 7, 2022
This commit makes uses of buffer age extension and recent
alacritty_terminal damage tracking to perform partial redraws on
platforms supporting `GLX_EXT_buffer_age` and `EGL_EXT_buffer_age`.

The alacritty_terminal damage tracking was enhanced in a way that it
reports damage only up to `occ`, so partial redraws during scrolling
are possible.

Fixes alacritty#5843.
kchibisov added a commit to kchibisov/alacritty that referenced this issue Feb 7, 2022
This commit makes uses of buffer age extension and recent
alacritty_terminal damage tracking to perform partial redraws on
platforms supporting `GLX_EXT_buffer_age` and `EGL_EXT_buffer_age`.

The alacritty_terminal damage tracking was enhanced in a way that it
reports damage only up to `occ`, so partial redraws during scrolling
are possible.

Fixes alacritty#5843.
@kchibisov kchibisov linked a pull request Feb 7, 2022 that will close this issue
@kchibisov kchibisov added this to the Version 1.0 milestone Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

1 participant