-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Increase glyph atlas capacity #3781
Comments
sounds fun! |
1.) Is there any plan to do similar optimization for SpriteAtlas? Recently the size of SpriteAtlas was statically increased to 1024x1024. A similar improvement would allow the sprite atlas to be smaller for common use cases. |
Yes this is in my queue also.
The current plan is to refcount the glyphs so that we can replace them when they are not referenced by visible tiles. I hadn't considered shrinking the atlas texture, but it's a possibility. Something like that would likely only occur if the map navigates from a place where CJK languages are in use to one where they are not - so I'm not sure how aggressively we want to optimize this. |
@bhousel Thanks for the clarification. The ability to shrink the size automatically would be more useful for SpriteAtlas that houses user defined marker icons. |
Without cleaning up the textures, we’d exacerbate #1681, right? |
@bhousel could you port mapbox/mapbox-gl-js#1923 to -native?
The text was updated successfully, but these errors were encountered: