Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | speed up fading when zooming even more | Ansis Brammanis | 2019-08-20 | 1 | -1/+1 |
| | | | | And a linear adjustment seems to make more sense. | ||||
* | [core] make symbols fade out faster while zooming out | Ansis Brammanis | 2019-08-20 | 3 | -13/+24 |
| | | | | | | | | | | | Zooming outcan make symbols overlap quickly. The area previously covered by the viewport is covered by a lot of colliding labels while the surrounding area has no labels. This difference produces an unwanted effect. This reduces that effect by: - reducing the fade duration while zooming out - doing placement more frequently while zooming out | ||||
* | [core] Fix combination of icon-text-fit with text-variable-anchors and ↵ | Alexander Shalamov | 2019-08-20 | 13 | -112/+254 |
| | | | | text-writing-mode | ||||
* | [core] also remove version info in ImageManager when removing an image (#15397) | Konstantin Käfer | 2019-08-19 | 1 | -0/+1 |
| | |||||
* | [core] Fix use after std::move detected by clang-tidy | Thiago Marcos P. Santos | 2019-08-19 | 3 | -3/+5 |
| | | | | | Detected by the bot being setup at https://github.com/mapbox/mapbox-gl-native/pull/15385. | ||||
* | [core] Fix layer impl cast in render layer implementations | Mikhail Pozdnyakov | 2019-08-16 | 10 | -0/+46 |
| | | | | | | This PR puts `impl()` functions definitions into a nameless namespace to provide internal linkage and to make sure that appropriate cast function is invoked. | ||||
* | Indroduce clusterProperty option for aggregation (#15287) | zmiao | 2019-08-16 | 8 | -27/+162 |
| | | | | | | | | | | * indroduce clusterProperty option for aggregation * remove unnecessary codes * update geojson_option conversion * fix reviewing findings | ||||
* | [core] Check type of a convertible value when constructing legacy filterupstream/node-release | Alexander Shalamov | 2019-08-16 | 1 | -1/+6 |
| | |||||
* | [core][node] Serialize formatted expression's text-color option | Alexander Shalamov | 2019-08-15 | 1 | -0/+7 |
| | | | | This enables proper round-tripping for serialized format expression. | ||||
* | [core] Clear collision text boxes between symbol placement iterations | Alexander Shalamov | 2019-08-14 | 1 | -0/+1 |
| | |||||
* | [core] Enable variable placement with allowed text overlap | Mikhail Pozdnyakov | 2019-08-13 | 1 | -2/+6 |
| | |||||
* | [core] Simplifications to variable text placement code path | Mikhail Pozdnyakov | 2019-08-13 | 2 | -12/+10 |
| | |||||
* | [core] Render half-width glyphs in upright orientation | Alexander Shalamov | 2019-08-13 | 6 | -8/+31 |
| | | | | | | | | | | This change forces glyphs whose natural orientation in vertical writing mode is 'sideways' to be rendered in upright orientation (only for non complex text layouts). This is different compared to W3C / browser behavior that is by default, renders glyphs in their respective natural orientation. In the future, there might need to add a new layout property that would control glyph orientation separately (e.g., text-glyph-orientation: natural | upright). | ||||
* | [core] Use constexpr map for verticalized punctiation | Alexander Shalamov | 2019-08-13 | 1 | -2/+4 |
| | |||||
* | [core] Break lines for vertical writing mode | Alexander Shalamov | 2019-08-13 | 1 | -4/+3 |
| | |||||
* | [core] Rotate text collision box based on text-rotation value | Alexander Shalamov | 2019-08-13 | 2 | -5/+7 |
| | |||||
* | [core] Implement support for "text-writing-mode" layout property | Alexander Shalamov | 2019-08-13 | 16 | -107/+343 |
| | |||||
* | [core] Add style bindings for "text-writing-mode" layout property | Alexander Shalamov | 2019-08-13 | 7 | -2/+50 |
| | |||||
* | Changelog entries and a nit for #15281 | Aleksandar Stojiljkovic | 2019-08-08 | 1 | -1/+1 |
| | |||||
* | [core] Reuse flyTo constant screen velocity calculation for easeTo ↵ | Aleksandar Stojiljkovic | 2019-08-08 | 2 | -18/+26 |
| | | | | | | | | | | | | | implementation. When using flyTo for easeTo: Limit zoom out to min(startZoom, targetZoom). Reduce cinematic zoom in animation at the end of transition, Linear zoom interpolation. The patch also sets linear interpolation for flyTo edgeInsets animation, as it looks more appropriate to follow the approach taken for pitch and bearing. Fixes: #15144 | ||||
* | [core] easeTo: linear interpolation over zoom instead of scale | Aleksandar Stojiljkovic | 2019-08-08 | 1 | -6/+5 |
| | | | | Fixes: 15144 | ||||
* | [core] Enable opaque pass for background layer. fix heatmap+background test. | Aleksandar Stojiljkovic | 2019-08-05 | 2 | -12/+21 |
| | | | | | | Follow the approach from mapbox-gl-js for enabling opaque pass for background layer (same as for fill layer). Fix combinations/heatmap-translucent--background-opaque render test. | ||||
* | [core] Remove ProjectedCollisionBox from CollisionBox | Mikhail Pozdnyakov | 2019-08-05 | 7 | -64/+91 |
| | | | | | - Minus 20 bytes from CollisionBox size. - Fix constness at Placement::placeBucket | ||||
* | [core] Introduce ProjectedCollisionBox type | Mikhail Pozdnyakov | 2019-08-05 | 5 | -60/+83 |
| | | | | | | ProjectedCollisionBox encapsulates geometry of the projected collision box, it is using union and thus provides memory save - 12 bytes per collision box instance. | ||||
* | [core] Remove unused CollisionBox::offset | Mikhail Pozdnyakov | 2019-08-05 | 2 | -8/+9 |
| | |||||
* | [core] Fix using of uninitialized circle in collision index | Mikhail Pozdnyakov | 2019-08-05 | 1 | -3/+6 |
| | | | | | In `CollisionIndex::placeLineFeature()` check that previous circle was initialized before asking its center coordinates. | ||||
* | [core] Increase round join approximation precision | Alexander Shalamov | 2019-08-05 | 1 | -1/+1 |
| | |||||
* | [core] A more accurate algorithm for approximating round line joins | Alexander Shalamov | 2019-08-05 | 1 | -17/+25 |
| | | | | Port for https://github.com/mapbox/mapbox-gl-js/pull/8275 | ||||
* | [core] Fix render tile set source update | Mikhail Pozdnyakov | 2019-08-01 | 1 | -1/+1 |
| | | | | | | Before this change, the `RenderTileSetSource` implementation ignored update calls for the sources whose description was not yet loaded and it lead to missing of relayout requests. | ||||
* | [core] Limit pitch based on edge insets. Fix max Z calculation in getProjMatrix. | Aleksandar Stojiljkovic | 2019-08-01 | 3 | -16/+38 |
| | | | | | | | | | | | | | Patch partly fixes #15163 in a way that it doesn't allow loading tens of thousands of tiles and attempt to show area above horizon: Limit pitch based on edge insets. It is not too bad - current limit of 60 degrees stays active until center of perspective is moved towards the bottom, to 84% of screen height. The plan is to split removal of 60 degrees limit to follow up patch. Fix max Z calculation in getProjMatrix. TransformState::getProjMatrix calculation of farZ was complex with possibility to lead to negative z values. Replacing it with simpler, precise calculation: furthestDistance = cameraToCenterDistance / (1 - tanFovAboveCenter * std::tan(getPitch())); TransformState::getProjMatrix calculation of farZ was an aproximation. Replacing it with simpler, but precise calculation. Related to: #15163 | ||||
* | [core] Fix int overflow issue in GridIndex | Alexander Shalamov | 2019-07-30 | 2 | -16/+18 |
| | |||||
* | [build] Use mapbox-base optional | Bruno de Oliveira Abinader | 2019-07-29 | 2 | -6/+4 |
| | |||||
* | [core] Shrink RenderOrchestrator::filteredLayersForSource in reduceMemoryUse() | Mikhail Pozdnyakov | 2019-07-29 | 1 | -3/+1 |
| | | | | | Before this change, `RenderOrchestrator::filteredLayersForSource` shrank inside `createRenderTree()`, which potentially might have affected rendering performance. | ||||
* | [core] Fix assertion at RenderRasterLayer::prepare() | Mikhail Pozdnyakov | 2019-07-26 | 2 | -2/+5 |
| | | | | | It shall consider that image data might not be available until the source loads it. | ||||
* | [core] Avoid copying feature properties | Mikhail Pozdnyakov | 2019-07-25 | 8 | -8/+18 |
| | |||||
* | [core] Simplfy ToGeometryCollection | Mikhail Pozdnyakov | 2019-07-25 | 1 | -32/+7 |
| | |||||
* | [core] Optimize Query Rendered Features API | Mikhail Pozdnyakov | 2019-07-25 | 2 | -7/+9 |
| | | | | | | | | This PR filters out invisible layers before quering features (rather than after, like it happened before). With this change `API_queryRenderedFeaturesAll` performance test passes almost two times faster. | ||||
* | [core] GeometryCollection must not be implicitly copied | Mikhail Pozdnyakov | 2019-07-24 | 5 | -15/+21 |
| | |||||
* | [core] Optimize RenderLineLayer::queryIntersectsFeature | Mikhail Pozdnyakov | 2019-07-24 | 1 | -11/+24 |
| | |||||
* | [core] Default GeometryTileFeature::getGeometries() implementation | Mikhail Pozdnyakov | 2019-07-24 | 3 | -4/+6 |
| | |||||
* | [core] Force getGeometries() return const ref | Alexander Shalamov | 2019-07-24 | 12 | -24/+32 |
| | |||||
* | [core] Introduce VertexVector::extend() and use it in placement code. | Mikhail Pozdnyakov | 2019-07-23 | 2 | -46/+44 |
| | |||||
* | [core] Remove unused field from icon buffer | Alexander Shalamov | 2019-07-23 | 1 | -1/+0 |
| | |||||
* | [core] Release quad data after vertex buffers are created | Alexander Shalamov | 2019-07-23 | 5 | -97/+180 |
| | |||||
* | [core] SymbolBacket creates collision buffers optionally | Mikhail Pozdnyakov | 2019-07-22 | 5 | -40/+52 |
| | | | | sizeof(SymbolBucket) : 1024 -> 704 | ||||
* | [core] Symbol bucket uses shared layout | Mikhail Pozdnyakov | 2019-07-22 | 6 | -91/+93 |
| | | | | sizeof(SymbolBucket): 2296 -> 1024 | ||||
* | [core] sizeof(SymbolBucket) 2312 -> 2296 | Mikhail Pozdnyakov | 2019-07-22 | 2 | -15/+22 |
| | |||||
* | [core] Introduce RenderTileSetSource class | Mikhail Pozdnyakov | 2019-07-22 | 8 | -125/+132 |
| | | | | Encapsulates the tiles update logic based on the given tile set. | ||||
* | [core] Avoid unneeded tile sets copying at sources code | Mikhail Pozdnyakov | 2019-07-22 | 9 | -33/+22 |
| | |||||
* | [core] Render sources keep the existing tiles until the new tileset is ready | Mikhail Pozdnyakov | 2019-07-22 | 3 | -12/+24 |
| | | | | | In Continuous map mode, keep the existing tiles if the new tileset is not yet available, thus providing smart style transitions without flickering. |