summaryrefslogtreecommitdiff
path: root/src/mbgl/map/map.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Add `cameraForLatLngs()` method with modified bearingAsheem Mamoowala2017-10-091-11/+34
|
* [core] remove map update enumIvo van Dongen2017-08-311-33/+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] Added Style::getDefaultCamera()Bruno de Oliveira Abinader2017-08-111-5/+1
|
* [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-181-11/+9
|
* [core] GCC 4.9 bracket initialization issuesBruno de Oliveira Abinader2017-07-121-1/+1
|
* [core] Prefetch low resolution tilesThiago Marcos P. Santos2017-07-071-1/+14
|
* [core] Factor timePoint initialization: take 2Bruno de Oliveira Abinader2017-07-041-1/+3
|
* [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] 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-011-2/+2
|
* 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-151-30/+0
|
* [core] Split style image collection from SpriteAtlasIvo van Dongen2017-05-121-5/+3
|
* [core] Immutable ImplsJohn Firebaugh2017-05-121-2/+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-051-20/+12
| | | | | | | * 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-041-23/+12
| | | | 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.
* [core] UpdateParameters ⇢ TileParametersJohn Firebaugh2017-05-041-9/+9
|
* [core] Factor timePoint initializationJohn Firebaugh2017-05-031-1/+3
|
* [core] Move render-related sources out of style directory/namespaceJohn Firebaugh2017-05-031-2/+2
| | | | | | | | | | | | | | | | Moves the following to the renderer directory and out of the style namespace: * CascadeParameters * PropertyEvaluationParameters * UpdateParameters * PropertyEvaluator * DataDrivenPropertyEvaluator * CrossFadedPropertyEvaluator * PaintPropertyBinder * PaintProperyStatistics * PossiblyEvaluatedPropertyValue * TransitioningLight * EvaluatedLight
* [core] No need to Update::Classes after removing a layerJohn Firebaugh2017-05-031-1/+1
|
* [core] No need to manually set Update::Classes flag after annotation updateJohn Firebaugh2017-05-031-1/+0
| | | | Since the advent of the runtime styling APIs, the APIs used by AnnotationManager::updateStyle will automatically set this flag as needed.
* [core] Remove forced style cascadeJohn Firebaugh2017-05-031-3/+0
| | | | This should happen automatically during rendering. After removing, I can no longer replicate the original issue (#1889).
* Revert "[node] Temporary: exit(0) on exception in Painter::render"John Firebaugh2017-05-021-10/+4
| | | | This reverts commit f0d4411871d43012dc9e24a376ebc70ec6ca9224.
* [core] Refactor Source::*Impls into RenderSources and TilePyramidJohn Firebaugh2017-05-021-3/+4
|
* [all] Push querySourceFeatures back out to MapJohn Firebaugh2017-05-021-1/+10
| | | | Once Source and RendererSource are split, Source will no longer have access to tiles.
* [core] Render fill-extrusion layers (#8431)Lauren Budorick2017-04-271-0/+17
|
* [all] Rationalize style::ImageJohn Firebaugh2017-04-241-12/+12
| | | | | | | A style has a collection of images, just as it has collections of sources and layers. * Name things appropriately * Use std::unique_ptr
* [core] Move Sprite parsing to thread poolKonstantin Käfer2017-04-241-2/+2
|
* [core] Remove non-Map-dependent projection methods from MapJohn Firebaugh2017-04-181-13/+0
|
* [core] Ignore shortest path in Map::pixelForLatLngBruno de Oliveira Abinader2017-04-141-2/+7
|