summaryrefslogtreecommitdiff
path: root/platform/glfw/glfw_view.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add camera demo to the glfw appMikko Pulkki2020-05-021-1/+57
|
* 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.
* 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-081-1/+111
| | | | | 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-301-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-use-override errorsThiago Marcos P. Santos2020-03-231-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix performance-unnecessary-value-param errorsThiago Marcos P. Santos2020-03-231-5/+6
| | | | As reported by clang-tidy-8.
* [glfw] Use simplified Snapshotter APIAlexander Shalamov2020-03-051-32/+46
|
* [glfw] Add snapshotter to glfw test appAlexander Shalamov2020-03-051-47/+100
|
* [glfw] Add option to test pitch boundsJuha Alanen2020-02-261-0/+13
|
* [glfw] Add static render test creatorThiago Marcos P. Santos2019-12-091-5/+23
| | | | | | | 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-041-1/+25
|
* [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-181-29/+32
|
* [glfw] Add feature state supportJuha Alanen2019-09-181-0/+80
|
* [glfw] Reduce memory use when window loses focusMikhail Pozdnyakov2019-07-091-0/+8
|
* [core] Rename resetCache to resetDatabaseThiago Marcos P. Santos2019-06-181-1/+1
| | | | | 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-281-2/+7
|
* [core] add gfx::CommandEncoder::present()Konstantin Käfer2019-05-151-12/+1
|
* [core] Add custom source to glfw-appAlexander Shalamov2019-05-031-0/+51
|
* [core] Introduce resetCache APISudarsana Babu Nagineni2019-04-291-0/+4
| | | | Add an API to delete existing database and re-initialize.
* [core] refactor RendererBackendKonstantin Käfer2019-04-051-32/+9
|
* [core] move BackendScope to gfx namespaceKonstantin Käfer2019-04-051-2/+2
|
* [core] Add interface to change the orientation through MapOptionsSudarsana Babu Nagineni2019-03-281-1/+1
|
* [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] Remove map coordinate setters/gettersBruno de Oliveira Abinader2019-03-041-1/+1
|
* [core] Transform{State}: s/angle/bearing/Bruno de Oliveira Abinader2019-03-041-4/+4
|
* [core] Remove map bearing setters/gettersBruno de Oliveira Abinader2019-03-041-4/+6
|
* [core] Added Map::pitchBy()Bruno de Oliveira Abinader2019-03-041-1/+1
|
* [core] Added Map::scaleBy()Bruno de Oliveira Abinader2019-03-041-3/+3
|
* [glfw] Add bounds exampleBruno de Oliveira Abinader2019-02-261-0/+40
|
* [glfw] Use jumpTo() in the route demoBruno de Oliveira Abinader2018-11-271-7/+7
|
* [build] allow WITH_EGL for macOS as well (SwiftShader) and enable EGL for GLFWKonstantin Käfer2018-08-271-2/+8
|
* [core] Convert token strings to expressionsJohn Firebaugh2018-07-201-3/+3
|
* [core] Replace {Source,Camera,Composite}Function with PropertyExpressionJohn Firebaugh2018-07-201-3/+3
|
* [glfw] Use Map::moveBy in GLFWView::onMouseMoveBruno de Oliveira Abinader2018-07-091-5/+3
|
* [glfw] Update route demo to use expressions DSLBruno de Oliveira Abinader2018-07-031-1/+1
|
* [core] Replace use of *Stops with expressions DSLJohn Firebaugh2018-06-291-27/+14
|
* [core] don't use floating point versions of pow/logKonstantin Käfer2018-06-041-1/+1
| | | | | | GLIBC 2.27 added new versioned symbols of powf and logf, while the double versions of pow and log remained stable. Prefer the double version to avoid introducing a dependency on a newer version of GLIBC than strictly necessary. See https://lists.gnu.org/archive/html/info-gnu/2018-02/msg00000.html
* [core] Convert "legacy" filters directly into expressions (#11610)Lucas Wojciechowski2018-05-101-1/+8
| | | Ports the specialized filter-* expressions from GL JS, adding them to src/mbgl/style/expression/compound_expression.cpp
* [glfw] add animated annotations to glfw app for debuggingAnsis Brammanis2018-01-111-0/+27
|
* [core] move HeadlessBackend extension initialization code into ImplKonstantin Käfer2017-11-291-1/+1
|
* [glfw] Save/Restore online status of DefaultFileSourceKonstantin Käfer2017-09-221-0/+4
|
* [glfw] manage backendscope in renderer frontendIvo van Dongen2017-07-251-1/+0
|
* [android][glfw][ios][macos][node][qt] rename backend to renderer backendIvo van Dongen2017-07-181-1/+1
|
* [glfw] rendering interface changesIvo van Dongen2017-07-181-5/+11
|