summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Port fix of gl-js issue #5546 (correct vertical orientation for single-glyph ↵upstream/start-collision-query-testsChris Loer2017-11-061-20/+28
| | | | labels)
* Pull in latest tests from mapbox-gl-js, update ignores.Chris Loer2017-11-062-4/+3
|
* update mapbox-gl-js to fix symbol-spacing/line-closeAnsis Brammanis2017-11-062-0/+32
|
* Fix unit tests:Chris Loer2017-11-063-5/+5
| | | | | | - Include "symbolBucketsChanged" in deciding whether to swap out last placement result for new placement. Even if no cross-tile symbol opacities have changed, we need to swap placements if any of the buckets have changed because the CollisionIndex will contain updated tile IDs. - Offline map fixture was affected by Shaping change from int->float, reset expected - Annotations#QueryFractionalZoomLevels/VisibleFeatures are densely placed enough on a 256px screen to trigger duplicate symbol detection on crossing zoom levels (which leads to some of the markers being hidden). Space out markers to avoid this problem.
* Rename CollisionBoxOpacityAttributes -> CollisionBoxDynamicAttributes.Chris Loer2017-11-066-45/+49
| | | | They're not really about opacity.
* Switch to "one-phase" tile loading:Chris Loer2017-11-065-11/+48
| | | | | | - Don't render tiles that don't have a symbol layer - Remove unused tiles/bucket from the cross tile symbol index - Clear cached "crossTileIDs" from symbol buckets that are removed from the symbol index
* use floats for shaping to fix render tests (#10389)Ansis Brammanis2017-11-062-5/+5
|
* only render one version of each symbolupstream/start-collision-tile-boundsAnsis Brammanis2017-11-032-4/+9
|
* drop symbols outside of tile boundaries earlierAnsis Brammanis2017-11-035-54/+38
|
* throttle placementupstream/start-collision-throttleAnsis Brammanis2017-11-033-7/+22
|
* Remove addressed TODOsChris Loer2017-11-032-5/+1
|
* Fix collision box dynamic updating logic to match tile boundaries used in ↵Chris Loer2017-11-032-20/+25
| | | | collision box generation.
* Fix "scale" and "textPixelRatio" calculations -- both of them need to ↵Chris Loer2017-11-031-3/+2
| | | | include overscaling factor, instead of neither.
* Fix infinite loop when minZoom == 0.Chris Loer2017-11-021-0/+6
|
* Port GL JS logic for generating extra collision circles in overscaled tiles.Chris Loer2017-11-027-20/+30
| | | | Unfortunately only re-enable one of the overscaling render tests -- the "Figueroa St" test works but gives somewhat different results than JS.
* fade symbols across tiles (#10361)Ansis Brammanis2017-11-029-150/+131
|
* Apparently parameter names can collide with method names for gcc?Chris Loer2017-11-012-6/+6
|
* More compiler appeasement.Chris Loer2017-11-011-2/+2
|
* Compiler appeasement.Chris Loer2017-11-012-3/+3
|
* Changes for circle-ci clang-tidy.Chris Loer2017-11-014-4/+5
|
* Add "icon-allow-overlap" to query_style.json in order to preserve test ↵Chris Loer2017-11-011-4/+8
| | | | behavior from when each source did collision detection separately instead of sharing the same index.
* Update unit test stubs to match new collision code.Chris Loer2017-11-014-7/+12
| | | | Disable annotation_tile test -- seems like maybe it makes sense to delete?
* Update Map.Offline unit test with new image fixture reflecting new collision ↵Chris Loer2017-11-011-0/+0
| | | | | | detection. (only glanced at the new results, but they look reasonable)
* GridIndex: add separate "query" method that doesn't return bounding boxes, ↵Chris Loer2017-11-014-12/+17
| | | | | | for use by unit test and FeatureIndex. Also: fix a bug that would cause results to be duplicated for query boxes that completely contained the index.
* Fix "vertexStartIndex" calculation for text symbols.Chris Loer2017-11-012-11/+27
| | | | This probably needs refactoring.
* Make sure to sort all symbol buckets the first time we get them ready for ↵Chris Loer2017-11-012-2/+2
| | | | upload.
* Disable tile clipping for symbols.Chris Loer2017-11-011-3/+3
|
* Don't do fade animations in MapMode::StillChris Loer2017-11-014-6/+14
|
* Starting on sorting.Chris Loer2017-10-317-10/+115
|
* Switch queryRenderedSymbols to use canonical tile IDsChris Loer2017-10-315-10/+8
|
* Store sourceID in IndexedSubfeature so that queryRenderedSymbols can filter ↵Chris Loer2017-10-319-14/+27
| | | | | | to appropriate source. TODO: should sourceID have a stronger type than std::string?
* Oops.Chris Loer2017-10-311-2/+2
|
* First implementation of queryRenderedSymbolsChris Loer2017-10-3125-144/+121
|
* Store tile id in indexedsubfeatureChris Loer2017-10-315-9/+17
|
* Re-enable vertical glyph support.Chris Loer2017-10-317-55/+42
|
* fix collisions in overscaled tiles [skip ci]Ansis Brammanis2017-10-312-3/+6
|
* fix flickering [skip ci]Ansis Brammanis2017-10-313-4/+8
|
* Make sure to mark symbols as collided if they don't fit on their line geometry.Chris Loer2017-10-311-1/+1
| | | | [skip ci]
* Make CollisionIndex's GridIndex large enough to include the padding around ↵Chris Loer2017-10-311-2/+2
| | | | | | | the viewport. Move cell size to 25px to be in sync with gl js [skip ci]
* Short circuit line label rendering for labels that are fully faded.Chris Loer2017-10-311-2/+8
| | | | [skip ci]
* Hook up "showCollisionBoxes" logic where "setPlacementConfig" logic used to be.Chris Loer2017-10-3112-61/+56
| | | | | Remove PlacementConfig [skip ci]
* Don't insert "unused" collision circles into the grid, it slows everything down!Chris Loer2017-10-311-4/+7
|
* Hook up tile distance calculation.Chris Loer2017-10-314-14/+35
| | | | Collision circles should now agree with labels pretty well even in pitched views.
* Oops, got the index length wrong for circle debug boxes.Chris Loer2017-10-311-1/+1
| | | | [skip ci]
* Stop doing collision detection in background.Chris Loer2017-10-3114-516/+35
| | | | | Remove CollisionTile. "Placement" in background is now just "layout for symbol buckets" (as opposed to layout for non-symbol buckets, which finishes in "redoLayout").
* upload symbol opacity buffers in main upload pass [skip ci]Ansis Brammanis2017-10-315-34/+81
|
* Flip line label collisions from broken to not broken.Chris Loer2017-10-311-1/+1
| | | | Don't worry, we'll squash all these embarrassing commits later.
* GridIndex support for queries fully containing or fully outside of gridChris Loer2017-10-312-0/+52
|
* Switch GridIndex to use float coordinates instead of int16s: fast way to ↵Chris Loer2017-10-314-21/+24
| | | | prevent flicker from coordinate rounding.
* remove placedText and placedIcon from SymbolInstanceAnsis Brammanis2017-10-313-7/+1
| | | | | | | Opacities are stored in a separate map in Placement and linked to the symbol instance by an id. Hopefully this will make it easier to apply semi-stale placements to newly-loaded tiles later on. [skip ci]