Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [test] Run Annotations DebugSparse test only with OpenGL renderer | Juha Alanen | 2020-03-12 | 1 | -0/+4 |
| | |||||
* | [core] Add batch conversion of latLngs to/from screenCoords (#15891) | zmiao | 2019-11-07 | 1 | -10/+39 |
| | | | | | | * [core] Add batch conversion of latLng vs screenCoord * [core] Take the simple approach | ||||
* | [render-test] Implement gfx probe for tracking gpu resources | Mikko Pulkki | 2019-10-30 | 1 | -2/+1 |
| | |||||
* | [core] Offset viewport center when edge insets are specified | Aleksandar Stojiljkovic | 2019-05-28 | 1 | -0/+67 |
| | | | | | | | | | | | | | | | | | | | | | The change is implemented in TransformState::getProjMatrix, the rest of the code is making sure that existing API contracts stay and there are tests verifyingrendering and render query processing only items within screen and given tolerance around screen edges. MapView: don't bake edge insets into relalculated camera center. Keep edge insets as property of camera in TransformState (similar to pitch, zoom, bearing) independent from specified camera center. Interpolate edge insets in animation. iOS Demo app: "Turn On/Off Content Insets" pitch the camera and navigate to convenient location in Denver, where streets are parallel to cardinal directions, to illustrate viewport center offset when edge insets are set. Tests: ViewFrustumCulling: although Annotations are deprecated, queryRenderedFeatures related tests in Annotations would need to get ported and decided to add the edge insets related query tests next to them. Verify frustum culling (render+queryRenderedFeatures) With different camera and edge insets setups. TODO: port Annotations tests. Transform.Padding: Verify that coordinates take proper place on screen after applying edge insets. LocalGlyphRasterizer: verify text rendering when applying padding. Related to #11882: both use projection matrix elements [8] and [9]. Alternative approach to this was to increase and offset map origin so that the screen would be a sub-rectangle in larger map viewport. This approach has a drawback of unecessary processing the items that are outside screen area. Fixes #12107, #12728, navigation-sdks/issues/120 | ||||
* | [core] Refactor HeadlessFrontend/Backend: GL separation and factory (#14692) | Aleksandar Stojiljkovic | 2019-05-21 | 1 | -1/+1 |
| | | | | | 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] Make the BackgroundScheduler a singleton | Thiago Marcos P. Santos | 2019-05-10 | 1 | -4/+2 |
| | | | | | | | | | | - 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] Include pixelRatio property in MapOptions | Sudarsana Babu Nagineni | 2019-03-28 | 1 | -4/+3 |
| | | | | Move pixelRatio property from Map constructor to MapOptions. | ||||
* | [core] Add setter/getter for size property in MapOptions | Sudarsana Babu Nagineni | 2019-03-28 | 1 | -2/+2 |
| | |||||
* | [core] Remove file source from public Map ctor | Bruno de Oliveira Abinader | 2019-03-20 | 1 | -4/+3 |
| | |||||
* | [core] Group Map LatLngBounds, min and max zoom methods | Ander Conselvan de Oliveira | 2019-03-14 | 1 | -5/+5 |
| | | | | | | | | 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] Get FileSource via UpdateParameters in Renderer::Impl | Bruno de Oliveira Abinader | 2019-03-13 | 1 | -1/+1 |
| | |||||
* | [core] Add MapOptions to define properties of Map | Sudarsana Babu Nagineni | 2019-03-08 | 1 | -1/+3 |
| | | | | | | To simplify the Map constructor, introduce MapOptions interface to define the properties that can be set on a Map. | ||||
* | [core] Transform{State}: s/angle/bearing/ | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -2/+2 |
| | |||||
* | [core] Remove map bearing setters/getters | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -1/+1 |
| | |||||
* | [core] Remove map zoom setters/getters | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -14/+13 |
| | |||||
* | [build] Update to geometry v1.0.0 | Bruno de Oliveira Abinader | 2018-11-13 | 1 | -4/+4 |
| | |||||
* | [core] Fix querying for annotations near tile boundaries at high zoom. | Chris Loer | 2018-08-14 | 1 | -0/+13 |
| | | | | | | | | Fixes issue #12472. This commit doesn't address the underlying issues that come from symbolAnnotationTree using a slightly lower precision coordinate system than the annotations themselves. Instead, it just puts a small padding around each tile when it queries for tile data, so that symbols right at the tile boundary will be included in both tiles. The rendering/querying code will take care of only displaying one instance. The padding is in global coordinates, so at higher zoom the padding will be larger in tile units -- this is consistent with precision loss also being greater at higher zoom. | ||||
* | [core] don't tie Annotation geometries to Map maxzoom | Konstantin Käfer | 2018-01-02 | 1 | -0/+16 |
| | | | | Instead, geometry generation via GeoJSONVT is now bound to the hardcoded limit of the annotation tile source. | ||||
* | [core] Split MapMode::Still into Static and Tile | Ansis Brammanis | 2017-11-17 | 1 | -1/+1 |
| | | | | | `Tile` makes sure the symbols in the resulting tile are tileable while symbols in `Still` match rendering in `Continuous` mode. | ||||
* | [core] Update unit tests for viewport collision. | Chris Loer | 2017-11-17 | 1 | -4/+4 |
| | | | | Add 'GridIndex' unit test. | ||||
* | [all] Merge View into RendererBackend | John Firebaugh | 2017-07-26 | 1 | -1/+1 |
| | |||||
* | [node, tests] Consolidate headless rendering logic in HeadlessFrontend | John Firebaugh | 2017-07-26 | 1 | -34/+28 |
| | |||||
* | [test] allow only a single shared display to avoid egl errors | Ivo van Dongen | 2017-07-18 | 1 | -1/+1 |
| | |||||
* | [core] rename backend to renderer backend | Ivo van Dongen | 2017-07-18 | 1 | -1/+1 |
| | |||||
* | [core] renderer interface | Ivo van Dongen | 2017-07-18 | 1 | -6/+11 |
| | |||||
* | [core] split backend from mapobserver | Ivo van Dongen | 2017-07-18 | 1 | -1/+1 |
| | |||||
* | [core] Move setStyleJSON/URL to Style; add Map::setStyle | John Firebaugh | 2017-06-22 | 1 | -25/+26 |
| | |||||
* | [core] Fix several bugs in AnnotationManager | John Firebaugh | 2017-06-05 | 1 | -0/+6 |
| | |||||
* | [tests] Add test for calling addAnnotationImage with an existing ID | John Firebaugh | 2017-05-26 | 1 | -2/+18 |
| | |||||
* | [core, node, darwin, android, qt] Make image ID part of Image | John Firebaugh | 2017-05-16 | 1 | -14/+14 |
| | | | | More like Source and Layer. | ||||
* | [core] Remove StyleSourcedAnnotation support | John Firebaugh | 2017-05-10 | 1 | -10/+0 |
| | | | | The functionality this provided has been subsumed by the runtime styling API. | ||||
* | [all] Rationalize style::Image | John Firebaugh | 2017-04-24 | 1 | -15/+15 |
| | | | | | | | A style has a collection of images, just as it has collections of sources and layers. * Name things appropriately * Use std::unique_ptr | ||||
* | [core] Ensure that a BackendScope exists when doing GL calls | Konstantin Käfer | 2017-03-23 | 1 | -0/+2 |
| | |||||
* | [test] Fix polygon construction to compile with clang 3.9.x | Dane Springmeyer | 2017-03-09 | 1 | -9/+9 |
| | |||||
* | [core] Add support for queryRenderedFeatures filter | Asheem Mamoowala | 2017-03-04 | 1 | -1/+1 |
| | |||||
* | [core] private OffscreenView implementation | Konstantin Käfer | 2017-02-27 | 1 | -4/+4 |
| | |||||
* | [core] Add support for data-driven styling | John Firebaugh | 2017-02-02 | 1 | -7/+7 |
| | |||||
* | [core] Assert valid range for color components | John Firebaugh | 2016-11-29 | 1 | -16/+16 |
| | |||||
* | [build] upgrade to variant 1.1.4 and dependencies | Konstantin Käfer | 2016-11-28 | 1 | -2/+2 |
| | |||||
* | [build] move headless rendering files to platform/default | Konstantin Käfer | 2016-11-22 | 1 | -2/+2 |
| | |||||
* | [build] move default ThreadPool implementation to platform/default | Konstantin Käfer | 2016-11-22 | 1 | -1/+1 |
| | |||||
* | [test] Check all zoom levels in Annotations.SymbolAnnotation | Bruno de Oliveira Abinader | 2016-11-18 | 1 | -8/+5 |
| | |||||
* | [test] Use shared headless display | Bruno de Oliveira Abinader | 2016-11-17 | 1 | -2/+2 |
| | | | | Prevents some OpenGL implementations from bailing out. | ||||
* | [core] don't assign clip IDs to tiles that aren't rendered | Konstantin Käfer | 2016-11-08 | 1 | -0/+29 |
| | |||||
* | Revert "[core] Don't use GL_LINEAR if panning w/o rotation nor pitch" | Bruno de Oliveira Abinader | 2016-11-01 | 1 | -16/+0 |
| | | | | This reverts commit a70bfd89108cf1aef75181819ae43e550a69255e. | ||||
* | [core] Don't use GL_LINEAR if panning w/o rotation nor pitch | Bruno de Oliveira Abinader | 2016-10-31 | 1 | -0/+16 |
| | |||||
* | [core] change std::array<uint16_t, 2> to mbgl::Size | Konstantin Käfer | 2016-10-27 | 1 | -7/+7 |
| | |||||
* | [core] move gl::Context to Backend and refactor View | Konstantin Käfer | 2016-10-25 | 1 | -20/+20 |
| | |||||
* | [core] separate Backend from View for headless rendering | Konstantin Käfer | 2016-10-25 | 1 | -4/+4 |
| | |||||
* | [core] [node] pass thread pool impl to Map constructor | Mike Morris | 2016-10-20 | 1 | -1/+3 |
| | | | | | | | Updates mbgl::Map constructor usage everywhere Adds NodeThreadPool implementation using AsyncQueue to call Nan::AsyncQueueWorker from main thread |