Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@jonahwilliams
Copy link
Contributor

Fixes flutter/flutter#126103

Requires #41780

Unlike Skia which starts with 2048x2048, I decreased the size of 1024x1024. Now that we'll never switch this to a color bitmap, the memory impact is dramatically lessened.

@jonahwilliams jonahwilliams changed the title [Impeller][WIP] increase initial size of alpha bitmap atlas texture [Impeller][WIP] increase initial size of alpha bitmap atlas texture. May 5, 2023
Comment on lines +826 to +827
std::shared_ptr<GlyphAtlasContext> alpha_glyph_atlas_context_;
std::shared_ptr<GlyphAtlasContext> color_glyph_atlas_context_;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could put these into a map or something else. Feels weird to make a second container but might as well. I don't think we'll end up with a third glyph atlas, at least not for a while

@jonahwilliams
Copy link
Contributor Author

Closing in favor of #41880

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Impeller] Increase the size of the glyph atlas

1 participant