summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [core] Add Map.UniversalStyleGetter testMikhail Pozdnyakov2019-09-261-0/+73
|
* [core] Fix performance-move-const-argThiago Marcos P. Santos2019-09-251-2/+2
|
* [test] Add unit tests for mbgl::util::Timer covering timer cancellation ↵Maksim Skurydzin2019-09-191-1/+67
| | | | at/after its expiration (#15621)
* [core] Check layer compatibility with sourceMikhail Pozdnyakov2019-09-181-0/+18
|
* [build] Fix clang format and tidy checksJuha Alanen2019-09-181-5/+10
|
* [tests] Add feature state unit testJuha Alanen2019-09-181-0/+16
|
* [tests] Update expression unit test for feature stateJuha Alanen2019-09-181-2/+1
|
* [tests] Update bucket unit test for feature stateJuha Alanen2019-09-181-5/+5
|
* [build] Mark explicitly visible symbolsThiago Marcos P. Santos2019-09-171-1/+3
| | | | | Easier to maintain than a linker script. We build everything with visibility hidden by default.
* [build] Make test/util.hpp a public interfaceThiago Marcos P. Santos2019-09-172-3/+3
| | | | | We will build the tests as a library and platforms will provide the test runner.
* [core] Add Map.Issue15342 unit testMikhail Pozdnyakov2019-09-122-2/+51
| | | | | The newly added test checks the fix for constant repaint, caused by `RenderSource::hasFadingTiles()` returning `true` all the time.
* [core] Update MapObserver::onDidFinishRenderingFrame() APIMikhail Pozdnyakov2019-09-122-4/+4
|
* [test] Added style light setProperty testsBruno de Oliveira Abinader2019-09-111-0/+23
|
* [core] Add unit test to verify that Offline usage tag is not setAlexander Shalamov2019-09-111-1/+79
| | | | | New unit test checks that Offline usage flag is not set for invalidated offline region resource requests.
* [core] Use mapbox::base::TypeWrapper instead of utils::peerMikhail Pozdnyakov2019-09-102-190/+0
|
* Always call onSourceLoaded observers (#15548)Konstantin Käfer2019-09-032-0/+51
| | | | | | | | * [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-032-2/+3
| | | | 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-301-8/+0
| | | | | | | | | | | 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-301-1/+4
| | | | | | | | | | | | | | | | | | * 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] Add requiredTileCount to OfflineRegionStatusBruno de Oliveira Abinader2019-08-291-0/+11
|
* [core] Mark offline region resources in batchesMikhail Pozdnyakov2019-08-291-20/+18
|
* [core][qt] Update unit tests and include Korean symbolsAlexander Shalamov2019-08-288-4/+20
| | | | | | | - Decrease pixelmatch tolerance for local glyph rasterizer - Add Korean symbols to test fixture - Fix ifdefs, as the QT and Apple related blocks were using same results - Add NotoSansCJK test for QT / Linux platform
* [core] Remove programCacheDir parameter from ProgramParametersAnder Conselvan de Oliveira2019-08-272-2/+2
| | | | | | 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-262-16/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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-231-0/+14
| | | | | | | 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-231-1/+1
|
* Add unit test and fixtureAsheem Mamoowala2019-08-212-0/+51
|
* Correclty implement `canRasterizeGlyph` in unit test stubAsheem Mamoowala2019-08-211-1/+1
|
* [core] Fix combination of icon-text-fit with text-variable-anchors and ↵Alexander Shalamov2019-08-202-77/+95
| | | | text-writing-mode
* [core] also remove version info in ImageManager when removing an image (#15397)Konstantin Käfer2019-08-191-0/+12
|
* [core][test] fix leaks from sqlite usageDane Springmeyer2019-08-161-0/+1
|
* Indroduce clusterProperty option for aggregation (#15287)zmiao2019-08-162-3/+12
| | | | | | | | | | * 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-0/+7
|
* [core] Update shaping unit testAlexander Shalamov2019-08-131-1/+2
|
* [core] Update unit testsAlexander Shalamov2019-08-132-13/+13
|
* [core] Disable flaky OfflineDatabase.MaximumAmbientCacheSize testJason Wray2019-08-071-1/+2
|
* [core] Fix render tile set source updateMikhail Pozdnyakov2019-08-011-0/+39
| | | | | | 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 Stojiljkovic2019-08-012-0/+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] Add unit test for grid indexAlexander Shalamov2019-07-301-0/+5
|
* [core] Added unit test for issue 15216Mikhail Pozdnyakov2019-07-261-0/+11
|
* [core] Avoid copying feature propertiesMikhail Pozdnyakov2019-07-251-1/+1
|
* [core] GeometryCollection must not be implicitly copiedMikhail Pozdnyakov2019-07-242-23/+23
|
* [core] Force getGeometries() return const refAlexander Shalamov2019-07-241-1/+1
|
* [core] Update CrossTileSymbolLayerIndex unit testAlexander Shalamov2019-07-231-1/+8
|
* [core] Symbol bucket uses shared layoutMikhail Pozdnyakov2019-07-222-6/+10
| | | | sizeof(SymbolBucket): 2296 -> 1024
* [core] Introduce TileRenderDataMikhail Pozdnyakov2019-07-042-8/+8
| | | | Remove rendering functionality from Tile implementations.
* [tests] Update test expecationsThiago Marcos P. Santos2019-06-284-0/+0
|
* [core] include Hiragana and Katakana glyph ranges to LocalGlyphRasterizerThiago Marcos P. Santos2019-06-281-8/+8
| | | | Fixes #14993
* [core] Add number-format expressionJuha Alanen2019-06-277-3/+49
|
* [core] Add storage unit tests for MapboxTileLimitExceededThiago Marcos P. Santos2019-06-191-0/+98
|