summaryrefslogtreecommitdiff
path: root/src/mbgl/style/style_impl.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Fix performance-unnecessary-value-param errorsThiago Marcos P. Santos2020-03-231-2/+1
| | | | As reported by clang-tidy-8.
* style::Style::getImage() returns optional<style::Image>Mikhail Pozdnyakov2020-02-111-1/+1
|
* [core] Loading images to style optimizationMikhail Pozdnyakov2020-02-111-4/+5
| | | | | | 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.
* [core] Modularize FileSource codebase (#15768)Alexander Shalamov2020-01-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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] Introduce style::CollectionWithPersistentOrderMikhail Pozdnyakov2019-11-191-2/+2
| | | | | | So that we do not unnecessarily remove and re-add sources and images if their order has been modified in the updated style.
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-05-101-3/+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] Added Style::getDefaultCamera()Bruno de Oliveira Abinader2017-08-111-8/+4
|
* [core] Move setStyleJSON/URL to Style; add Map::setStyleJohn Firebaugh2017-06-221-2/+14
|
* [all] Promote Style to public APIJohn Firebaugh2017-06-221-0/+136