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

Partial font texture update #1149

Merged
merged 5 commits into from
Jan 22, 2022
Merged

Partial font texture update #1149

merged 5 commits into from
Jan 22, 2022

Conversation

emilk
Copy link
Owner

@emilk emilk commented Jan 22, 2022

When a new character is rendered into the font atlas, only the changed region will now be uploaded to the GPU. This helps maintain a smoother framerate and better performance when entering uncached characters. It requires slightly more of the backend integrations, but not much (see the change to the glium/glow/webgl painters).

@emilk emilk merged commit 462f181 into master Jan 22, 2022
@emilk emilk deleted the partial-font-texture-update branch January 22, 2022 10:23
emilk added a commit that referenced this pull request Jan 25, 2022
Since #1149 we only update the
region of the font atlas that has changes, so loading new glyphs is much
cheaper. This means warm-up is much less needed.

There is now a small delay when opening the font book,
but not when opening anything else.
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