Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core][ios][android][macos] Use premultiplied image directly for RasterTile ↵ | Asheem Mamoowala | 2017-07-17 | 1 | -1/+1 |
| | | | | and ImageSource, un-premultiply in the shader for blending | ||||
* | [core] Update shaders. | Chris Loer | 2017-07-12 | 2 | -0/+5 |
| | | | | | Implements 'icon-pitch-alignment' (issue #9345) Fixes issue #9456 (map-aligned point label regression) | ||||
* | [core] GCC 4.9 bracket initialization issues | Bruno de Oliveira Abinader | 2017-07-12 | 1 | -2/+2 |
| | |||||
* | [core] GCC 4.9 is unable to deduce ctors when using bracket init | Bruno de Oliveira Abinader | 2017-07-12 | 1 | -0/+5 |
| | |||||
* | [core] GCC 4.9 does not fully support custom variable templates | Bruno de Oliveira Abinader | 2017-07-12 | 4 | -5/+5 |
| | |||||
* | [core] Implement circle-pitch-alignment property | Chris Loer | 2017-07-06 | 2 | -0/+8 |
| | | | | Closes issue #9349. | ||||
* | [core] Move setStyleJSON/URL to Style; add Map::setStyle | John Firebaugh | 2017-06-22 | 1 | -0/+6 |
| | |||||
* | [all] Promote Style to public API | John Firebaugh | 2017-06-22 | 1 | -0/+75 |
| | |||||
* | [core] Enable property functions for line-width (#9250) | Lauren Budorick | 2017-06-19 | 6 | -5/+8 |
| | |||||
* | [core] Fix composite function approximation for non-integer stops | John Firebaugh | 2017-06-16 | 1 | -22/+53 |
| | |||||
* | Fix undefined memory access in getCoveringRanges() (#9227) | Anand Thakker | 2017-06-09 | 1 | -1/+1 |
| | | | | | | | | | | | | * Add simple unit tests for SymbolSizeBinder * Fix bug in symbol size uniform value calculation For camera functions we were setting the zoom levels in "covering ranges" to `[(zoom stop <= tile zoom), (zoom stop >= 1 + tile zoom)]`, but then evaluating the function at `[tile_zoom, tile_zoom + 1]`. * Check for it != end() before accessing it->first | ||||
* | [core] Collection-level immutability | John Firebaugh | 2017-06-05 | 1 | -1/+1 |
| | | | | Introduce a second level of immutability, over each of the collections held by a style: sources, images, and layers. Tracking immutability at this level allows us to short-circuit significant portions of the RenderStyle update logic via a simple equality check, greatly improving performance. | ||||
* | [core] Refactor RenderSource updates | John Firebaugh | 2017-06-05 | 2 | -0/+8 |
| | | | | | | | * Eliminate updateBatch in favor of diffing layers and detecting changes to properties upon which layout depends. * Replace RenderSource::{update,remove,invalidate,reload}Tiles with a single update method * Replace TilePyramid::{update,remove,invalidate,reload}Tiles with a single update method * Remove Style& dependency TODO from GeometryTile and TileParameters | ||||
* | [core] Use fixed-size std::array for ImageSource coordinates | Asheem Mamoowala | 2017-06-01 | 3 | -12/+11 |
| | |||||
* | [core] Render Image Source | Asheem Mamoowala | 2017-06-01 | 1 | -1/+1 |
| | |||||
* | [core] Add toDouble Conversion method for correctly parsing Lat Lng coordinates | Asheem Mamoowala | 2017-06-01 | 2 | -5/+6 |
| | |||||
* | [core] Add ImageSource support to style parsers | Asheem Mamoowala | 2017-06-01 | 4 | -1/+128 |
| | |||||
* | [core] ensure layer::accept works with non-void return values on gcc | Ivo van Dongen | 2017-05-30 | 1 | -0/+7 |
| | |||||
* | [core] Don't use a separate SpriteAtlas for annotation images | John Firebaugh | 2017-05-26 | 1 | -0/+1 |
| | | | | Instead, just add them to the Style as needed. Includes changes from #8905 and takes care to avoid regressing #3817. | ||||
* | [core] forward visitor in layer::accept | Ivo van Dongen | 2017-05-23 | 1 | -8/+8 |
| | |||||
* | [core] Make ExponentialStops behavior consistent; add tests | John Firebaugh | 2017-05-19 | 2 | -4/+2 |
| | |||||
* | [core] Eliminate round-trip through Value in CameraFunction::evaluate | John Firebaugh | 2017-05-19 | 3 | -16/+22 |
| | |||||
* | [core] Remove ambiguous get{Width,Height} accessors from style::Image | John Firebaugh | 2017-05-17 | 1 | -3/+0 |
| | |||||
* | [core, node, darwin, android, qt] Make image ID part of Image | John Firebaugh | 2017-05-16 | 1 | -1/+5 |
| | | | | More like Source and Layer. | ||||
* | [core, node, darwin, qt] Remove support for paint classes | John Firebaugh | 2017-05-15 | 12 | -379/+352 |
| | |||||
* | [core] Unify {Paint,Layout,Light}Properties | John Firebaugh | 2017-05-15 | 2 | -2/+2 |
| | |||||
* | [core] Immutable<Impl> for Image | John Firebaugh | 2017-05-15 | 1 | -6/+3 |
| | |||||
* | [core] Split style image collection from SpriteAtlas | Ivo van Dongen | 2017-05-12 | 1 | -5/+12 |
| | |||||
* | [core] Return {Source,Layer}::getID by value | John Firebaugh | 2017-05-12 | 2 | -2/+2 |
| | | | | | | | | | | Avoid dangling references in the following sequence: auto& id = layer->getID(); layer->setMaxZoom(2); std::cout << id; The reference would be dangling because mutating the layer allocates a new Immutable impl, and there may be no references to the prior impl, which held the id. | ||||
* | [core] Immutable Impls | John Firebaugh | 2017-05-12 | 16 | -79/+204 |
| | |||||
* | [tidy] modernize-raw-string-literal | Bruno de Oliveira Abinader | 2017-05-12 | 2 | -2/+2 |
| | |||||
* | [tidy] modernize-use-auto | Bruno de Oliveira Abinader | 2017-05-12 | 1 | -3/+3 |
| | |||||
* | [core, android] Factor JSON string conversions | John Firebaugh | 2017-05-08 | 2 | -4/+12 |
| | | | | | | | | | | | 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 | 3 | -15/+17 |
| | |||||
* | [core] generated accessor methods on light | Ivo van Dongen | 2017-05-08 | 3 | -46/+77 |
| | |||||
* | [core] Remove unused declaration | John Firebaugh | 2017-05-05 | 1 | -5/+0 |
| | |||||
* | [core] Refactor Source::*Impls into RenderSources and TilePyramid | John Firebaugh | 2017-05-02 | 2 | -19/+1 |
| | |||||
* | [all] Push querySourceFeatures back out to Map | John Firebaugh | 2017-05-02 | 2 | -27/+0 |
| | | | | 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 | 8 | -35/+295 |
| | |||||
* | [core] split off render layers | Ivo van Dongen | 2017-04-25 | 10 | -31/+41 |
| | |||||
* | [all] Rationalize style::Image | John Firebaugh | 2017-04-24 | 1 | -0/+25 |
| | | | | | | | A style has a collection of images, just as it has collections of sources and layers. * Name things appropriately * Use std::unique_ptr | ||||
* | [core] More complete fix for composite function interpolation edge case | John Firebaugh | 2017-04-20 | 1 | -3/+0 |
| | | | | 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] TransitionOptions s/operator bool/isDefined/ | Bruno de Oliveira Abinader | 2017-04-14 | 1 | -1/+1 |
| | |||||
* | [core] Remove unused bool() functions | Bruno de Oliveira Abinader | 2017-04-14 | 1 | -2/+0 |
| | |||||
* | [core, darwin] Object identity for MGLSource*, MGLStyleLayer* | John Firebaugh | 2017-04-13 | 2 | -0/+12 |
| | | | | All `MGLSource` pointers referencing the same logical source will now be object identical; similarly for `MGLStyleLayer`. | ||||
* | [core] Add DDS support for {text,icon}-size (#8593) | Anand Thakker | 2017-04-06 | 4 | -9/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | * Update gl-js and generate style code * Factor out packUint8Pair() helper function * Draft implementation of DDS for {text,icon}-size Ports https://github.com/mapbox/mapbox-gl-js/pull/4455 * Fix text-size/composite-function-line-placement test * Refactor to PaintPropertyBinders-like strategy * Dedupe gl::Program construction * Use exponential function base for interpolation * Dedupe coveringZoomStops method * Fixup tests * Fix CI errors (hidden within #if block) | ||||
* | Fix edge case in composite function interpolation (#8613) | Anand Thakker | 2017-04-03 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | 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 | ||||
* | [core] Add DDS support for icon-image | John Firebaugh | 2017-03-31 | 2 | -4/+4 |
| | |||||
* | [core] Add DDS support for text-rotate | John Firebaugh | 2017-03-31 | 2 | -4/+4 |
| | |||||
* | [core] implement dds for text-offset | Molly Lloyd | 2017-03-28 | 2 | -4/+4 |
| |