Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core, android] Factor JSON string conversions | John Firebaugh | 2017-05-08 | 7 | -98/+66 |
| | | | | | | | | | | | This adds a `convertJSON` template, to be used like: Error error optional<Foo> foo = convertJSON<Foo>(string, error); Internally, it parses the string with RapidJSON and then calls `convert<Foo>(parsed, error)`. While here, rationalize GeoJSON converters and fix error handling for Tileset conversion in OfflineDownload. | ||||
* | [core] delegate light changes to render light | Ivo van Dongen | 2017-05-08 | 10 | -59/+138 |
| | |||||
* | [core] generated accessor methods on light | Ivo van Dongen | 2017-05-08 | 5 | -3/+209 |
| | |||||
* | [core] render light | Ivo van Dongen | 2017-05-08 | 6 | -12/+72 |
| | |||||
* | [core] Reuse fill-extrusion textures between frames (#8896) | Lauren Budorick | 2017-05-08 | 4 | -34/+43 |
| | |||||
* | [core] Reset observers of removed Sources and Layers | John Firebaugh | 2017-05-05 | 3 | -2/+4 |
| | | | | This ensures that the observer is not an invalid reference if the removed Source/Layer is retained, but the Style is deallocated. | ||||
* | [core] Remove unused declaration | John Firebaugh | 2017-05-05 | 1 | -1/+0 |
| | |||||
* | [core] Reduce use of RecalculateStyle | John Firebaugh | 2017-05-05 | 5 | -53/+48 |
| | | | | | | | * 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] Throw exceptions by value | Konstantin Käfer | 2017-05-05 | 1 | -2/+2 |
| | |||||
* | [core] Omnibus Style::update method | John Firebaugh | 2017-05-04 | 7 | -101/+100 |
| | | | | 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 | 27 | -60/+60 |
| | |||||
* | [core] Factor timePoint initialization | John Firebaugh | 2017-05-03 | 2 | -3/+5 |
| | |||||
* | [core] Calculate hasPendingTransitions functionally rather than statefully | John Firebaugh | 2017-05-03 | 19 | -23/+58 |
| | |||||
* | [core] Move render-related sources out of style directory/namespace | John Firebaugh | 2017-05-03 | 60 | -188/+137 |
| | | | | | | | | | | | | | | | | 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] Make Map.addImage tests pass (#8843) | Asheem Mamoowala | 2017-05-02 | 1 | -12/+0 |
| | | | | | Fix Node tests suite implementation to parse pixelRatio from style json Premultiply images in the node binding before sending to mbgl core | ||||
* | [core] Refactor Source::*Impls into RenderSources and TilePyramid | John Firebaugh | 2017-05-02 | 36 | -551/+1245 |
| | |||||
* | [core] Load source TileJSON immediately | John Firebaugh | 2017-05-02 | 1 | -3/+2 |
| | | | | | | | This reverses #3095. Rationale: * We're now exposing source attributes as a public API. Making those attributes unavailable at certain times complicates that API. * We're preparing to split RenderSource out of Source. Removing this removes a point of coupling between the two. | ||||
* | [all] Push querySourceFeatures back out to Map | John Firebaugh | 2017-05-02 | 10 | -18/+20 |
| | | | | Once Source and RendererSource are split, Source will no longer have access to tiles. | ||||
* | [core] Suppress "stencil mask overflow" warning | Thiago Marcos P. Santos | 2017-05-02 | 1 | -1/+6 |
| | | | | | When it starts, we get a log warning for every frame, which is expensive. Now we get only one warning. | ||||
* | [core] Render fill-extrusion layers (#8431) | Lauren Budorick | 2017-04-27 | 52 | -235/+1346 |
| | |||||
* | [core] Tweak handling of annotation special case SpriteAtlas | John Firebaugh | 2017-04-26 | 19 | -98/+78 |
| | | | | | * Simplify SymbolLayout; it never needs to care about more than one SpriteAtlas. * Move the reference from SymbolLayer::Impl to SymbolBucket. This is a prerequisite for making layer Impls immutable. | ||||
* | [core] split off render layers | Ivo van Dongen | 2017-04-25 | 87 | -1066/+1624 |
| | |||||
* | [all] Rationalize style::Image | John Firebaugh | 2017-04-24 | 9 | -123/+107 |
| | | | | | | | A style has a collection of images, just as it has collections of sources and layers. * Name things appropriately * Use std::unique_ptr | ||||
* | [core] fix an issue with lines that have duplicate points (#8808) | Vladimir Agafonkin | 2017-04-24 | 1 | -4/+13 |
| | | | An equivalent of https://github.com/mapbox/mapbox-gl-js/pull/4634. | ||||
* | [core] Move Sprite parsing to thread pool | Konstantin Käfer | 2017-04-24 | 10 | -54/+109 |
| | |||||
* | [core] More complete fix for composite function interpolation edge case | John Firebaugh | 2017-04-20 | 1 | -1/+3 |
| | | | | b5b4549 / #8613 handled the edge case for layout properties, but not paint properties. Move the check for a degenerate range to interpolationFactor in order to handle both correctly. | ||||
* | [core] remove unused leftover files | Konstantin Käfer | 2017-04-20 | 3 | -52/+1 |
| | |||||
* | [core] Render parent raster tiles when ideal tile can't be loaded | Konstantin Käfer | 2017-04-20 | 4 | -35/+47 |
| | |||||
* | [core] account for property functions in query rendered features | Ivo van Dongen | 2017-04-19 | 20 | -79/+194 |
| | |||||
* | [core] make Tile::getBucket const | Ivo van Dongen | 2017-04-19 | 5 | -5/+5 |
| | |||||
* | [core] property function statistics collection | Ivo van Dongen | 2017-04-19 | 2 | -1/+44 |
| | |||||
* | [core] Remove unnecessary Source::Impl::enabled assignment | John Firebaugh | 2017-04-18 | 1 | -3/+1 |
| | | | | This flag will get set automatically by Style::recalculate. | ||||
* | [core] Remove non-Map-dependent projection methods from Map | John Firebaugh | 2017-04-18 | 1 | -13/+0 |
| | |||||
* | [core] Combine two GlyphID-keyed maps in GlyphAtlas::Entry | John Firebaugh | 2017-04-14 | 2 | -54/+39 |
| | |||||
* | [core] Replace GlyphRangeSet in onGlyphsAvailable with optionals in the map | John Firebaugh | 2017-04-14 | 9 | -75/+42 |
| | | | | GlyphRangeSet isn't keyed by FontStack, so using it to indicate that a particular range was loaded could have produced false positives. | ||||
* | [core] Ignore shortest path in Map::pixelForLatLng | Bruno de Oliveira Abinader | 2017-04-14 | 2 | -8/+8 |
| | |||||
* | [core] Safeguard PositionedIcon usage via optional | Bruno de Oliveira Abinader | 2017-04-14 | 9 | -47/+61 |
| | |||||
* | [core] Tighten geo.hpp ctors | Bruno de Oliveira Abinader | 2017-04-14 | 3 | -10/+10 |
| | |||||
* | [core] TransitionOptions s/operator bool/isDefined/ | Bruno de Oliveira Abinader | 2017-04-14 | 1 | -1/+1 |
| | |||||
* | [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. | ||||
* | [tests] Rewrite GlyphAtlas tests to use public API | John Firebaugh | 2017-04-13 | 2 | -32/+2 |
| | |||||
* | [core] Inline GlyphSet into GlyphAtlas | John Firebaugh | 2017-04-12 | 4 | -90/+68 |
| | |||||
* | Merge branch 'release-ios-v3.5.0-android-v5.0.0' into ↵ | Fabian Guerra | 2017-04-11 | 2 | -0/+51 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | boundsj-merge-release-branch # Conflicts: # cmake/core-files.cmake # mapbox-gl-js # platform/android/CHANGELOG.md # platform/ios/CHANGELOG.md # platform/macos/CHANGELOG.md # platform/qt/bitrise-qt5.yml # src/mbgl/gl/attribute.hpp # src/mbgl/gl/context.cpp # src/mbgl/gl/program.hpp # src/mbgl/map/map.cpp # src/mbgl/programs/program.hpp # src/mbgl/renderer/painter.cpp | ||||
| * | [core] cache binary shaders on Android | Konstantin Käfer | 2017-04-03 | 21 | -32/+443 |
| | | |||||
| * | [core] Extract and de-templatize several Program static methods | John Firebaugh | 2017-04-03 | 3 | -27/+52 |
| | | |||||
| * | [core] check null data in query source features (#8553) | John Firebaugh | 2017-03-28 | 1 | -0/+5 |
| | | | | | | | | | | | | * [core] check null data in query source features * Include what you use |