Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix #8300 flyTo for close points (#9199) | Ansis Brammanis | 2017-06-06 | 1 | -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 reference | John Firebaugh | 2017-06-05 | 1 | -2/+2 |
| | |||||
* | [core] Split RenderStyle from Style | John Firebaugh | 2017-06-05 | 1 | -18/+43 |
| | |||||
* | [core] Make TransformState LatLngBounds optional | Bruno de Oliveira Abinader | 2017-06-01 | 5 | -15/+22 |
| | |||||
* | Revert "[core] Factor timePoint initialization" | Bruno de Oliveira Abinader | 2017-05-30 | 1 | -3/+1 |
| | | | | This reverts commit 3790caafa3c98706c5cf0618c8aec592b2780bba. | ||||
* | [core] Don't need unique_ptr for AnnotationManager | John Firebaugh | 2017-05-26 | 1 | -12/+10 |
| | |||||
* | [core] Don't use a separate SpriteAtlas for annotation images | John Firebaugh | 2017-05-26 | 1 | -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-pack | John Firebaugh | 2017-05-26 | 1 | -1/+1 |
| | |||||
* | [core, node, darwin, android, qt] Make image ID part of Image | John Firebaugh | 2017-05-16 | 1 | -4/+4 |
| | | | | More like Source and Layer. | ||||
* | [core, node, darwin, qt] Remove support for paint classes | John Firebaugh | 2017-05-15 | 2 | -31/+0 |
| | |||||
* | [core] Split style image collection from SpriteAtlas | Ivo van Dongen | 2017-05-12 | 1 | -5/+3 |
| | |||||
* | [core] Immutable Impls | John Firebaugh | 2017-05-12 | 2 | -3/+2 |
| | |||||
* | [tidy] modernize-pass-by-value | Bruno de Oliveira Abinader | 2017-05-12 | 1 | -3/+4 |
| | |||||
* | [core] render light | Ivo van Dongen | 2017-05-08 | 1 | -2/+2 |
| | |||||
* | [core] Reduce use of RecalculateStyle | John Firebaugh | 2017-05-05 | 4 | -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 method | John Firebaugh | 2017-05-04 | 2 | -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. | ||||
* | [core] UpdateParameters ⇢ TileParameters | John Firebaugh | 2017-05-04 | 1 | -9/+9 |
| | |||||
* | [core] Factor timePoint initialization | John Firebaugh | 2017-05-03 | 1 | -1/+3 |
| | |||||
* | [core] Move render-related sources out of style directory/namespace | John Firebaugh | 2017-05-03 | 1 | -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 layer | John Firebaugh | 2017-05-03 | 1 | -1/+1 |
| | |||||
* | [core] No need to manually set Update::Classes flag after annotation update | John Firebaugh | 2017-05-03 | 1 | -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 cascade | John Firebaugh | 2017-05-03 | 1 | -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 Firebaugh | 2017-05-02 | 1 | -10/+4 |
| | | | | This reverts commit f0d4411871d43012dc9e24a376ebc70ec6ca9224. | ||||
* | [core] Refactor Source::*Impls into RenderSources and TilePyramid | John Firebaugh | 2017-05-02 | 1 | -3/+4 |
| | |||||
* | [all] Push querySourceFeatures back out to Map | John Firebaugh | 2017-05-02 | 1 | -1/+10 |
| | | | | Once Source and RendererSource are split, Source will no longer have access to tiles. | ||||
* | [core] Render fill-extrusion layers (#8431) | Lauren Budorick | 2017-04-27 | 3 | -4/+24 |
| | |||||
* | [all] Rationalize style::Image | John Firebaugh | 2017-04-24 | 1 | -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 pool | Konstantin Käfer | 2017-04-24 | 1 | -2/+2 |
| | |||||
* | [core] Remove non-Map-dependent projection methods from Map | John Firebaugh | 2017-04-18 | 1 | -13/+0 |
| | |||||
* | [core] Ignore shortest path in Map::pixelForLatLng | Bruno de Oliveira Abinader | 2017-04-14 | 2 | -8/+8 |
| | |||||
* | [core] Tighten geo.hpp ctors | Bruno de Oliveira Abinader | 2017-04-14 | 2 | -8/+8 |
| | |||||
* | [all] Remove redundant scale-related camera methods | John Firebaugh | 2017-04-13 | 5 | -80/+13 |
| | | | | We don't need to have two different measurement systems for map zoom. | ||||
* | [core] Revert use of optional<EdgeInsets>, because EdgeInsets has a natural ↵ | John Firebaugh | 2017-04-11 | 3 | -58/+53 |
| | | | | "empty" state | ||||
* | [core] Added {set,get}{Min,Max}Pitch | Bruno de Oliveira Abinader | 2017-04-11 | 5 | -2/+61 |
| | |||||
* | [core] Added Map::{get,set}LatLngBounds | Bruno de Oliveira Abinader | 2017-04-11 | 5 | -2/+33 |
| | |||||
* | [core] Move {Map,Transform}::{get,set}{Min,Max}Zoom to bounds pragma | Bruno de Oliveira Abinader | 2017-04-11 | 5 | -5/+16 |
| | |||||
* | [core] Updated Size::isEmpty and TransformState::valid checks | Bruno de Oliveira Abinader | 2017-04-10 | 4 | -7/+16 |
| | |||||
* | [all] Make LatLng coordinates read-only | John Firebaugh | 2017-04-06 | 2 | -3/+5 |
| | |||||
* | [core] Tighten LatLng and other geo.hpp classes | John Firebaugh | 2017-04-06 | 2 | -24/+15 |
| | | | | | * Remove LatLng::null and enforce invariants * Remove unnecessary operator bool() | ||||
* | [core] Privatize OpenGL/Context headers | Konstantin Käfer | 2017-03-28 | 2 | -0/+36 |
| | |||||
* | [core] Move map/change.hpp to public include directory | John Firebaugh | 2017-03-28 | 1 | -26/+0 |
| | |||||
* | [core] Added Map::latLngBoundsForCamera | Bruno de Oliveira Abinader | 2017-03-24 | 2 | -0/+13 |
| | |||||
* | [core] Refactor OpenGL extension loading mechanism | Konstantin Käfer | 2017-03-23 | 1 | -2/+2 |
| | | | | Previously, we initialized global variables that held pointers to the extension functions. While this seemed to work, the spec doesn't guarantee that the function pointers are identical for different OpenGL contexts. Therefore, we are now making them a member variable of the Context object. | ||||
* | [core] Move OpenGL extension initialization to Backend | Konstantin Käfer | 2017-03-23 | 1 | -2/+9 |
| | |||||
* | [core] Ensure that a BackendScope exists when doing GL calls | Konstantin Käfer | 2017-03-23 | 3 | -5/+19 |
| | |||||
* | [core] cache binary shaders on Android | Konstantin Käfer | 2017-03-22 | 1 | -5/+11 |
| | |||||
* | [core] s/onSourceDidChange/onSourceChanged/ + source ref | Bruno de Oliveira Abinader | 2017-03-21 | 1 | -3/+3 |
| | |||||
* | [core] Pass std::exception_ptr in MapObserver::onDidFailLoadingMap | Bruno de Oliveira Abinader | 2017-03-17 | 1 | -2/+2 |
| | |||||
* | [core] Pass std::exception_ptr in style::Observer::onStyleError | Bruno de Oliveira Abinader | 2017-03-17 | 1 | -5/+9 |
| | |||||
* | [core] Replace MapChange enum with MapObserver | Bruno de Oliveira Abinader | 2017-03-15 | 4 | -39/+23 |
| |