summaryrefslogtreecommitdiff
path: root/platform/default/src/mbgl
Commit message (Collapse)AuthorAgeFilesLines
* [core] Fix performance-move-const-argThiago Marcos P. Santos2019-09-253-11/+16
|
* [build] Move compression to platformThiago Marcos P. Santos2019-09-201-0/+104
| | | | It depends on platform specific compression library.
* [ios, macos] Fix MGLOfflinePack invalidate crash (#15582)Julian Rex2019-09-181-0/+9
|
* [build] Fix clang format and tidy checksThiago Marcos P. Santos2019-09-172-11/+11
|
* [build] Use the system CURL on LinuxThiago Marcos P. Santos2019-09-171-121/+43
| | | | And we don't need to use Mason anymore.
* [core] Fix build with old ICU versionsThiago Marcos P. Santos2019-09-061-0/+4
| | | | Use the old API for number formatting.
* [core] Add requiredTileCount to OfflineRegionStatusBruno de Oliveira Abinader2019-08-291-4/+10
|
* [core] const variables for OfflineDownload batch sizesMikhail Pozdnyakov2019-08-291-2/+9
|
* [core] Mark offline region resources in batchesMikhail Pozdnyakov2019-08-292-25/+26
|
* [core] Add OfflineDatabase::markUsedResources()Mikhail Pozdnyakov2019-08-291-0/+13
|
* [core] Move semantics for OfflineDownload::ensureResource()Mikhail Pozdnyakov2019-08-291-4/+4
|
* [core] Remove programCacheDir parameter from ProgramParametersAnder Conselvan de Oliveira2019-08-272-9/+4
| | | | | | Binary shader support has been removed in commit c2f974f2a573 ([core] Remove binary shader support). This left-over parameter is not used anywhere anymore.
* [core][test] fix leaks from sqlite usageDane Springmeyer2019-08-161-0/+1
|
* [build] Use mapbox-base optionalBruno de Oliveira Abinader2019-07-291-15/+11
|
* [core] Fix error handling in HeadlessFrontend::render()Mikhail Pozdnyakov2019-06-281-4/+9
|
* [core] Add number-format expressionJuha Alanen2019-06-271-0/+35
|
* [core] DefaultFileSource dynamic support for cache-only requestsBruno de Oliveira Abinader2019-06-252-5/+10
|
* [core] Fix offline regions reporting the wrong number of tilesThiago Marcos P. Santos2019-06-191-8/+10
| | | | | | | | | | - The SQL query used for checking if the tile was already in the cache was wrong. - Tiles being refereed by two or more regions were not always counted as one. Fixes #13437.
* [core] Add method for setting a maximum size for the ambient cacheThiago Marcos P. Santos2019-06-182-14/+62
| | | | | | | - Removed this parameter from the constructor, now that we have a method to set it. - Add the method and enforce the limits if the ambient cache exceeds the size.
* [core] Clear/Invalidate should also work on non-tile resourcesThiago Marcos P. Santos2019-06-182-19/+56
| | | | | These methods were only affecting tiles, but they should really work on every resource like style, glyphs, etc.
* [core] Rename resetCache to resetDatabaseThiago Marcos P. Santos2019-06-182-5/+5
| | | | | Avoid confusion about what is being reset. In this case, the whole database and not only the ambient cache.
* [core] Fix bug of auto_vacuum not workingThiago Marcos P. Santos2019-06-131-6/+4
|
* [core] Surface cache management APIsThiago Marcos P. Santos2019-06-131-0/+24
| | | | | These APIs need to be on the DefaultFileSource in order to be visible for the SDKs bindings.
* [core] Add API for clearing tile cacheThiago Marcos P. Santos2019-06-131-0/+20
|
* [build] remove roundtrip through <experimental/optional> when using optionalKonstantin Käfer2019-06-121-1/+1
|
* Fix namespace issue with OSMesaMichael Muesch2019-06-101-0/+2
| | | | | HeadlessBackend seems to be part of the mbgl::gl namespace. Since OSMesaBackendImpl is only in the mbgl namespace this code does not compile. Since this file is in the mbgl/gl folder I think it makes sense to just put the whole thing in the mbgl::gl namespace.
* [core] refactor program object creationKonstantin Käfer2019-05-282-8/+10
|
* [core] Introduce usage tag for resourcesThiago Marcos P. Santos2019-05-281-7/+23
| | | | | | | Make the distinction if a resource is being requested for offline usage or if it will be used immediately. Fixes #14746
* [core] invoke optional resource path change completion listenerŁukasz Paczos2019-05-241-3/+6
|
* [core] option to perform platform specific operations when ↵Łukasz Paczos2019-05-221-0/+7
| | | | creating/destroying core threads
* [core] Refactor HeadlessFrontend/Backend: GL separation and factory (#14692)Aleksandar Stojiljkovic2019-05-214-21/+42
| | | | | Refactor out HeadlessFrontend and HeadlessBackend gl independent code to gfx. Define gl::HeadlessBackend as subclass, instantiated by gfx::HeadlessBackend static factory method. GL dependent tests are still using gl::HeadlessBackend directly (not through gfx).
* [core] Add API for invalidating tilesThiago Marcos P. Santos2019-05-211-0/+41
| | | | | | | | | Add new APIs for invalidating tiles, effectively forcing Mapbox GL Native to check with the servers if the tiles are valid before using them. This is more efficient then deleting tiles, because in case of valid tiles, they won't get downloaded. Fixes #4376.
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-05-104-87/+8
| | | | | | | | | | - 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 ActorRef methods constMikhail Pozdnyakov2019-05-103-5/+5
| | | | So that the lambdas calling these methods do not have to be mutable.
* [core] Introduce resetCache APISudarsana Babu Nagineni2019-04-292-0/+16
| | | | Add an API to delete existing database and re-initialize.
* [core] refactor ThreadLocal backendKonstantin Käfer2019-04-081-42/+22
|
* [core] clang-tidy fixesKonstantin Käfer2019-04-053-3/+5
|
* [core] move GLContextMode to RendererBackendKonstantin Käfer2019-04-053-15/+28
|
* [core] refactor RendererBackendKonstantin Käfer2019-04-052-17/+26
|
* [core] move BackendScope to gfx namespaceKonstantin Käfer2019-04-053-5/+5
|
* [core] add generic base class for renderbuffersKonstantin Käfer2019-04-051-2/+2
|
* [core] gl::RenderbufferType -> gfx::RenderbufferPixelTypeKonstantin Käfer2019-04-051-4/+4
|
* add onStyleImageMissing to allow dynamically loaded or generated images (#14253)Ansis Brammanis2019-04-021-1/+7
| | | Also make `Style#updateImage(...)` much faster when the image doesn't change size. This can be useful for asynchronously generating images.
* [core] Include pixelRatio property in MapOptionsSudarsana Babu Nagineni2019-03-281-1/+3
| | | | Move pixelRatio property from Map constructor to MapOptions.
* [core] Add setter/getter for size property in MapOptionsSudarsana Babu Nagineni2019-03-281-2/+2
|
* [core] ResoureOptions explicit copy via clone()Bruno de Oliveira Abinader2019-03-251-1/+1
|
* [core] Remove file source from public Map ctorBruno de Oliveira Abinader2019-03-203-24/+39
|
* [core] expose an option to change the db file path in runtimeŁukasz Paczos2019-03-132-10/+28
|
* [core] Get FileSource via UpdateParameters in Renderer::ImplBruno de Oliveira Abinader2019-03-132-5/+5
|
* [core] Add MapOptions to define properties of MapSudarsana Babu Nagineni2019-03-081-1/+2
| | | | | | To simplify the Map constructor, introduce MapOptions interface to define the properties that can be set on a Map.