summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/buckets/symbol_bucket.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Cleanup in response to review comments.Chris Loer2017-11-171-0/+1
|
* [core] Switch from background to foreground placementChris Loer2017-11-171-14/+152
| | | | | | | | | | | | - Background placement code now just generates static symbol buffers - Don't render GeometryTiles until their symbols are loaded. This is necessary for the CrossTileSymbolIndex to successfully prevent flicker. - SymbolInstances are transferred to SymbolBucket for use on foreground during collision detection - Symbols are sorted on foreground by sorting their index buffer but leaving vertex buffers intact (only works within one segment) - Vertical glyphs are generated at same time as horizontal glyphs. `reprojectLineLabels` chooses which one to use at render time and hides the other. - Icons are now always represented with a single collision box, even if they're placed along a line (this means their rotation alignment may be wrong, but the approach of representing them with multiple collision boxes wasn't very accurate either). - Generate vertices for new debug collision boxes and collision circles - Only add symbols within tile boundaries (reduces work, avoids double-draw) - Update symbol_projection.cpp to support line label projection calls from CollisionIndex.
* [core] Eliminate Bucket::renderJohn Firebaugh2017-07-191-8/+0
|
* [core] add static asserts for more gl constantsAnsis Brammanis2017-07-111-2/+2
| | | | and rename BufferUsageType to BufferUsage
* [core] improve legibility of labels that follow linesAnsis Brammanis2017-07-111-2/+2
| | | | | | | | | | port https://github.com/mapbox/mapbox-gl-js/pull/4781 This improves legibility of labels that follow lines in pitched views. The previous approach used the limited information in the shader to calculate put the glyph in approximatelyright place. The new approach does this more accurately by doing it on the cpu where we have access to the entire line geometry.
* [core] Don't upload empty bucketsBruno de Oliveira Abinader2017-07-061-2/+1
|
* [core] Per-tile glyph/icon atlasesJohn Firebaugh2017-06-131-2/+0
|
* [core] Per-bucket icon atlasesJohn Firebaugh2017-06-131-0/+1
|
* [core] Per-bucket glyph atlasesJohn Firebaugh2017-06-131-0/+2
|
* [core] Unify {Paint,Layout,Light}PropertiesJohn Firebaugh2017-05-151-1/+2
|
* [core] Move renderer/* files into sub-folders (#8983)Asheem Mamoowala2017-05-121-0/+86
Move renderer/* files into sub-folders