summaryrefslogtreecommitdiff
path: root/mapbox-gl-js
Commit message (Collapse)AuthorAgeFilesLines
* [core] Replace API.ZoomHistory test with integration testJohn Firebaugh2017-07-261-0/+0
|
* [core] generate masks for raster tiles to avoid painting over childrenKonstantin Käfer2017-07-241-0/+0
|
* [core] Correctly track sprite loaded state through smart setStyleJohn Firebaugh2017-07-201-0/+0
|
* [build] Publish node packages with RelWithDebInfoBruno de Oliveira Abinader2017-07-141-0/+0
|
* Update mapbox-gl-jsupstream/attribute-locationJohn Firebaugh2017-07-121-0/+0
|
* [tests] Local ignores.json file for ignored integration testsJohn Firebaugh2017-07-121-0/+0
|
* [test] Pull in re-enabled tests from mapbox-gl-js.Chris Loer2017-07-121-0/+0
|
* [test] Re-enable keep-upright test for pitched views.Chris Loer2017-07-121-0/+0
|
* [test] Bump mapbox-gl-js version to re-enable pitched testsupstream/cloer_text_pitch_scalingChris Loer2017-07-111-0/+0
|
* [core] improve legibility of labels that follow linesAnsis Brammanis2017-07-111-0/+0
| | | | | | | | | | port https://github.com/mapbox/mapbox-gl-js/pull/4781 This improves legibility of labels that follow lines in pitched views. The previous approach used the limited information in the shader to calculate put the glyph in approximatelyright place. The new approach does this more accurately by doing it on the cpu where we have access to the entire line geometry.
* [core] Bump mapbox-gl-js to get updated circle shader.Chris Loer2017-07-061-0/+0
|
* [core] Enable property functions for line-width (#9250)Lauren Budorick2017-06-191-0/+0
|
* [core] Fix composite function approximation for non-integer stopsJohn Firebaugh2017-06-161-0/+0
|
* [tests] Enable set-style-* integration testsJohn Firebaugh2017-06-151-0/+0
|
* [tests] Test updating icon and pattern imagesJohn Firebaugh2017-06-131-0/+0
|
* Update GL-JS submodule pin to latest masterAsheem Mamoowala2017-06-011-0/+0
|
* [core] Update gl-js submodule to include ImageSource render testsAsheem Mamoowala2017-06-011-0/+0
|
* [core] Simplify and fix sprite atlas coordinate calculationsJohn Firebaugh2017-05-231-0/+0
| | | | | | | | * Always return image metrics exclusive of padding * Work with integer coordinates whenever possible * Eliminate redundant SpriteAtlasElement members * Fix asymmetric re-padding in getIconQuad when pixelRatio != 1 * Add explanatory comments
* [core] Update gl-js submodule.Chris Loer2017-05-221-0/+0
|
* [core] Remove obsolete modular arithmetic on atlas coordinatesJohn Firebaugh2017-05-171-0/+0
| | | | We switched to 16-bit coordinates in attributes in b0cb8715ed74678b4d0f05829fa71a590e41b2f6, so there's no longer any reason to require that they are divisible by four.
* [test] Update gl-js submoduleJohn Firebaugh2017-05-151-0/+0
|
* [core, node, darwin, qt] Remove support for paint classesJohn Firebaugh2017-05-151-0/+0
|
* [core] Immutable ImplsJohn Firebaugh2017-05-121-0/+0
|
* [core] When a layer is added, reload its source's tilesJohn Firebaugh2017-05-111-0/+0
|
* [core] Corrected mapbox-gl-js submodule pinMinh Nguyễn2017-05-041-0/+0
|
* [core] Make Map.addImage tests pass (#8843)Asheem Mamoowala2017-05-021-0/+0
| | | | | Fix Node tests suite implementation to parse pixelRatio from style json Premultiply images in the node binding before sending to mbgl core
* [core] Render fill-extrusion layers (#8431)Lauren Budorick2017-04-271-0/+0
|
* [core] fix an issue with lines that have duplicate points (#8808)Vladimir Agafonkin2017-04-241-0/+0
| | | An equivalent of https://github.com/mapbox/mapbox-gl-js/pull/4634.
* [core] More complete fix for composite function interpolation edge caseJohn Firebaugh2017-04-201-0/+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] Render parent raster tiles when ideal tile can't be loadedKonstantin Käfer2017-04-201-0/+0
|
* [core] account for property functions in query rendered featuresIvo van Dongen2017-04-191-0/+0
|
* [core] Invalidate cached tiles of disabled sources on relayoutJohn Firebaugh2017-04-071-0/+0
|
* [core] Add DDS support for {text,icon}-size (#8593)Anand Thakker2017-04-061-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | * 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)
* Slightly move center of text-font/chinese test to avoid render errorsChris Loer2017-04-041-0/+0
| | | | presumed to stem from issue #6863.
* [core] return empty optional when color could not be parsedIvo van Dongen2017-04-041-0/+0
|
* [core] Add DDS support for icon-imageJohn Firebaugh2017-03-311-0/+0
|
* [core] Add DDS support for text-rotateJohn Firebaugh2017-03-311-0/+0
|
* [core] implement dds for text-offsetMolly Lloyd2017-03-281-0/+0
|
* [core] Update mapbox-gl-js submoduleJohn Firebaugh2017-03-281-0/+0
| | | | Includes lowp ⇢ highp fix for shader color attributes / uniforms.
* [core] Never join coincident start/end points of LineStringsJohn Firebaugh2017-03-141-0/+0
|
* Pack min + max into one attribute :muscle:Molly Lloyd2017-03-081-0/+0
| | | | | | | | Some devices supported by Mapbox GL provide only 8 vertex attributes; this change packs existing attributes to get us just under that limit. For properties using a composite function, pack the min and max values into a single attribute with two logical components instead of using two separate attributes and buffers. Special logic is included for color attributes, whose integer components must be packed into the available bits of floating-point attributes. (We don't have access to ivec types in GL ES 2.0.) For source functions, continue to bind just a one-component attribute even though the GLSL type is vec2 (or vec4 for colors). The type-checking done by gl::Attribute is relaxed slightly to accommodate this.
* [core] Add support for queryRenderedFeatures filterAsheem Mamoowala2017-03-041-0/+0
|
* [core] Implement data-driven styling for ↵Anand Thakker2017-02-281-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | {text,icon}-{color,opacity,halo-color,halo-blur,halo-width} (#7939) * Add symbol dds attributes and adapt style code generation * Update to mapbox-gl-js/master * Refactor SymbolFeature as a subclass of GeometryTileFeature Prepares for enabling DDS on symbol paint properties by allowing the SymbolFeatures, which we keep around after constructing SymbolLayout, to be used in evaluating data-driven paint properties later in the layout process. * Draft approach for splitting icon/text paint properties The `Program` types are set up to bind GL attributes to each of the data-driven paint properties specified in the `PaintProperties` type provided. Since `SymbolPaintProperties` specifies both `Text*` and `Icon*` properties, the symbolIcon, symbolIconSDF, and symbolGlyph programs each attempt to bind roughly double the number of attributes that they actually need. This change addresses this by: - Adding the more specific `IconPaintProperties` and `TextPaintProperties` types, which are subsets of the full `SymbolPaintProperties`. - The symbol layer continues to use its `SymbolPaintProperties paint` member to track layer property state, but it provides helpers that construct objects of each the specific `{Icon,Text}PaintProperties::Evaluated` type, for use by the painter. - The three symbol programs instantiate `Program<>` using the appropriate `{Icon,Text}PaintProperties` type. * check in generated style code * Populate paint buffers for symbol DDS properties * Address first round of review comments * Refactor VectorTile{Layer,Feature} to explicitly share data * Update submodule
* [core] Render a circle if either the color or stroke color are visibleJesse Bounds2017-02-171-0/+0
| | | | | | | | | | | | | This updates the circle paint check to pass if the circle stroke is visible but: * The circle color is clear * The circle is transparent * The circle has a radius of 0 Previously, a transparent circle or a circle with a radius of 0 would cause the layer to be passed up even if the circle stroke color had a non zero alpha.
* [core] Enable property functions for text-{field,transform} (#7944)Anand Thakker2017-02-171-0/+0
|
* Refactor: use conversion system to convert MGLStyleFunction to mbgl core ↵Anand Thakker2017-02-151-0/+0
| | | | | types (#8026) This leverages the work already happening in `mbgl::style::conversion` to convert style functions from style-spec definitions into `mbgl::style::{Camera,Source,Composite}Function`s. In particular, this allows the conversions system to handle the differing typing requirements based on whether the output type of the style function is interpolatable or non-interpolatable.
* [core] Make Image saferJohn Firebaugh2017-02-141-0/+0
| | | | | | Provide Image::copy, which handles copying rectangles from a source to a destination, with thorough bounds checking. Also fixes an indexing error in SpriteAtlas, where the top row of pixels in a wrapped image was copied from the wrong source row.
* Upright CJK characters in vertically-oriented labels (#7114)Minh Nguyễn2017-02-101-0/+0
| | | | | CJK characters and adjacent punctuation now remain upright in vertically oriented labels that have line placement. Fixes #1682.
* [core] Introduce dedicated filter types for $type and $id special cases (#7971)John Firebaugh2017-02-091-0/+0
| | | | | | | | * [core] Introduce dedicated filter types for $type and $id special cases * [ios, macos] Special-case $id, $type in predicates Also support $id ≟ nil.
* [core] Update gl-js; fix $id filters with GeoJSON sourceJohn Firebaugh2017-02-081-0/+0
|