summaryrefslogtreecommitdiff
path: root/src/mbgl/map
Commit message (Collapse)AuthorAgeFilesLines
* [core] Add `cameraForLatLngs()` method with modified bearingAsheem Mamoowala2017-10-091-11/+34
|
* [core] TransformState::getIntegerZoom should be uint8_tBruno de Oliveira Abinader2017-09-152-2/+2
|
* [core] Partially revert ZoomHistory.lastIntegerZoom updateBruno de Oliveira Abinader2017-09-151-1/+1
|
* [core] remove map update enumIvo van Dongen2017-08-312-59/+33
|
* [core] move annotation tile updates to rendererIvo van Dongen2017-08-311-5/+1
| | | | | - AnnotationData.updateData() was not completely thread safe. Calling it from the renderer thread instead of the main thread fixes this - Since we moved the coalescing of updates out of the map and into the renderer frontend implementations, the updateData was called too much, resulting in degraded performance. Moving it into the renderer makes sure it gets coalesced again.
* [core] annotation manager - manage dirty state internallyIvo van Dongen2017-08-311-1/+3
|
* [node] Cleanup NodeMap::RenderBruno de Oliveira Abinader2017-08-311-0/+7
|
* [core] Inline Renderer::Impl::doRenderJohn Firebaugh2017-08-241-3/+3
|
* [core] Remove unnecessary members from UpdateParametersJohn Firebaugh2017-08-241-2/+0
|
* [core] Update ZoomHistory.lastInteger{Zoom,Time} if different from floor zoomBruno de Oliveira Abinader2017-08-221-16/+21
|
* Set Default MaxZoom to 22Asheem Mamoowala2017-08-211-1/+1
|
* [core] Added Style::getDefaultCamera()Bruno de Oliveira Abinader2017-08-111-5/+1
|
* [all] Merge View into RendererBackendJohn Firebaugh2017-07-261-1/+0
|
* [core] rename backend to renderer backendIvo van Dongen2017-07-182-116/+0
|
* [core] renderer interfaceIvo van Dongen2017-07-181-247/+102
|
* [core] split backend from mapobserverIvo van Dongen2017-07-181-1/+5
|
* [core] mutate style on annotation mutations immediatelyIvo van Dongen2017-07-182-12/+9
|
* [core] abort early when the dimension is 0Konstantin Käfer2017-07-171-1/+1
|
* [core] GCC 4.9 bracket initialization issuesBruno de Oliveira Abinader2017-07-121-1/+1
|
* [core] Added MBGL_CONSTEXPR to satisfy GCC 4.9Bruno de Oliveira Abinader2017-07-121-3/+4
|
* [core] Improved label pitch-scaling: approximate collision box shapes based ↵Chris Loer2017-07-112-0/+14
| | | | on tile distance from camera.
* [core] Prefetch low resolution tilesThiago Marcos P. Santos2017-07-071-1/+14
|
* [core] Factor timePoint initialization: take 2Bruno de Oliveira Abinader2017-07-042-4/+7
|
* [core] Check if frameZoom is NaN in Transform::flyTo callbackBruno de Oliveira Abinader2017-06-281-0/+5
|
* [core] Clamp to scale boundaries in TransformState::setLatLngZoomBruno de Oliveira Abinader2017-06-281-1/+1
|
* [core] remove tile cache size setterIvo van Dongen2017-06-271-11/+0
|
* [core] fix render doesn’t flag style mutationIvo van Dongen2017-06-261-2/+2
|
* [core] Move setStyleJSON/URL to Style; add Map::setStyleJohn Firebaugh2017-06-221-94/+20
|
* [all] Promote Style to public APIJohn Firebaugh2017-06-221-126/+31
|
* [core] Refactor CustomLayer internalsJohn Firebaugh2017-06-221-7/+1
| | | | Move the responsibility for initialization/deinitialization/rendering to RenderCustomLayer. This eliminates special case code from Map and Style.
* [core] Implement "smart setStyle"John Firebaugh2017-06-151-111/+38
|
* [core] Dynamic program compilation for data-driven propertiesJohn Firebaugh2017-06-131-4/+4
|
* [core] Added Backend::{assume,set}ScissorTestBruno de Oliveira Abinader2017-06-131-0/+10
|
* [core] Added Backend::{assume,set}ViewportBruno de Oliveira Abinader2017-06-131-4/+5
|
* fix #8300 flyTo for close points (#9199)Ansis Brammanis2017-06-061-10/+7
| | | | | | | | | | | | | | The isClose threshold is switched from 0.000001 pixels to 1 pixel. As a backup, it checks whether r0 and r1 are finite. It might be possible to have just the threshold check or just the finiteness check, but I don't see the harm in having both. std::abs(w0 - w1) < 0.000001 is removed because it doesn't look like it's needed. All calculations should run fine even if w0 === w1. Finally, the point interpolation is tweaked so that at the end of the flying (when k === 1) it ends up at the exact end point. I didn't see any bugs related to this, but it seems like a good thing to have explicitly.
* [core] Don't share TransformState referenceJohn Firebaugh2017-06-051-2/+2
|
* [core] Split RenderStyle from StyleJohn Firebaugh2017-06-051-18/+43
|
* [core] Make TransformState LatLngBounds optionalBruno de Oliveira Abinader2017-06-015-15/+22
|
* Revert "[core] Factor timePoint initialization"Bruno de Oliveira Abinader2017-05-301-3/+1
| | | | This reverts commit 3790caafa3c98706c5cf0618c8aec592b2780bba.
* [core] Don't need unique_ptr for AnnotationManagerJohn Firebaugh2017-05-261-12/+10
|
* [core] Don't use a separate SpriteAtlas for annotation imagesJohn Firebaugh2017-05-261-4/+4
| | | | Instead, just add them to the Style as needed. Includes changes from #8905 and takes care to avoid regressing #3817.
* [core] Auto-growable SpriteAtlas using shelf-packJohn Firebaugh2017-05-261-1/+1
|
* [core, node, darwin, android, qt] Make image ID part of ImageJohn Firebaugh2017-05-161-4/+4
| | | | More like Source and Layer.
* [core, node, darwin, qt] Remove support for paint classesJohn Firebaugh2017-05-152-31/+0
|
* [core] Split style image collection from SpriteAtlasIvo van Dongen2017-05-121-5/+3
|
* [core] Immutable ImplsJohn Firebaugh2017-05-122-3/+2
|
* [tidy] modernize-pass-by-valueBruno de Oliveira Abinader2017-05-121-3/+4
|
* [core] render lightIvo van Dongen2017-05-081-2/+2
|
* [core] Reduce use of RecalculateStyleJohn Firebaugh2017-05-054-48/+40
| | | | | | | * Don't use it to track zoom changes. Instead, Style::update can use the zoom history to check for a change in zoom from the previous frame. * Don't use it to track active property transitions. Style already knows which layers/light have an active transition, and can re-evaluate only those that do. This leaves layer property changes as the only use of RecalculateStyle.
* [core] Omnibus Style::update methodJohn Firebaugh2017-05-042-25/+13
| | | | Combine Style::cascade, recalculate, relayout, and updateTiles into a single method. This allows multiple loops over sources and layers to be consolidated and prepares for additional Style-Map decoupling: rather than tracking pending updates via a set of Update flags held by the Map and passed to the Style, the Style can use its own data to determine what to update.