summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [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
|
* [core] Encapsulate placement code handling symbols sort rangesMikhail Pozdnyakov2020-03-038-53/+48
|
* Disable depth in heatmap offscreen rendering.Aleksandar Stojiljkovic2020-03-021-15/+13
| | | | It triggers Metal depth stencil validation error since depth test is enabled with no depth attachment.
* [core] Fix iterators in addRegularDash()Mikhail Pozdnyakov2020-02-281-10/+14
| | | | Fix using of invalid iterators.
* [build] Make csscolorparser and parsedate vendorsThiago Marcos P. Santos2020-02-274-1064/+0
| | | | | | They have a different license from the rest of the code and this will make it explicit. Also the script for generating the license will dectect them correctly.
* [core] FileSourceManager::getFileSource() returns PassRefPtrMikhail Pozdnyakov2020-02-262-3/+4
|
* [core] Fix Color serializationAlexander Shalamov2020-02-262-10/+12
|
* [core] Generate layer codeAlexander Shalamov2020-02-269-461/+650
|
* [core] Add layer serialization methodAlexander Shalamov2020-02-262-22/+95
|
* Backport https://github.com/mapbox/mapbox-gl-js/pull/9333zmiao2020-02-266-449/+427
|
* [core] Return pitch bounds in degreesJuha Alanen2020-02-261-2/+2
|
* [core] Add min and max pitch optionsJuha Alanen2020-02-255-5/+79
|
* [core] Dismiss actors from sprite loaderMikhail Pozdnyakov2020-02-244-87/+40
| | | | and get rid of `SpriteLoaderWorker`, use `scheduleAndReplyValue()` API instead.
* [core] Add bounding box overlapping check before line within polygon testzmiao2020-02-213-40/+141
|
* [test-runner] Add new metricszmiao2020-02-211-1/+1
|
* [core] Remove unnecessary includes, fix commentszmiao2020-02-212-3/+1
| | | | This reverts commit b5c386ad7708ca9fe14f219b0ffc94cf6ce8fc88.
* [core] Update unti tests. Remove unnecessary debugging codezmiao2020-02-213-170/+104
|
* [core] Move geometry within algorithm to utilzmiao2020-02-213-147/+168
|
* [core] Add support for "line within polygon"zmiao2020-02-211-4/+197
|