summaryrefslogtreecommitdiff
path: root/test/tile
Commit message (Collapse)AuthorAgeFilesLines
* [core] Use weak annotation managerAlexander Shalamov2020-03-056-56/+46
| | | | | | | 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.
* [test] Fix failing tests on iOSJuha Alanen2020-02-141-0/+2
|
* [core] Make CustomGeometrySource::TileOptions immutableAlexander Shalamov2020-02-111-6/+15
|
* [core] Modularize FileSource codebase (#15768)Alexander Shalamov2020-01-136-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Introduce FileSourceManager and use it for default platform impl - Add `FileSourceManager` interface that provides access to `FileSource` instances and means of registering / unregistering `FileSource` factories - Split `DefaultFileSource` into smaller parts - Add `DatabaseFileSource` interface and it's default implementation - Remove inter-dependencies between concrete `FileSource` classes * [build] Add files to next build system * [core] Add generic property setters / getters * [core] Remove setOnlineStatus from OnlineFileSource interface * [core] Hide threading implementation details from DatabaseFileSource interface * [core] Make DB file source methods virtual * [core] Add documentation for DatabaseFileSource and rename one method * [core] Use simple callback instead of ActorRef * [core] Remove ActorRef from OnlineFileSource public header * [core] Add callback to FileSource::forward async API * [core] Pass OfflineRegionDefinition by value * [core] Update tests to use modular file sources * [core] Update unit tests * [core] Update unit tests after rebase * [core] Backport low prio fix for cached requests * [core] Backport pack database * [core] Return removed factory from unRegisterFileSourceFactory * [core] Rename shadowed args in onlinefilesource * [core] Remove simple std::function callback aliases * [core] Expose online file source property keys in public header file * [test-runner] Add proxy file source test runner * [cache] Update mbgl-cache utility to use new file source * [metrics] Rebaseline binary size metrics * [offline] Update offline utility * [core] Update changelog
* [tests] Fix -Werror=shadow issues in the unit testsThiago Marcos P. Santos2019-12-121-3/+3
|
* [core] Calculate GeoJSON tile geometries in a background threadMikhail Pozdnyakov2019-11-291-9/+33
| | | | | Call `mapbox::geojsonvt::GeoJSONVT::getTile()` in a background thread, so that the rendering thread is not blocked.
* [core] Identation and build fixesMikhail Pozdnyakov2019-11-191-34/+31
|
* [core] Fix incorrect resizing of TileCacheSergey Yershov2019-11-191-0/+90
|
* [core] Avoid copying feature propertiesMikhail Pozdnyakov2019-07-251-1/+1
|
* [core] Introduce TileRenderDataMikhail Pozdnyakov2019-07-042-8/+8
| | | | Remove rendering functionality from Tile implementations.
* [core] GeometryTile and TileLoader keep strong reference to FileSourceMikhail Pozdnyakov2019-05-145-10/+10
| | | | Thus we fix a potential bug: if `Renderer` outlives the `Map` it will hold a stale reference to the `FileSource` instance.
* [core] Create glyph manager at renderer construction timeMikhail Pozdnyakov2019-05-145-6/+6
| | | | Avoid unnecessary glyph manager presence check in `Renderer::Impl::()`.
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-05-105-20/+5
| | | | | | | | | | - Do not carry it over everywhere as parameter, it is a shared instance anyway and the lifecycle is pretty much the app lifecycle from the moment we instantiate a map. - Rename to BackgroundScheduler because it is a Scheduler that will do tasks in the background, we don't make assumptions if it is a thread pool or a single thread. - Most importantly, remove the dependency from `core` on `platform`.
* [core] Introduce `LayerRenderData`. Source::update() accepts layer properties.Mikhail Pozdnyakov2019-04-172-4/+11
|
* [core] OverscaledTileID::isChildOf should check wrap values.Chris Loer2018-11-301-1/+4
| | | | Fixes issue #13478
* [core] Fix VectorTileFeature::getValue() semantics after geometry@v1.0.0Bruno de Oliveira Abinader2018-11-261-0/+34
|
* [build] Update to geometry v1.0.0Bruno de Oliveira Abinader2018-11-132-17/+13
|
* [core] Convert GeometryTileWorker to "one-phase" loadingChris Loer2018-04-021-33/+0
| | | | | Modest simplification refactoring (issue #10457). Also, fixes issue #11538, which was caused in part by a hole in the vestigial two-phase loading.
* [core] add support for mapzen terrarium (#11154)Molly Lloyd2018-02-141-1/+1
| | | | | | | | | | | | * add support for mapzen terrarium * Encoding --> DEMEncoding, avoid if statement when unpacking elevation values * add Terrarium test * update submodule * remove redundant checks
* [core] add raster-dem source type and hillshade layer type (#10642)Molly Lloyd2018-01-231-0/+93
|
* [core] Custom Geometry SourcesAsheem Mamoowala2017-11-221-0/+130
|
* [core] Update unit tests for viewport collision.Chris Loer2017-11-173-100/+2
| | | | Add 'GridIndex' unit test.
* [core] make sure tiles are not treated as complete until all worker ↵Konstantin Käfer2017-09-214-16/+13
| | | | | | operations completed Previously, when we started a worker operation that eventually throws an exception (e.g. due to the tile not being parseable), and then enqueue another worker operation while the first one is processing, we treated the worker as idle once the first operation's error callback fired, even though the second operation was still in progress. Due to our use of coalescing, I was unable to come up with a reliable test since we'd need to reproduce the behavior described above, which is timing dependent.
* [core] keep tiles renderable even if a subsequent error occursKonstantin Käfer2017-09-212-0/+51
| | | | Since 9a9408e8111bcdcd0fcb9a93112d61ab8fce0601, we marked tiles as non-renderable if an error occured. This lead to situations where a tile was loaded + parsed successfully, then a revalidation attempt occured (e.g. because the resource was stale) which failed. In this case, we used to mark the tile as non-renderable although we could've used the perfectly parsed (stale) resource.
* [core] Avoid RenderStyle dependency in query codeJohn Firebaugh2017-08-241-3/+1
|
* [test] allow only a single shared display to avoid egl errorsIvo van Dongen2017-07-181-1/+1
|
* [core] rename backend to renderer backendIvo van Dongen2017-07-181-1/+1
|
* [core] renderer interfaceIvo van Dongen2017-07-182-3/+2
|
* [core] mutate style on annotation mutations immediatelyIvo van Dongen2017-07-184-6/+14
|
* [core][ios][android][macos] Use premultiplied image directly for RasterTile ↵Asheem Mamoowala2017-07-171-1/+1
| | | | and ImageSource, un-premultiply in the shader for blending
* [core] GCC 4.9 bracket initialization issuesBruno de Oliveira Abinader2017-07-122-4/+4
|
* [core] GCC 4.9 is unable to deduce ctors when using bracket initBruno de Oliveira Abinader2017-07-124-4/+8
|
* [core] Change OverscaledTileID to also include a "wrap" value.Chris Loer2017-07-111-73/+73
| | | | | This prevents TilePyramid from sharing wrapped copies of tiles. This is necessary because two wrapped tiles no longer share the same CollisionTile.
* [core] Refactor CustomLayer internalsJohn Firebaugh2017-06-221-0/+4
| | | | Move the responsibility for initialization/deinitialization/rendering to RenderCustomLayer. This eliminates special case code from Map and Style.
* [core] always return owning pointers for GeometryTileData::getLayer()Konstantin Käfer2017-06-211-2/+1
|
* [core] Per-tile glyph/icon atlasesJohn Firebaugh2017-06-132-8/+12
|
* [core] Per-bucket icon atlasesJohn Firebaugh2017-06-134-12/+12
|
* [core] Per-bucket glyph atlasesJohn Firebaugh2017-06-134-12/+12
|
* [core] Split RenderStyle from StyleJohn Firebaugh2017-06-051-2/+2
|
* [core] Refactor RenderSource updatesJohn Firebaugh2017-06-054-12/+27
| | | | | | | * Eliminate updateBatch in favor of diffing layers and detecting changes to properties upon which layout depends. * Replace RenderSource::{update,remove,invalidate,reload}Tiles with a single update method * Replace TilePyramid::{update,remove,invalidate,reload}Tiles with a single update method * Remove Style& dependency TODO from GeometryTile and TileParameters
* [core] Thread Style parameter through queryRenderedFeaturesJohn Firebaugh2017-06-051-1/+1
|
* [core] Auto-growable SpriteAtlas using shelf-packJohn Firebaugh2017-05-264-4/+4
|
* [core] Unify {Paint,Layout,Light}PropertiesJohn Firebaugh2017-05-151-1/+1
|
* [core] Move renderer/* files into sub-folders (#8983)Asheem Mamoowala2017-05-122-2/+2
| | | Move renderer/* files into sub-folders
* [core] Immutable ImplsJohn Firebaugh2017-05-122-2/+2
|
* [tidy] modernize-use-emplaceBruno de Oliveira Abinader2017-05-121-1/+1
|
* [core] UpdateParameters ⇢ TileParametersJohn Firebaugh2017-05-044-18/+18
|
* [core] Move render-related sources out of style directory/namespaceJohn Firebaugh2017-05-034-8/+8
| | | | | | | | | | | | | | | | Moves the following to the renderer directory and out of the style namespace: * CascadeParameters * PropertyEvaluationParameters * UpdateParameters * PropertyEvaluator * DataDrivenPropertyEvaluator * CrossFadedPropertyEvaluator * PaintPropertyBinder * PaintProperyStatistics * PossiblyEvaluatedPropertyValue * TransitioningLight * EvaluatedLight
* [core] Refactor Source::*Impls into RenderSources and TilePyramidJohn Firebaugh2017-05-021-8/+8
|
* [all] Push querySourceFeatures back out to MapJohn Firebaugh2017-05-021-1/+1
| | | | Once Source and RendererSource are split, Source will no longer have access to tiles.