mapbox / mapbox/mapbox-gl-js

Stagger texture uploads across multiple consecutive frames

Open
#7,451 0 comments 0 reactions 1 assignee View on GitHub

@ryanhamley is already working on this.

Since Nov 2, 2018.

performance :zap:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

On a big map, specially on high resolution screen,uploading textures might take a lot of time, specially for rendering the first frame. This will cause frame drops.

One strategy for mitigating the issue would be not upload all the textures at one and postpone some for the next frame. We would need to set a hard limit on how many textures we upload per frame.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.