summaryrefslogtreecommitdiff
path: root/include/mbgl
Commit message (Collapse)AuthorAgeFilesLines
* [core] OnlineFileSource is never accessed directlyMikhail Pozdnyakov2020-02-261-1/+1
|
* [core] Fix mbgl::Pass constructorMikhail Pozdnyakov2020-02-261-1/+1
|
* [core] Move setResourceTransform() to FileSource interfaceMikhail Pozdnyakov2020-02-262-6/+5
|
* [core] FileSourceManager::getFileSource() returns PassRefPtrMikhail Pozdnyakov2020-02-261-1/+2
|
* [core] Move mbgl::Pass and mbgl::PassRefPtr to a separate headerMikhail Pozdnyakov2020-02-262-17/+26
|
* [core] Fix TransitionOptions serializationAlexander Shalamov2020-02-262-8/+16
|
* [core] Fix Color serializationAlexander Shalamov2020-02-262-3/+7
|
* [core] Generate layer codeAlexander Shalamov2020-02-269-0/+9
|
* [core] Add layer serialization methodAlexander Shalamov2020-02-263-0/+5
|
* [core] Return pitch bounds in degreesJuha Alanen2020-02-261-2/+2
|
* [core] Consolidate file source keys in the generic FileSource headerMikhail Pozdnyakov2020-02-253-20/+20
| | | | | Thus we do not need to include specific headers to use `{set|get}Property` API with key constants.
* [core] Add min and max pitch optionsJuha Alanen2020-02-251-0/+16
|
* [core] Add bounding box overlapping check before line within polygon testzmiao2020-02-211-1/+3
|
* [core] Remove unnecessary includes, fix commentszmiao2020-02-211-4/+1
| | | | This reverts commit b5c386ad7708ca9fe14f219b0ffc94cf6ce8fc88.
* [core] Update unti tests. Remove unnecessary debugging codezmiao2020-02-211-1/+2
|
* [core] Add support for "line within polygon"zmiao2020-02-211-9/+3
|
* [core] Implement 'in' expression. (#16162)Kevin Li2020-02-152-0/+34
| | | | | | | | | | | | | | | | | | * Implement in.cpp * Fix review comments. * Add expression_equality test for 'in' * Fix review comments. * [core] Update changelog. * [core] Update mapbox-gl-js * [core] Ignore render-tests/debug/padding * [core] Update baseline.
* [core] Support [within expression] with layout propertyzmiao2020-02-121-0/+33
|
* reserve vecotr capacity, fix for points within polygonzmiao2020-02-121-1/+1
| | | | Address review findings/nit
* Add support for expression testzmiao2020-02-122-2/+7
| | | | | | | Fix polygon within algorithm Add Unit tests Fix incorrect metrics folder for ios-render-test-runner job
* Enable within expression with Filterzmiao2020-02-122-5/+7
| | | | | | add canonical as pointer fix review findings
* Enable parse within expressionzmiao2020-02-122-5/+56
| | | | Add geometry type checker
* style::Style::getImage() returns optional<style::Image>Mikhail Pozdnyakov2020-02-112-3/+3
|
* [core] Loading images to style optimizationMikhail Pozdnyakov2020-02-111-2/+4
| | | | | | 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] Add runtime API for setting tile prefetch delta for SourceAlexander Shalamov2020-02-116-0/+22
| | | | | | | New setPrefetchZoomDelta(optional<uint8_t> delta) method allow overriding default tile prefetch setting that is defined by the Map instance. The method can be moved to generic style specification if found to be useful for gl-js engine.
* Expose READ_ONLY_MODE_KEY property for DatabaseFileSourceMikhail Pozdnyakov2020-02-071-0/+6
|
* [core] Add hooks for setting experimental thread priorities for mbgl threadsAlexander Shalamov2020-02-061-15/+23
|
* [core] Add platform::setCurrentThreadPriority(double)Alexander Shalamov2020-02-061-0/+4
|
* [core] Add global settings objectAlexander Shalamov2020-02-061-0/+48
|
* [build] Adding a build flag to build without GL if needed (#16120)Thomas Moenicke2020-02-033-1/+1
| | | | | | * [build] Adding a build flag to build without GL if needed * [build] Moving custom layer to mbgl/gl
* [core] Add getSharedExpression to property expressionAlexander Shalamov2020-02-031-0/+5
| | | | | New method can be used for aggregating property expressions from multiple properties(layers) into single match / case expression.
* [core] Add pause and resume to database filesource implementationAlexander Shalamov2020-01-271-0/+2
|
* GeoJSONSource is re-using the existing schedulerMikhail Pozdnyakov2020-01-241-1/+4
| | | | Thus avoiding spawing new threads on `setGeoJSONData()` calls.
* [core] Use weak scheduler inside mailboxAlexander Shalamov2020-01-231-1/+3
| | | | | There is no guarantee that scheduler is alive when message is pushed to the mailbox.
* [core] Pass std::shared_ptr<UpdateParameters> to the render orchestratorMikhail Pozdnyakov2020-01-221-1/+1
| | | | So that it can retain ownership of the given parameters.
* [core] implement stretchable icons for icon-text-fitKonstantin Käfer2020-01-151-1/+1
|
* [core] Add stretches and content to style::ImageKonstantin Käfer2020-01-152-4/+48
|
* [core] Modularize FileSource codebase (#15768)Alexander Shalamov2020-01-139-226/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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
* [android][core] Add `Map::latLngBoundsForCameraUnwrapped` and jni binding ↵Peng Liu2020-01-091-0/+1
| | | | | | | | | for `getVisibleCoordinateBounds`. (#16069) * [android] Add getVisibleCoordinateBounds method. * Fix Map::latLngBoundsForCamera, add Android binding for getVisibleRegionBounds. * Add unit tests for CameraToLatLngBoundsWithRotation and CameraToLatLngBoundsCrossDateLine. * Move API breaking changes to a new method name latLngBoundsForCameraUnwrapped.
* [core] Make it possible to reopen the database read-only for testingThiago Marcos P. Santos2020-01-081-0/+1
| | | | | | Needed for Android, because the database is in readonly filesystem and also because it is annoying to see files modified every time we run the tests.
* [test runner] Show all tiles independently in Tile modeMikhail Pozdnyakov2019-12-181-0/+15
|
* [core] Enable 'line-sort-key' and 'fill-sort-key' layout properties (#15839)Andrew Hay Kurtz2019-12-172-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Generate style code for 'line-sort-key' and 'symbol-sort-key' - Add new layout properties to FillLayer::Impl, FillBucket, and FillLayerFactory - Fix consistency of paint and layout properties type alias usage in FillBucket, LineBucket - Add optional feature sorting to fill and line Layout creation - Enable node render tests for fill-sort-key and line-sort-key - Fix FillBucket test construction - Prefer emplace_back to push_back for PatternFeature container - Fix buggy static_cast for PatternFeature indices - Maintain sort of features as they are created - Switch pattern layout features container to list from vector for better insert performance - Fix formatting expected by sanity check - Use subclass PatternLayoutSorted to work around lack of template functions - Fix to retain source order for features with equivalent sort keys during sorting - [core] Fix clang-format - [core] Address review comments - [core] Pass inserting strategy class at compile time - [core] Use sorted strategy only if sort key is defined in layout - [core] Update style generator - [core] Merge PatternLayout and PatternLayoutSorted classes - Use static methods for inserter strategies - Merge PatternLayout and PatternLayoutSorted classes
* [core] Add style::Layer(Impl) constructorMikhail Pozdnyakov2019-12-132-0/+2
|
* [core] Remove Map::cycleDebugOptionsBruno de Oliveira Abinader2019-12-041-1/+0
|
* [core] Merge style::Layer::set{Layout,Paint}PropertyMikhail Pozdnyakov2019-12-0312-25/+12
|
* [core] Add image sections to format expressionAlexander Shalamov2019-12-022-19/+24
|
* [core] Introduce Pass<> class and use it for SchedulerMikhail Pozdnyakov2019-12-021-2/+19
| | | | Thus we enforce client to retain the returned `Scheduler` objects.
* [core] Add OfflineDatabase.Pack unit testMikhail Pozdnyakov2019-12-021-3/+3
|
* [core] Introduce OfflineDatabase::runPackDatabaseAutomatically() APIMikhail Pozdnyakov2019-12-021-9/+21
| | | | | - added a unit test - Updated inline comments in default_file_source.hpp
* [core] Retain thread pool in GeoJSONSourceMikhail Pozdnyakov2019-11-291-1/+2
| | | | Otherwise, the construction of the `Immutable<Source::Impl>` in background thread might never yeld.