summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Hillshade bucket fix https://github.com/mapbox/mapbox-gl-native-ios/issues/240upstream/alexshalamov_cp_16362_to_1.5.0Aleksandar Stojiljkovic2020-04-021-2/+4
| | | | Fixes: https://github.com/mapbox/mapbox-gl-native-ios/issues/240
* Fix assert on gfx resource cleanupMikko Pulkki2020-03-311-1/+1
|
* Address review findingzmiao2020-03-261-7/+13
| | | | Remove unncessary condition check
* [core] Fix within meridian issuezmiao2020-03-262-7/+38
|
* [core][tile mode] Share seenCrossTileIDs across all placeLayer() callsMikhail Pozdnyakov2020-03-252-7/+15
| | | | Thus we obviate lots of repeated operations for already placed symbols.
* [core][tile mode] Place tile intersecting labels first, across all layersMikhail Pozdnyakov2020-03-252-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 implementationsMikhail Pozdnyakov2020-03-253-184/+275
|
* [core] Introduce Placement::placeLayers()Mikhail Pozdnyakov2020-03-255-28/+29
|
* [core] Ability to set source-layer setProperty methodMikhail Pozdnyakov2020-03-249-44/+22
|
* [core] conversion::Layer uses setProperty API to set max/min zoom & filterMikhail Pozdnyakov2020-03-242-33/+16
|
* [core] Layer::setProperty() can set min/max zoom and filterMikhail Pozdnyakov2020-03-241-2/+19
|
* [core] Move generic setProperty() parts to the base Layer classMikhail Pozdnyakov2020-03-2412-51/+28
|
* [core] Fix modernize-pass-by-value errorsThiago Marcos P. Santos2020-03-236-21/+17
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-deprecated-headers errorsThiago Marcos P. Santos2020-03-231-1/+2
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-return-braced-init-list errorsThiago Marcos P. Santos2020-03-238-45/+33
| | | | As reported by clang-tidy-8.
* Bump mapbox-base to 1.2.0Alexander Shalamov2020-03-233-3/+3
|
* [core] Fix performance-unnecessary-value-param errorsThiago Marcos P. Santos2020-03-2372-323/+383
| | | | As reported by clang-tidy-8.
* [core] Fix performance-type-promotion-in-math-fn errorsThiago Marcos P. Santos2020-03-236-19/+26
| | | | As reported by clang-tidy-8.
* [core] Fix performance-inefficient-vector-operation errorsThiago Marcos P. Santos2020-03-232-0/+2
| | | | As reported by clang-tidy-8.
* [core] Fix performance-unnecessary-copy-initialization errorsThiago Marcos P. Santos2020-03-231-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix performance-for-range-copy errorsThiago Marcos P. Santos2020-03-235-8/+8
| | | | As reported by clang-tidy-8.
* [core] Render::clearData clears fontsMikhail Pozdnyakov2020-03-201-0/+1
|
* [core] Introduce Renderer::clearData() instead of keepRenderData map optionsMikhail Pozdnyakov2020-03-207-25/+8
| | | | | | | | | | `Renderer::clearData()` is a better API than the removed `MapOptions::keepRenderData()`: - gives more flexibility to the client - similar to the existing `Renderer::reduceMemoryUse()` - the `MapOptions::keepRenderData()` API implementation could not handle the raise condition, which happened if the new still image request had come before all tiles from the previous requests were loaded. Co-authored-by: Dane Springmeyer <dane@mapbox.com>
* Add additional transformState::latLngToScreenCoordinate getter (#16311)galinelle2020-03-192-2/+7
| | | | | | This change adds a latLngToScreenCoordinate overload, to retrieve the projected vec4 in additional to the ScreenCoordinate object, that is useful to detect whether the projected latLng is in front or behind the camera.
* Refactor within functionzmiao2020-03-192-80/+54
|
* [core] Using TileCoordinates for geometry comparisonzmiao2020-03-193-166/+179
|
* [core] Add ImageManager::clear()Mikhail Pozdnyakov2020-03-183-0/+16
|
* [core] Add RenderOrchestrator::clearData()Mikhail Pozdnyakov2020-03-184-5/+19
|
* [core][tile|static mode] Introduce MapOptions::keepRenderData() flagMikhail Pozdnyakov2020-03-186-4/+28
| | | | Render orchestrator stores the render data between render frames if this flag is set.
* start using tname variableDane Springmeyer2020-03-161-6/+6
|
* [core] Fix crash at Placement::getSymbolPlacement()Mikhail Pozdnyakov2020-03-131-1/+1
|
* [core] Binary size fixupMikhail Pozdnyakov2020-03-121-38/+46
|
* [core] Collision index uses doubled padding with the tilted viewMikhail Pozdnyakov2020-03-121-3/+11
|
* [core] Variable labels stick to latest anchor if the view is tiltedMikhail Pozdnyakov2020-03-122-22/+29
| | | | This is done in order to improve labels stability and for the performace reasons.
* [core] Do not squeeze placement period if the view is tiltedMikhail Pozdnyakov2020-03-123-14/+17
| | | | | | If the view is not tilted, we want the new symbols to show up faster, so we squeeze the placement period. On contrary, with the tilted view it's more important to make placement rarely for performance reasons and as the new symbols are normally "far away" and the user is not that interested to see them ASAP.
* [core] Place already visible symbols first and hidden symbols lastMikhail Pozdnyakov2020-03-122-1/+29
|
* [core] Not filter express `in` in `filter`.kevin2020-03-111-1/+6
|
* [core] Adjust mapbox-gl-native for the updated debug shader semanticsMikhail Pozdnyakov2020-03-118-23/+39
|
* Bump mapbox-gl-jsMikhail Pozdnyakov2020-03-1119-353/+365
|
* [core][tile mode] Fix assertion at `line-center` placement handlingMikhail Pozdnyakov2020-03-101-6/+8
| | | | The `symbolIntersectsTileEdges` algorithm should not be applied to the symbols with `line-center` placement
* [core] CollisionIndex::intercectsTileEdges -> intersectsTileEdgesMikhail Pozdnyakov2020-03-063-5/+5
|
* [core] Tile mode placement algorithm must consider icons bounding boxesMikhail Pozdnyakov2020-03-061-36/+42
| | | | | | Tile mode placement algorithm now checks if bounding boxes for both label text and icon are intersecting the edges of the tiles. Before, it checked only text bounding boxes and thus label icons might have got cut off.
* [core] Remove unnecessary intermediate PolygonFeaturezmiao2020-03-051-41/+8
|
* [core] Fix within expression serialization + fix within expression equal ↵zmiao2020-03-052-17/+33
| | | | operator
* [core] Fix within case when point is on polygon boundaryzmiao2020-03-051-0/+9
|
* [core] Make within expression support generic geoJSON datazmiao2020-03-051-22/+51
|
* [core] Use weak annotation managerAlexander Shalamov2020-03-057-26/+42
| | | | | | | Map and renderer / orchestrator should be able to run on a separate threads, however, legacy AnnotationManager is shared between Map and Renderer, therefore is not a thread safe. Until AnnotationManager is deprecated and removed from a code-base, use it only via weak pointers.
* [core] Drop BucketPlacementParametersMikhail Pozdnyakov2020-03-037-23/+15
|
* [core] Split LayerPlacementData and BucketPlacementDataMikhail Pozdnyakov2020-03-032-4/+6
|
* [core] Get rid of LayerPlacementData::firstInBucketMikhail Pozdnyakov2020-03-034-8/+6
|