summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-10-25 11:57:09 +0200
committerKonstantin Käfer <mail@kkaefer.com>2019-10-25 12:31:10 +0200
commit5e7456d95fb5259f297c342c4888ba3a86667b05 (patch)
tree59c6f29d4cae7795efe66258dd673f6803da0752 /appveyor.yml
parent646d4e3996513ed3e9247e958d39ce9e9b506652 (diff)
downloadqtlocation-mapboxgl-upstream/individual-line-dash-pattern-textures.tar.gz
[core] use individual textures for line dash patternsupstream/individual-line-dash-pattern-textures
This moves the LineAtlas from a shared texture that contained SDF dash patterns to use individual textures. Previously, the texture space was limited to a texture of 512 pixels height. Dash patterns were never removed (and are still never removed as of this patch), which means that this texture could fill up for styles that use a lot of different dash patterns. In particular, dash patterns for lines with a round line cap take up 15 pixels of texture height, limiting the amount of unique dash patterns to 34. While this was probably enough for rendering a single style, we quickly exhausted this number when reusing the Map object to render different styles. Instead of a global shared texture, we're now creating individual textures for every dash pattern. These textures are still cached so that we don't need to re-upload the texture on every frame.
Diffstat (limited to 'appveyor.yml')
0 files changed, 0 insertions, 0 deletions