summaryrefslogtreecommitdiff
path: root/include/mbgl/style/function
Commit message (Collapse)AuthorAgeFilesLines
* [core] GCC 4.9 does not fully support custom variable templatesBruno de Oliveira Abinader2017-07-123-4/+4
|
* [core] Enable property functions for line-width (#9250)Lauren Budorick2017-06-193-0/+3
|
* [core] Fix composite function approximation for non-integer stopsJohn Firebaugh2017-06-161-22/+53
|
* Fix undefined memory access in getCoveringRanges() (#9227)Anand Thakker2017-06-091-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] Make ExponentialStops behavior consistent; add testsJohn Firebaugh2017-05-192-4/+2
|
* [core] Eliminate round-trip through Value in CameraFunction::evaluateJohn Firebaugh2017-05-193-16/+22
|
* [core] More complete fix for composite function interpolation edge caseJohn Firebaugh2017-04-201-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] Add DDS support for {text,icon}-size (#8593)Anand Thakker2017-04-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * 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 Thakker2017-04-031-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] Avoid public geometry_tile_data.hpp includeJohn Firebaugh2017-03-282-3/+4
|
* [core, ios, macos] Refactor composite stop types and conversionsJohn Firebaugh2017-02-094-16/+113
|
* [core] default value support in categorical function conversionIvo van Dongen2017-02-027-27/+35
|
* [core] Add support for data-driven stylingJohn Firebaugh2017-02-027-0/+371