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

[Impeller] agressive atlas recycling. #52564

Closed
wants to merge 3 commits into from

Conversation

jonahwilliams
Copy link
Member

Good news, it works. Bad news, its slower

image

The reason is: today we treat the CPU SKBitmap as the source of truth for the atlas. Even if we only append a single glyph to it, we need to re-upload the entire thing. This gets more and more expensive as the atlas grows.

Instead we need to shift the source of truth to the texture. We'll write each glyph individually to the glyph atlas using a blit command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant