summaryrefslogtreecommitdiff
path: root/src/mbgl
Commit message (Collapse)AuthorAgeFilesLines
* [core] Add removeFeatureState APIJuha Alanen2019-09-188-0/+91
|
* [core] Feature state support to RenderLayer classesJuha Alanen2019-09-1812-20/+31
|
* [core] Add feature state support to queryRenderedFeatures APIJuha Alanen2019-09-1810-17/+43
|
* [core] Add support for set/getFeatureState APIsJuha Alanen2019-09-186-0/+73
|
* [core] Add SourceFeatureState class to handle feature statesJuha Alanen2019-09-182-0/+95
|
* [core] Add setFeatureState API to Tile classesJuha Alanen2019-09-185-1/+35
|
* [core] Add feature state support to bucket classesJuha Alanen2019-09-1816-42/+208
|
* [core] Add feature-state compound expressionJuha Alanen2019-09-181-0/+15
|
* [core] Add feature state support to isFeatureConstant expressionJuha Alanen2019-09-181-1/+2
|
* [core] Add feature state support to expressionJuha Alanen2019-09-182-0/+27
|
* [Core] Fix wrong `maxzoom` setting of tileSet when using URL source (#15581)zmiao2019-09-172-6/+30
| | | | | | | | | | | | * [core] Take max/min zoom option from style if they are set * [core] std::move input value * [Core] Add changelogs * [Core] Fix clang-format reported error * [Core] fix clang-tidy reported error
* [core] Fix for FormatSectionOverrides::hasOverrideAlexander Shalamov2019-09-171-11/+4
|
* [core] Coalesce buckets updates from several tilesMikhail Pozdnyakov2019-09-133-6/+24
|
* [core] Initiate new placement only when a new bucket appearesMikhail Pozdnyakov2019-09-133-14/+23
|
* [core] Bitmask operations for enumsMikhail Pozdnyakov2019-09-134-49/+4
|
* [core] Fix placement for updated bucketsMikhail Pozdnyakov2019-09-132-16/+10
| | | | | Buckets update initiates new placement, so that newly added symbols are placed and shown immediately.
* [core] Fix compilation failure caused by compilation warning for gcc 8Ming Li2019-09-121-2/+7
| | | | | | | When compiling with gcc 8.3 under linux, I've got compiler error caused by the following warning: ../src/mbgl/util/chrono.cpp:26:26: error: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Werror=format-truncation=] I need to slightly increase the buffer size to get rid of the warning.
* [core] Update MapObserver::onDidFinishRenderingFrame() APIMikhail Pozdnyakov2019-09-121-1/+1
|
* [core] Set fading tiles flag at TilePyramid::updateFadingTiles()Mikhail Pozdnyakov2019-09-121-3/+3
|
* [core] Use mbgl::underlying_type in style propertiesBruno de Oliveira Abinader2019-09-1112-216/+228
|
* [core] Expose mbgl::style::Light::setPropertyBruno de Oliveira Abinader2019-09-112-0/+196
| | | | Works the same way as mbgl::style::set{Paint,Layout}Property functions.
* [core, ios, macos] SDK objects should hold weak pointers to the core style ↵Mikhail Pozdnyakov2019-09-091-1/+6
| | | | objects (#15539)
* [core] Fix Integer overflow when converting tileCoordinates to LatLon (#15560)zmiao2019-09-051-2/+2
| | | | | | * [core] fix integer overflow * [core] Add change log
* [core, ios] Call transitionFinishFn for jumpTo. (#15473)Julian Rex2019-09-051-0/+9
|
* Always call onSourceLoaded observers (#15548)Konstantin Käfer2019-09-034-3/+6
| | | | | | | | * [core] add sources to source collection before triggering load * [test] add testcase for #15514 * [core] also call onSourceLoaded observers when no network request was necessary
* [core] Enable `text-offset` with variable label placementMikhail Pozdnyakov2019-09-038-47/+110
| | | | Port of https://github.com/mapbox/mapbox-gl-js/pull/8642
* [core] DEMData: do decode on GPU (port mapbox/mapbox-gl-js#8694)Aleksandar Stojiljkovic2019-08-3015-519/+521
| | | | | | | | | | | This is first part of work on porting mapbox/mapbox-gl-js#8694 - in follow up patch(es) it is required to remove CPU side copy using 2d canvas support on all supported platforms, similar to approach taken in gl.js https://github.com/mapbox/mapbox-gl-js/pull/8694/files#diff-34dbe5f7de34dc4b9a8745dcde9bdc37R48 Decoding on CPU removed. Padding is still done in DEMData() but, instead od doing it wwhile decoding, it is using memcpy to pad original values. Rebase to latest mapbox-gl-js master and re-generate shaders. Partly fixes: #15503
* [core] fix collisionBox alignment when Icon/text translation is enabled (#15467)zmiao2019-08-305-142/+195
| | | | | | | | | | | | | | | | | | * add initial fix * fix bug for collision circle * refind code structure * fix indentation * update test * refind code structure * Add changelog * Add comment for boolean
* [core] make padding optional when camera position is requested.Łukasz Paczos2019-08-295-6/+6
| | | | When padding is not provided, the current one that's cached in the TransformState is going to be returned.
* [core] Remove programCacheDir parameter from ProgramParametersAnder Conselvan de Oliveira2019-08-277-35/+9
| | | | | | Binary shader support has been removed in commit c2f974f2a573 ([core] Remove binary shader support). This left-over parameter is not used anywhere anymore.
* [core] fix mixed sdf + non-sdf icon rendering in one layer (#15456)zmiao2019-08-269-105/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] fix icon symbol rendring when sdf and non-sdf icon in the same symbol layer * fix build error * fix typo * revert renderableSegment change * simplify codes * fix build error * refine sdf icon flag * [core] fix mixed sdf + non-sdf icon rendering in one layer * remove iconstatus getter in stymbol bucket * fix review findings * provide bitwise operator for SymbolContent enum * use MBGL_MBGL_CONSTEXPR * add one missing update for sdfIcon * make renderer symbol type as enum
* [core] Fix tileCover / TileCoordinate fromScreenCoordinate(#15442)Aleksandar Stojiljkovic2019-08-235-16/+27
| | | | | | | Remove unecessary tile coordinate unproject -> project step. Unproject+project isn't always a noop and this was the issue leading to wrong cover calculation in high pitch values. Fixes: https://github.com/mapbox/mapbox-gl-native/issues/15442
* [core] Export symbol placement update status from MapObserverMikhail Pozdnyakov2019-08-235-9/+11
|
* [core] Fill layer pattern change must cause re-layoutMikhail Pozdnyakov2019-08-221-0/+1
| | | | | | Otherwise, pattern properties update is not taken in action. This caused the following render tests failure: `build/mbgl-render-test runtime-styling/layer-add-fill regressions/mapbox-gl-js#3107 --recycle-map`
* [core] Fix GeoJSON tiles updateMikhail Pozdnyakov2019-08-227-9/+10
| | | | | | | | | | | | | Before this change, GeoJSON tiles data were updated before the corresponding layers were applied, therefore `GeometryTileWorker` parsed new data with the outdated layers. It caused the following render test failure: `mbgl-render-test text-max-width/unlimited regressions/mapbox-gl-native#9976 --recycle-map` Now a GeoJSON tile, which needs relayout, is not parsed until the valid layers are set.
* [core] Don't overwrite locally renderable glyphs with remote glyphsAsheem Mamoowala2019-08-211-2/+4
|
* speed up fading when zooming even moreAnsis Brammanis2019-08-201-1/+1
| | | | And a linear adjustment seems to make more sense.
* [core] make symbols fade out faster while zooming outAnsis Brammanis2019-08-203-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 Shalamov2019-08-2013-112/+254
| | | | text-writing-mode
* [core] also remove version info in ImageManager when removing an image (#15397)Konstantin Käfer2019-08-191-0/+1
|
* [core] Fix use after std::move detected by clang-tidyThiago Marcos P. Santos2019-08-193-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 implementationsMikhail Pozdnyakov2019-08-1610-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)zmiao2019-08-168-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-releaseAlexander Shalamov2019-08-161-1/+6
|
* [core][node] Serialize formatted expression's text-color optionAlexander Shalamov2019-08-151-0/+7
| | | | This enables proper round-tripping for serialized format expression.
* [core] Clear collision text boxes between symbol placement iterationsAlexander Shalamov2019-08-141-0/+1
|
* [core] Enable variable placement with allowed text overlapMikhail Pozdnyakov2019-08-131-2/+6
|
* [core] Simplifications to variable text placement code pathMikhail Pozdnyakov2019-08-132-12/+10
|
* [core] Render half-width glyphs in upright orientationAlexander Shalamov2019-08-136-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 punctiationAlexander Shalamov2019-08-131-2/+4
|