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.

Cache tessellated polygon data #90

Closed

Description

@kkaefer

On mobile platforms, we should cache the polygon tessellation. Rather than storing the tiles as we received them, we should rewrite the geometry and use this field:

    // A list of indices to the geometry array that specify a triangulation of
    // this geometry. This must only exist if this feature is a polygon.
    // These are the valid indices for the example above:
    //     0 ==>  (3/6)
    //     1 ==>  (8/12)
    //     2 ==> (20/34)
    // Indices beyond 2 are invalid, as the total number of vertices is 3.
    repeated sint32 triangulation = 5 [ packed = true ];

Tessellation might add vertices. We can append them to the geometry and store them as moveto vertices, which won't generate GL_LINES when unpacking again.

Activity

  1. added a commit that references this issue on Mar 24, 2015
    d1d4c00
  2. kkaefer commented on Mar 25, 2015

    @kkaefer
    MemberAuthor

    Bogus close

  3. added a commit that references this issue on Aug 21, 2015
  4. added
    performance
    on Dec 11, 2015
  5. jfirebaugh commented on Jun 24, 2016

    @jfirebaugh
    Contributor

    No current plans to pursue this.

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

    performance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions