Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Increase glyph atlas capacity #3781

Closed

Description

@ansis

@bhousel could you port mapbox/mapbox-gl-js#1923 to -native?

Activity

  1. bhousel commented on Feb 1, 2016

    @bhousel
    Contributor

    sounds fun!

  2. mb12 commented on Feb 1, 2016

    @mb12

    @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?

  3. bhousel commented on Feb 1, 2016

    @bhousel
    Contributor

    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.

  4. mb12 commented on Feb 1, 2016

    @mb12

    @bhousel Thanks for the clarification. The ability to shrink the size automatically would be more useful for SpriteAtlas that houses user defined marker icons.

  5. added 2 commits that reference this issue on Feb 11, 2016
  6. 1ec5 commented on May 18, 2016

    @1ec5
    Contributor

    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?

  7. added
    GL JS parity
    on May 18, 2016
  8. changed the title [-]port glyph atlas improvements[/-] [+]Increase glyph atlas capacity[/+] on Sep 27, 2016
  9. added
    Core
    on Sep 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CoreGL JS parity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions