summaryrefslogtreecommitdiff
path: root/platform/glfw
Commit message (Collapse)AuthorAgeFilesLines
* Add camera demo to the glfw appMikko Pulkki2020-05-022-1/+60
|
* Introduce a mean to add render features in layers with no sourcesGali Nelle2020-04-171-0/+5
| | | | | | This change also uses the support in the LocationIndicator layer, to return a point feature when queried in correspondence of the location indicator.
* [glfw] Fix clang-10 buildThiago Marcos P. Santos2020-04-171-3/+3
| | | | Implicit conversion from int to float.
* [core] Fix performance-unnecessary-value-param errors in header filesThiago Marcos P. Santos2020-04-171-9/+5
| | | | As reported by clang-tidy-8.
* Fix LocationIndicator LayerGali Nelle2020-04-101-4/+4
| | | | | | | | | This changes image size properties to be scales instead of pixel sizes. The commit also adds fixes for handling image updates with the same ID, adds tests for expressions in paint properties, as well as tests for using images with pixel ratio greater than 1. Finally it moves image-tilt-displacement and perspective-compensation properties from layout to paint properties, and includes other minor cleanups.
* Make location indicator bearing a paint propertyGali Nelle2020-04-081-3/+4
| | | | | | This change introduces a new property type, Rotation, that uses a custom interpolator, and that is currently applied to all style properties named "bearing", with a period attribute.
* Add LocationIndicatorLayerGali Nelle2020-04-086-1/+130
| | | | | New key is "G" in mbgl-glfw, cycling between no puck, centered in the viewport and positioned in Tokyo.
* [core] Fix readability-* errorsThiago Marcos P. Santos2020-03-302-2/+3
| | | | As reported by clang-tidy-8.
* [core] Fix google-explicit-constructor errorsThiago Marcos P. Santos2020-03-302-5/+4
| | | | As reported by clang-tidy-8.
* [build] Use cheap-ruler-cpp provided via mapbox-baseBruno de Oliveira Abinader2020-03-271-3/+1
|
* [core] Fix modernize-use-override errorsThiago Marcos P. Santos2020-03-231-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-pass-by-value errorsThiago Marcos P. Santos2020-03-231-1/+2
| | | | As reported by clang-tidy-8.
* [core] Fix performance-unnecessary-value-param errorsThiago Marcos P. Santos2020-03-232-6/+7
| | | | As reported by clang-tidy-8.
* [glfw] Add OpenGL files only when the flag is enabledJuha Alanen2020-03-121-2/+14
|
* [glfw] Use simplified Snapshotter APIAlexander Shalamov2020-03-052-32/+48
|
* [glfw] Add snapshotter to glfw test appAlexander Shalamov2020-03-054-52/+114
|
* [core] FileSourceManager::getFileSource() returns PassRefPtrMikhail Pozdnyakov2020-02-261-4/+4
|
* [glfw] Add option to test pitch boundsJuha Alanen2020-02-261-0/+13
|
* [build] Move the `next` buildsystem to the rootThiago Marcos P. Santos2020-02-071-0/+44
| | | | | | | | This will make the `next` buildsystem no longer the `next`, but the `actual`. The idea is to simplify the build, removing scripts, to make the platform buildsystem generated by CMake more compatible with IDEs and make development more streamlined. It will also make cross compilation easier.
* [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] Modularize FileSource codebase (#15768)Alexander Shalamov2020-01-131-13/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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
* [glfw] TestOperation -> TestOperationSerializerMikhail Pozdnyakov2019-12-132-8/+8
|
* [glfw] Add static render test creatorThiago Marcos P. Santos2019-12-095-6/+249
| | | | | | | Press F1 to create a render test for the current view. The test will be created at the base folder (current if nothing is provided) + /NNNN (the next free entry).
* [core] Remove Map::cycleDebugOptionsBruno de Oliveira Abinader2019-12-042-1/+26
|
* [glfw] Fix map not resizing on LinuxThiago Marcos P. Santos2019-11-291-1/+1
| | | | | Apparently GLFW is implicitly calling glViewport on macOS but not on Linux. Force setting the viewport instead of assuming a value.
* [core] Fix MapSnapshotter build failure on WindowsAnder Conselvan de Oliveira2019-11-131-6/+5
| | | | | | | | MSVC implementation of std::promise is buggy and only works with types that can be default-constructed. To avoid a compilation failure in the instantiation of ask() inside MapSnapshotter::getRegion(), which creates a std::promise<LanLngBounds>, make LatLngBounds' default constructor public.
* [build] Fix clang format and tidy checksJuha Alanen2019-09-182-31/+34
|
* [glfw] Add feature state supportJuha Alanen2019-09-182-0/+82
|
* [glfw] Reduce memory use when window loses focusMikhail Pozdnyakov2019-07-092-0/+9
|
* [core] Rename resetCache to resetDatabaseThiago Marcos P. Santos2019-06-183-4/+4
| | | | | Avoid confusion about what is being reset. In this case, the whole database and not only the ambient cache.
* [core] remove platform::show(Color)?DebugImageKonstantin Käfer2019-05-281-75/+0
|
* [core] refactor program object creationKonstantin Käfer2019-05-285-3/+29
|
* [core] add gfx::CommandEncoder::present()Konstantin Käfer2019-05-153-14/+20
|
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-05-101-4/+3
| | | | | | | | | | - 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] Add custom source to glfw-appAlexander Shalamov2019-05-032-0/+52
|
* [core] Introduce resetCache APISudarsana Babu Nagineni2019-04-293-0/+18
| | | | Add an API to delete existing database and re-initialize.
* [core] move GLContextMode to RendererBackendKonstantin Käfer2019-04-051-1/+2
|
* [core] refactor RendererBackendKonstantin Käfer2019-04-057-47/+144
|
* [core] move BackendScope to gfx namespaceKonstantin Käfer2019-04-052-3/+4
|
* add onStyleImageMissing to allow dynamically loaded or generated images (#14253)Ansis Brammanis2019-04-021-1/+6
| | | Also make `Style#updateImage(...)` much faster when the image doesn't change size. This can be useful for asynchronously generating images.
* [glfw] Remove unused map objectSudarsana Babu Nagineni2019-04-011-2/+0
| | | | | Remove unused map object that was accidentally added in 7af00a4.
* [core] Include pixelRatio property in MapOptionsSudarsana Babu Nagineni2019-03-281-1/+5
| | | | Move pixelRatio property from Map constructor to MapOptions.
* [core] Add setter/getter for size property in MapOptionsSudarsana Babu Nagineni2019-03-281-1/+1
|
* [core] Add interface to change the orientation through MapOptionsSudarsana Babu Nagineni2019-03-281-1/+1
|
* [core] Bump args to 6.2.2 (does not use RTTI)Bruno de Oliveira Abinader2019-03-251-1/+1
|
* [core] Replace shared_ptr with unique_ptr in {Map,Resource}OptionsBruno de Oliveira Abinader2019-03-221-3/+5
|
* [core] Remove file source from public Map ctorBruno de Oliveira Abinader2019-03-201-14/+13
|
* [core] Group Map LatLngBounds, min and max zoom methodsAnder Conselvan de Oliveira2019-03-141-1/+1
| | | | | | | | Group bounds, minimum and maximum zoom related methods together using the new BoundOptions. v2: Document that getBounds() initializes all optional fields. - Add test for getBounds() on a map with default values.
* [core] Remove optional from Map::setLatLngBounds()Ander Conselvan de Oliveira2019-03-141-21/+19
| | | | | | | | This is a first step into grouping together bounds related Map methods into one that takes a "BoundOptions" object. LatLngBounds::unbounded() replaces an undefined optional<LatLngBounds>. v2: Document LatLngBounds::unbounded()
* [core] Get FileSource via UpdateParameters in Renderer::ImplBruno de Oliveira Abinader2019-03-131-1/+1
|