Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core, android] Factor JSON string conversions | John Firebaugh | 2017-05-08 | 1 | -37/+0 |
| | | | | | | | | | | | 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] generated accessor methods on light | Ivo van Dongen | 2017-05-08 | 1 | -19/+19 |
| | |||||
* | [core] Omnibus Style::update method | John Firebaugh | 2017-05-04 | 1 | -4/+8 |
| | | | | 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 | -11/+11 |
| | |||||
* | [core] Move render-related sources out of style directory/namespace | John Firebaugh | 2017-05-03 | 3 | -5/+5 |
| | | | | | | | | | | | | | | | | 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] Refactor Source::*Impls into RenderSources and TilePyramid | John Firebaugh | 2017-05-02 | 1 | -118/+108 |
| | |||||
* | [core] Load source TileJSON immediately | John Firebaugh | 2017-05-02 | 1 | -72/+0 |
| | | | | | | | 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. | ||||
* | [core] Render fill-extrusion layers (#8431) | Lauren Budorick | 2017-04-27 | 2 | -19/+121 |
| | |||||
* | [core] split off render layers | Ivo van Dongen | 2017-04-25 | 2 | -48/+4 |
| | |||||
* | [all] Rationalize style::Image | John Firebaugh | 2017-04-24 | 1 | -0/+52 |
| | | | | | | | 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 | 3 | -6/+13 |
| | |||||
* | Fix edge case in composite function interpolation (#8613) | Anand Thakker | 2017-04-03 | 1 | -0/+46 |
| | | | | | | | | | | | | | | | | This fixes a bug where, for a zoom value greater than that of the highest zoom stop, composite function interpolation would return nan. (Blocking a render test over in #8593) * Add failing tests for composite function edge case The failing cases here are: - Should interpolate before the first stop - Should interpolate past the last stop * Fix edge case in composite function interpolation * Hold functions constant outside stop-defined domain | ||||
* | [all] Replace Result<T> with optional<T> plus out Error parameter | John Firebaugh | 2017-03-23 | 4 | -25/+35 |
| | |||||
* | Make Source::getZoomRange return an optional range | Bruno de Oliveira Abinader | 2017-03-21 | 1 | -9/+16 |
| | |||||
* | [core] s/onSourceDidChange/onSourceChanged/ + source ref | Bruno de Oliveira Abinader | 2017-03-21 | 1 | -2/+2 |
| | |||||
* | [core] Expose Source::getZoomRange | Bruno de Oliveira Abinader | 2017-03-20 | 1 | -0/+24 |
| | |||||
* | [core] Avoid unnecessary convert template instantiations | John Firebaugh | 2017-03-09 | 2 | -2/+2 |
| | |||||
* | For data-driven paint setters, transition immediately to target value (#8306) | Anand Thakker | 2017-03-08 | 1 | -0/+45 |
| | | | Closes #8237 | ||||
* | [core] Restore support for *-transition properties | John Firebaugh | 2017-02-09 | 1 | -0/+46 |
| | |||||
* | [core, ios, macos] Refactor composite stop types and conversions | John Firebaugh | 2017-02-09 | 1 | -3/+6 |
| | |||||
* | [core] default value support in categorical function conversion | Ivo van Dongen | 2017-02-02 | 2 | -2/+98 |
| | |||||
* | [core] Add support for data-driven styling | John Firebaugh | 2017-02-02 | 5 | -110/+131 |
| | |||||
* | [core] remove trailing whitespace, add trailing newlines, add space after // | Konstantin Käfer | 2017-01-27 | 4 | -20/+20 |
| | |||||
* | [core] Fix calculation of delayed transitions | John Firebaugh | 2017-01-17 | 1 | -0/+94 |
| | |||||
* | [core] add tests for function parsing | Konstantin Käfer | 2017-01-16 | 1 | -0/+54 |
| | |||||
* | [tests] Sidestep a gcc or gtest bug | John Firebaugh | 2017-01-11 | 1 | -5/+5 |
| | | | | | | | https://github.com/google/googletest/issues/458 https://github.com/google/googletest/issues/322 Not seen in CI because of https://github.com/mapbox/mapbox-gl-native/blob/0ef52d7f7ceee670e8961e811364d215fde7e980/scripts/travis_setup.sh#L17-L22 | ||||
* | [core] Fix flickering caused by regression in #7586 | John Firebaugh | 2017-01-10 | 1 | -4/+4 |
| | | | | It should be safe to invoke GeometryTileWorker::setData multiple times without invoking GeometryTileWorker::setLayers. Therefore GeometryTileWorker::redoLayout() must not consume the layers. | ||||
* | [core] Get rid of user-specified refs | John Firebaugh | 2017-01-04 | 2 | -0/+142 |
| | |||||
* | [core] Correct boolean function interpolation | John Firebaugh | 2016-12-22 | 1 | -10/+20 |
| | |||||
* | [core] guard against duplicate layer ids | Ivo van Dongen | 2016-12-12 | 1 | -0/+28 |
| | |||||
* | [core] Functions must have at least one stop | John Firebaugh | 2016-12-01 | 1 | -6/+0 |
| | | | | This is already enforced by the style validator in mapbox-gl-style-spec. Enforce it here too. | ||||
* | [core] guard against duplicate source id’s | Ivo van Dongen | 2016-11-30 | 1 | -0/+21 |
| | |||||
* | [build] upgrade to variant 1.1.4 and dependencies | Konstantin Käfer | 2016-11-28 | 2 | -9/+9 |
| | |||||
* | [build] move logging to util | Konstantin Käfer | 2016-11-22 | 2 | -2/+2 |
| | |||||
* | [build] move default ThreadPool implementation to platform/default | Konstantin Käfer | 2016-11-22 | 1 | -1/+1 |
| | |||||
* | [core] Convert style properties to a tuple-based approach | John Firebaugh | 2016-11-17 | 1 | -3/+3 |
| | | | | | | | | This converts the style property classes (CirclePaintProperties and so on) to the same tuple-based approach as gl::Attribute and gl::Uniform. The approach is outlined in https://github.com/mapbox/cpp/blob/master/C%2B%2B%20Structural%20Metaprogramming.md. The main advantage of this approach is it allows writing algorithms that work on sets of style properties, without resorting to code generation or manually repetitive code. This lets us iterate on approaches to data-driven properties more easily. Another advantage is that the cascading, unevaluated, and evaluated states of a set of properties exist as independent structures, instead of individual properties holding their own state. This is a more functional approach that makes data flow clearer and reduces state. | ||||
* | [core] symbol layer - recalculate style on icon/text size changes | Ivo van Dongen | 2016-11-11 | 1 | -1/+1 |
| | |||||
* | [core] change std::array<uint16_t, 2> to mbgl::Size | Konstantin Käfer | 2016-10-27 | 1 | -1/+1 |
| | |||||
* | [core] fixup formatting | Ivo van Dongen | 2016-10-21 | 1 | -11/+11 |
| | |||||
* | [core] [node] pass thread pool impl to Map constructor | Mike Morris | 2016-10-20 | 1 | -1/+1 |
| | | | | | | | Updates mbgl::Map constructor usage everywhere Adds NodeThreadPool implementation using AsyncQueue to call Nan::AsyncQueueWorker from main thread | ||||
* | [core] reload geojson source on url change | Ivo van Dongen | 2016-10-20 | 1 | -0/+34 |
| | |||||
* | [test] add .test.cpp suffix to test case files | Konstantin Käfer | 2016-09-28 | 8 | -0/+0 |
| | |||||
* | [core] Source-driven attribution | Minh Nguyễn | 2016-09-26 | 1 | -0/+39 |
| | | | | | | Implemented observer callbacks so the style knows when the source’s attribution changes and the map knows when the style’s attribution changes. Also implemented a getter for a tile source’s attribution. Fixes #2723. | ||||
* | [core] Trigger Update::RecalculateStyle when toggling layer visibility | Bruno de Oliveira Abinader | 2016-09-26 | 1 | -2/+15 |
| | |||||
* | [core] Merge GlyphStore and GlyphAtlas | John Firebaugh | 2016-09-19 | 1 | -144/+0 |
| | |||||
* | [core] Merge SpriteStore and SpriteAtlas | John Firebaugh | 2016-09-19 | 1 | -0/+0 |
| | |||||
* | [core] Use an actor model for tile worker concurrency | John Firebaugh | 2016-09-16 | 2 | -16/+16 |
| | |||||
* | [core] Correct evaluation of interval functions | clydebarrow | 2016-09-16 | 1 | -0/+11 |
| | |||||
* | [core] upgrade RapidJSON to 1.1.0 | Konstantin Käfer | 2016-09-15 | 1 | -5/+6 |
| | |||||
* | [core] change bool to enum class bool TileLoadState | Konstantin Käfer | 2016-09-07 | 1 | -4/+4 |
| |