Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | WIP: Don't replace a fully loaded tile with its parent or child until ↵upstream/start-collision-one-phase | Chris Loer | 2017-11-02 | 9 | -97/+169 |
| | | | | | | | | | symbols are loaded, to prevent flicker. When a tile isn't replacing another tile (e.g. on pan operations), start rendering non-symbol layers before symbols finish loading. Turned off stencil clipping to get tile combinations working. Turned off fade animations just to make debugging easier. | ||||
* | Apparently parameter names can collide with method names for gcc? | Chris Loer | 2017-11-01 | 2 | -6/+6 |
| | |||||
* | More compiler appeasement. | Chris Loer | 2017-11-01 | 1 | -2/+2 |
| | |||||
* | Compiler appeasement. | Chris Loer | 2017-11-01 | 2 | -3/+3 |
| | |||||
* | Changes for circle-ci clang-tidy. | Chris Loer | 2017-11-01 | 4 | -4/+5 |
| | |||||
* | Add "icon-allow-overlap" to query_style.json in order to preserve test ↵ | Chris Loer | 2017-11-01 | 1 | -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 Loer | 2017-11-01 | 4 | -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 Loer | 2017-11-01 | 1 | -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 Loer | 2017-11-01 | 4 | -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 Loer | 2017-11-01 | 2 | -11/+27 |
| | | | | This probably needs refactoring. | ||||
* | Make sure to sort all symbol buckets the first time we get them ready for ↵ | Chris Loer | 2017-11-01 | 2 | -2/+2 |
| | | | | upload. | ||||
* | Disable tile clipping for symbols. | Chris Loer | 2017-11-01 | 1 | -3/+3 |
| | |||||
* | Don't do fade animations in MapMode::Still | Chris Loer | 2017-11-01 | 4 | -6/+14 |
| | |||||
* | Starting on sorting. | Chris Loer | 2017-10-31 | 7 | -10/+115 |
| | |||||
* | Switch queryRenderedSymbols to use canonical tile IDs | Chris Loer | 2017-10-31 | 5 | -10/+8 |
| | |||||
* | Store sourceID in IndexedSubfeature so that queryRenderedSymbols can filter ↵ | Chris Loer | 2017-10-31 | 9 | -14/+27 |
| | | | | | | to appropriate source. TODO: should sourceID have a stronger type than std::string? | ||||
* | Oops. | Chris Loer | 2017-10-31 | 1 | -2/+2 |
| | |||||
* | First implementation of queryRenderedSymbols | Chris Loer | 2017-10-31 | 25 | -144/+121 |
| | |||||
* | Store tile id in indexedsubfeature | Chris Loer | 2017-10-31 | 5 | -9/+17 |
| | |||||
* | Re-enable vertical glyph support. | Chris Loer | 2017-10-31 | 7 | -55/+42 |
| | |||||
* | fix collisions in overscaled tiles [skip ci] | Ansis Brammanis | 2017-10-31 | 2 | -3/+6 |
| | |||||
* | fix flickering [skip ci] | Ansis Brammanis | 2017-10-31 | 3 | -4/+8 |
| | |||||
* | Make sure to mark symbols as collided if they don't fit on their line geometry. | Chris Loer | 2017-10-31 | 1 | -1/+1 |
| | | | | [skip ci] | ||||
* | Make CollisionIndex's GridIndex large enough to include the padding around ↵ | Chris Loer | 2017-10-31 | 1 | -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 Loer | 2017-10-31 | 1 | -2/+8 |
| | | | | [skip ci] | ||||
* | Hook up "showCollisionBoxes" logic where "setPlacementConfig" logic used to be. | Chris Loer | 2017-10-31 | 12 | -61/+56 |
| | | | | | Remove PlacementConfig [skip ci] | ||||
* | Don't insert "unused" collision circles into the grid, it slows everything down! | Chris Loer | 2017-10-31 | 1 | -4/+7 |
| | |||||
* | Hook up tile distance calculation. | Chris Loer | 2017-10-31 | 4 | -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 Loer | 2017-10-31 | 1 | -1/+1 |
| | | | | [skip ci] | ||||
* | Stop doing collision detection in background. | Chris Loer | 2017-10-31 | 14 | -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 Brammanis | 2017-10-31 | 5 | -34/+81 |
| | |||||
* | Flip line label collisions from broken to not broken. | Chris Loer | 2017-10-31 | 1 | -1/+1 |
| | | | | Don't worry, we'll squash all these embarrassing commits later. | ||||
* | GridIndex support for queries fully containing or fully outside of grid | Chris Loer | 2017-10-31 | 2 | -0/+52 |
| | |||||
* | Switch GridIndex to use float coordinates instead of int16s: fast way to ↵ | Chris Loer | 2017-10-31 | 4 | -21/+24 |
| | | | | prevent flicker from coordinate rounding. | ||||
* | remove placedText and placedIcon from SymbolInstance | Ansis Brammanis | 2017-10-31 | 3 | -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] | ||||
* | keep rendering until labels fade in [skip ci] | Ansis Brammanis | 2017-10-31 | 4 | -43/+52 |
| | |||||
* | switch `float targetOpacity` to `bool placed` | Ansis Brammanis | 2017-10-31 | 3 | -35/+43 |
| | | | | and make `Placement.commit(...)` return whether anything changed. | ||||
* | fix incorrectly hidden symbols | Ansis Brammanis | 2017-10-31 | 2 | -2/+11 |
| | |||||
* | fix collision box opacity [skip ci] | Ansis Brammanis | 2017-10-31 | 1 | -2/+2 |
| | |||||
* | add a couple of assertions [skip ci] | Ansis Brammanis | 2017-10-31 | 2 | -0/+5 |
| | |||||
* | implement fading within tiles [skip ci] | Ansis Brammanis | 2017-10-31 | 8 | -21/+35 |
| | |||||
* | Fix segment overflow bug for collision circles. | Chris Loer | 2017-10-31 | 1 | -1/+2 |
| | | | | [skip ci] | ||||
* | Initial implementation of debug collision circles | Chris Loer | 2017-10-31 | 11 | -38/+187 |
| | | | | | | | - Naive copy-pasting of collision box code: should factor out more of the commonalities - "Used circle" logic seems to be working correctly - Rendering seems to break if there are too many circles (probably something to do with segment logic?) [skip ci] | ||||
* | Move CollisionIndex to use GridIndex instead of boost::rtree. | Chris Loer | 2017-10-31 | 5 | -73/+130 |
| | | | | | | - Stops crash on inserting line labels - Breaks queryRenderedSymbols for now. [skip ci] | ||||
* | Hook up placement updates for collision boxes. | Chris Loer | 2017-10-31 | 2 | -1/+18 |
| | |||||
* | use the values in the collisionbox opacity buffer [skip ci] | Ansis Brammanis | 2017-10-31 | 4 | -9/+54 |
| | |||||
* | Starting implementation of debug collision boxes. | Chris Loer | 2017-10-31 | 13 | -87/+159 |
| | | | | | - Dynamic buffers not hooked up yet - Circles not hooked up yet | ||||
* | start running new placement [skip ci] | Ansis Brammanis | 2017-10-31 | 17 | -226/+369 |
| | |||||
* | update shaders and create symbol opacity buffer | Ansis Brammanis | 2017-10-31 | 13 | -75/+68 |
| | |||||
* | Add basic unit test for GridIndex. | Chris Loer | 2017-10-31 | 2 | -0/+54 |
| |