You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
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.
2.)
Also for GlyphAtals does the improvement also included shrinking the size dynamically?
Is there any plan to do similar optimization for SpriteAtlas?
Yes this is in my queue also.
Also for GlyphAtals does the improvement also included shrinking the size dynamically?
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.
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.
Without cleaning up the textures, we’d exacerbate #1681, right?
Activity
bhousel commentedon Feb 1, 2016
sounds fun!
mb12 commentedon Feb 1, 2016
@ansis and @bhousel
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.
2.)
Also for GlyphAtals does the improvement also included shrinking the size dynamically?
bhousel commentedon Feb 1, 2016
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.
mb12 commentedon Feb 1, 2016
@bhousel Thanks for the clarification. The ability to shrink the size automatically would be more useful for SpriteAtlas that houses user defined marker icons.
[android] #3781 #3899 - add map padding, user location view, ViewSett…
[Android] #3761 - add map padding, introduce new feature activity
1ec5 commentedon May 18, 2016
Without cleaning up the textures, we’d exacerbate #1681, right?
[-]port glyph atlas improvements[/-][+]Increase glyph atlas capacity[/+]