Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [core] PlacedSymbolData contains layer id | Mikhail Pozdnyakov | 2020-04-09 | 2 | -2/+6 | |
| | ||||||
* | [core][tile mode] Support variable placement + icon-text-fit | Mikhail Pozdnyakov | 2020-04-08 | 1 | -1/+15 | |
| | ||||||
* | Make location indicator bearing a paint property | Gali Nelle | 2020-04-08 | 7 | -36/+96 | |
| | | | | | | This change introduces a new property type, Rotation, that uses a custom interpolator, and that is currently applied to all style properties named "bearing", with a period attribute. | |||||
* | Add LocationIndicatorLayer | Gali Nelle | 2020-04-08 | 17 | -11/+1733 | |
| | | | | | New key is "G" in mbgl-glfw, cycling between no puck, centered in the viewport and positioned in Tokyo. | |||||
* | [core][tile mode] Fix placement mismatch for the labels with same geomerty | Mikhail Pozdnyakov | 2020-04-08 | 1 | -2/+9 | |
| | ||||||
* | [core][tile mode] Improve placement algorithm for variable labels | Mikhail Pozdnyakov | 2020-04-08 | 2 | -17/+26 | |
| | ||||||
* | [core][tile mode] Placement algorithm improvements | Mikhail Pozdnyakov | 2020-04-08 | 3 | -29/+81 | |
| | | | | | | | | | | | Now, the intersecting symbols are placed across all layers according to the following rules: 1) First we look, which of the tile border(s) the symbol intersects and prioritize the the symbol accordingly (high priority -> low priority): vertical & horizontal -> vertical -> horizontal 2) For the symbols that intersect the same tile border(s), assuming the tile border split symbol into several sections, we look at the minimal section length. The symbol with a larger minimal section length is placed first. 3) Finally, for the symbols that intersect the same tile border(s), and have equal minimal section length, we look at the anchor Y cordinate. | |||||
* | [core] Symbol by symbol placement for intersections | Mikhail Pozdnyakov | 2020-04-08 | 2 | -57/+70 | |
| | ||||||
* | [core] Introduce PlacementContext | Mikhail Pozdnyakov | 2020-04-08 | 2 | -371/+434 | |
| | | | | Make `placeSymbol()` a method and introduce copiable `PlacementContext`. | |||||
* | [build] Fix undefined behavour sanitizer (#16375) | zmiao | 2020-04-07 | 12 | -32/+53 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [build] Fix integer overflow runtime error for core part Temporarily remove circle ci UBSAN build precondition * [build] Enable all of the ubsans [build] Check runtime error [build] Update UBSAN_OPTION * [build] Add UBSAN blacklist [build] Ignore system libraries [build] Ignore vendor library * [build] Fix implicit conversion runtime error in core * [build] Fix division by zero runtime error * [build] Add unfixed error to ubsan blacklist * [build] Make UBSAN halt on error Revert "Temporary remove build precondition" * [build] Fix division by zero error * [build] Make UBSAN officially work without FIXME prefix * [build] Fix implicit conversion from int64_t to uint64_t * [build] Rename style test json file name * Address review findings | |||||
* | Refactor tileCover to support lod tiles | Mikko Pulkki | 2020-04-06 | 10 | -44/+511 | |
| | ||||||
* | [core] PlacedSymbolData includes viewport padding | Mikhail Pozdnyakov | 2020-04-02 | 3 | -3/+6 | |
| | ||||||
* | [core][tile mode] Implement API to collect placed symbols data | Mikhail Pozdnyakov | 2020-04-02 | 2 | -4/+56 | |
| | ||||||
* | [core] Introduce API to collect placed symbols data | Mikhail Pozdnyakov | 2020-04-02 | 5 | -4/+33 | |
| | | | | | | | | | | The following methods are added to the `Renderer` class: - `collectPlacedSymbolData()` enables or disables collecting of the placed symbols data - `getPlacedSymbolsData()` if collecting of the placed symbols data is enabled, returns the reference to the `PlacedSymbolData` vector holding the collected data. | |||||
* | [core] Add setMaxOverscaleFactorForParentTiles | Alexander Shalamov | 2020-04-01 | 12 | -14/+78 | |
| | ||||||
* | Hillshade bucket fix https://github.com/mapbox/mapbox-gl-native-ios/issues/240 | Aleksandar Stojiljkovic | 2020-04-01 | 1 | -2/+4 | |
| | | | | Fixes: https://github.com/mapbox/mapbox-gl-native-ios/issues/240 | |||||
* | [core] Move logging off the main thread | Juha Alanen | 2020-04-01 | 1 | -6/+47 | |
| | ||||||
* | [build] Disable clang-format for generated code (#16358) | Thiago Marcos P. Santos | 2020-03-31 | 10 | -0/+40 | |
| | | | | | | The code should be human readable but it is more important if the code in the generator itself is easier to understand. Nobody wants to play clang-format golf with these generators. | |||||
* | [core] Fix misc-* errors | Thiago Marcos P. Santos | 2020-03-30 | 2 | -3/+2 | |
| | | | | As reported by clang-tidy-8. | |||||
* | [core] Fix readability-* errors | Thiago Marcos P. Santos | 2020-03-30 | 52 | -403/+451 | |
| | | | | As reported by clang-tidy-8. | |||||
* | [core] Fix bugprone-string-integer-assignment errors | Thiago Marcos P. Santos | 2020-03-30 | 1 | -1/+1 | |
| | | | | As reported by clang-tidy-8. | |||||
* | [core] Fix bugprone-integer-division errors | Thiago Marcos P. Santos | 2020-03-30 | 1 | -1/+4 | |
| | | | | As reported by clang-tidy-8.too_small | |||||
* | [core] Fix bugprone-macro-parentheses errors | Thiago Marcos P. Santos | 2020-03-30 | 1 | -4/+2 | |
| | | | | As reported by clang-tidy-8. | |||||
* | [core] Fix bugprone-move-forwarding-reference errors | Thiago Marcos P. Santos | 2020-03-30 | 4 | -60/+51 | |
| | | | | As reported by clang-tidy-8. | |||||
* | [core] Fix bugprone-too-small-loop-variable errors | Thiago Marcos P. Santos | 2020-03-30 | 4 | -5/+7 | |
| | | | | As reported by clang-tidy-8. | |||||
* | [core] Fix google-build-explicit-make-pair errors | Thiago Marcos P. Santos | 2020-03-30 | 1 | -9/+9 | |
| | | | | As reported by clang-tidy-8. | |||||
* | [core] Fix google-default-arguments errors | Thiago Marcos P. Santos | 2020-03-30 | 1 | -2/+1 | |
| | | | | As reported by clang-tidy-8. | |||||
* | [core] Fix google-explicit-constructor errors | Thiago Marcos P. Santos | 2020-03-30 | 3 | -4/+3 | |
| | | | | As reported by clang-tidy-8. | |||||
* | [core] Fix google-readability-casting errors | Thiago Marcos P. Santos | 2020-03-30 | 5 | -19/+29 | |
| | | | | As reported by clang-tidy-8. | |||||
* | Fix assert on gfx resource cleanup | Mikko Pulkki | 2020-03-30 | 1 | -1/+1 | |
| | ||||||
* | Address review finding | zmiao | 2020-03-26 | 1 | -7/+13 | |
| | | | | Remove unncessary condition check | |||||
* | [core] Fix within meridian issue | zmiao | 2020-03-26 | 2 | -7/+38 | |
| | ||||||
* | [core][tile mode] Share seenCrossTileIDs across all placeLayer() calls | Mikhail Pozdnyakov | 2020-03-25 | 2 | -7/+15 | |
| | | | | Thus we obviate lots of repeated operations for already placed symbols. | |||||
* | [core][tile mode] Place tile intersecting labels first, across all layers | Mikhail Pozdnyakov | 2020-03-25 | 2 | -31/+34 | |
| | | | | | | | | Thus, we reduce the amount of label cut-offs in Tile mode. Before, labels were arranged within one symbol layer (one bucket), which was not enough for several symbol layers being placed at the same time. | |||||
* | [core] Introduce map mode specific Placement implementations | Mikhail Pozdnyakov | 2020-03-25 | 3 | -184/+275 | |
| | ||||||
* | [core] Introduce Placement::placeLayers() | Mikhail Pozdnyakov | 2020-03-25 | 5 | -28/+29 | |
| | ||||||
* | [core] Ability to set source-layer setProperty method | Mikhail Pozdnyakov | 2020-03-24 | 9 | -44/+22 | |
| | ||||||
* | [core] conversion::Layer uses setProperty API to set max/min zoom & filter | Mikhail Pozdnyakov | 2020-03-24 | 2 | -33/+16 | |
| | ||||||
* | [core] Layer::setProperty() can set min/max zoom and filter | Mikhail Pozdnyakov | 2020-03-24 | 1 | -2/+19 | |
| | ||||||
* | [core] Move generic setProperty() parts to the base Layer class | Mikhail Pozdnyakov | 2020-03-24 | 12 | -51/+28 | |
| | ||||||
* | [core] Fix modernize-pass-by-value errors | Thiago Marcos P. Santos | 2020-03-23 | 6 | -21/+17 | |
| | | | | As reported by clang-tidy-8. | |||||
* | [core] Fix modernize-deprecated-headers errors | Thiago Marcos P. Santos | 2020-03-23 | 1 | -1/+2 | |
| | | | | As reported by clang-tidy-8. | |||||
* | [core] Fix modernize-return-braced-init-list errors | Thiago Marcos P. Santos | 2020-03-23 | 8 | -45/+33 | |
| | | | | As reported by clang-tidy-8. | |||||
* | Bump mapbox-base to 1.2.0 | Alexander Shalamov | 2020-03-23 | 3 | -3/+3 | |
| | ||||||
* | [core] Fix performance-unnecessary-value-param errors | Thiago Marcos P. Santos | 2020-03-23 | 72 | -323/+383 | |
| | | | | As reported by clang-tidy-8. | |||||
* | [core] Fix performance-type-promotion-in-math-fn errors | Thiago Marcos P. Santos | 2020-03-23 | 6 | -19/+26 | |
| | | | | As reported by clang-tidy-8. | |||||
* | [core] Fix performance-inefficient-vector-operation errors | Thiago Marcos P. Santos | 2020-03-23 | 2 | -0/+2 | |
| | | | | As reported by clang-tidy-8. | |||||
* | [core] Fix performance-unnecessary-copy-initialization errors | Thiago Marcos P. Santos | 2020-03-23 | 1 | -1/+1 | |
| | | | | As reported by clang-tidy-8. | |||||
* | [core] Fix performance-for-range-copy errors | Thiago Marcos P. Santos | 2020-03-23 | 5 | -8/+8 | |
| | | | | As reported by clang-tidy-8. | |||||
* | [core] Render::clearData clears fonts | Mikhail Pozdnyakov | 2020-03-20 | 1 | -0/+1 | |
| |