summaryrefslogtreecommitdiff
path: root/test/renderer/image_manager.test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Fix performance-unnecessary-value-param errors in header filesThiago Marcos P. Santos2020-04-171-1/+1
| | | | As reported by clang-tidy-8.
* [core] Loading images to style optimizationMikhail Pozdnyakov2020-02-111-3/+3
| | | | | | This change enables attaching images to the style with batches and avoids massive re-allocations. Thus, it improves UI performance especially at start-up time.
* [tests] Fix -Werror=shadow issues in the unit testsThiago Marcos P. Santos2019-12-121-1/+1
|
* [core] Do not make pending requests for already requested images.Mikhail Pozdnyakov2019-10-281-9/+3
| | | | | so that processing for the corresponding tile does not suspend and the rendering performance is not affected.
* Revert "[core] Revert coalescing requests to the client for the same missing ↵Mikhail Pozdnyakov2019-10-281-0/+24
| | | | | | image" This reverts commit 22132683797b5ea5cbe8622f77c01b399ad9c71e.
* [core] Revert coalescing requests to the client for the same missing imageMikhail Pozdnyakov2019-10-241-24/+0
|
* [core] Update ImageManager.OnStyleImageMissingBeforeSpriteLoadedMikhail Pozdnyakov2019-10-171-2/+12
| | | | So that it checks pending image requests for a different requestor.
* [core] Update ImageManager.OnStyleImageMissingBeforeSpriteLoaded unit testMikhail Pozdnyakov2019-10-101-0/+14
| | | | So that it checks missing images requests coalescing.
* [core] also remove version info in ImageManager when removing an image (#15397)Konstantin Käfer2019-08-191-0/+12
|
* [core] Introduce PatternAtlasMikhail Pozdnyakov2019-06-041-44/+3
|
* [core] Update ImageManager's unit test for onRemoveUnusedStyleImages APIAlexander Shalamov2019-05-211-13/+58
|
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-05-101-1/+0
| | | | | | | | | | - 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] Schedule invocation of onStyleImageMissing completion callback on the ↵Alexander Shalamov2019-05-091-0/+22
| | | | | | | | | same thread Before this change, ImageManger's 'done' callback for onStyleImageMissing observer notification that was created on renderer thread, could be called from different thread, therefore, is not thread safe. For example, on Android platform, callback was invoked from UI thread. This change makes callback to be scheduled on originating thread.
* [core] Add unit test for ImageManager::reduceMemoryUsageAlexander Shalamov2019-04-251-1/+60
|
* [core] Pass ImageManager to ImageRequestor's constructorAlexander Shalamov2019-04-251-4/+6
| | | | | This makes ImageRequestor API explicitly dependant on ImageManager, so that ImageRequestor can unregister itself from ImageManager on destruction.
* fix firing onStyleImageMissing after sprite has loaded (#14369)Ansis Brammanis2019-04-081-0/+75
|
* add onStyleImageMissing to allow dynamically loaded or generated images (#14253)Ansis Brammanis2019-04-021-5/+11
| | | Also make `Style#updateImage(...)` much faster when the image doesn't change size. This can be useful for asynchronously generating images.
* [core] Remove file source from public Map ctorBruno de Oliveira Abinader2019-03-201-1/+0
|
* [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵Molly Lloyd2018-08-311-7/+11
| | | | expressions in `*-pattern` properties
* [core] Added GeometryTileWorker-owned image correlation IDBruno de Oliveira Abinader2017-08-251-4/+7
|
* [core] Correctly track sprite loaded state through smart setStyleJohn Firebaugh2017-07-201-1/+1
|
* [core] Per-bucket icon atlasesJohn Firebaugh2017-06-131-0/+147