summaryrefslogtreecommitdiff
path: root/test/tile/raster_tile.test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Use weak annotation managerAlexander Shalamov2020-03-051-11/+9
| | | | | | | 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] Modularize FileSource codebase (#15768)Alexander Shalamov2020-01-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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
* [core] GeometryTile and TileLoader keep strong reference to FileSourceMikhail Pozdnyakov2019-05-141-2/+2
| | | | 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-141-1/+1
| | | | Avoid unnecessary glyph manager presence check in `Renderer::Impl::()`.
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-05-101-4/+1
| | | | | | | | | | - 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] make sure tiles are not treated as complete until all worker ↵Konstantin Käfer2017-09-211-3/+3
| | | | | | 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-211-0/+14
| | | | 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] mutate style on annotation mutations immediatelyIvo van Dongen2017-07-181-1/+3
|
* [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 is unable to deduce ctors when using bracket initBruno de Oliveira Abinader2017-07-121-1/+2
|
* [core] Per-bucket icon atlasesJohn Firebaugh2017-06-131-3/+3
|
* [core] Per-bucket glyph atlasesJohn Firebaugh2017-06-131-3/+3
|
* [core] Refactor RenderSource updatesJohn Firebaugh2017-06-051-3/+6
| | | | | | | * 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] Auto-growable SpriteAtlas using shelf-packJohn Firebaugh2017-05-261-1/+1
|
* [core] Move renderer/* files into sub-folders (#8983)Asheem Mamoowala2017-05-121-1/+1
| | | Move renderer/* files into sub-folders
* [core] UpdateParameters ⇢ TileParametersJohn Firebaugh2017-05-041-6/+6
|
* [core] Move render-related sources out of style directory/namespaceJohn Firebaugh2017-05-031-2/+2
| | | | | | | | | | | | | | | | 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] Move Sprite parsing to thread poolKonstantin Käfer2017-04-241-1/+1
|
* [core] Render parent raster tiles when ideal tile can't be loadedKonstantin Käfer2017-04-201-0/+8
|
* [core] don't treat empty raster tiles as "DataAvailability::All"Konstantin Käfer2017-02-221-0/+15
|
* [build] move default ThreadPool implementation to platform/defaultKonstantin Käfer2016-11-221-1/+1
|
* [core] [node] pass thread pool impl to Map constructorMike Morris2016-10-201-1/+1
| | | | | | | Updates mbgl::Map constructor usage everywhere Adds NodeThreadPool implementation using AsyncQueue to call Nan::AsyncQueueWorker from main thread
* [macos,ios] initialize util::RunLoop in SDK rather than by defaultKonstantin Käfer2016-10-061-0/+2
|
* [core] Tiles that error on load are not renderableJohn Firebaugh2016-10-051-0/+47