Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] address nits | Konstantin Käfer | 2018-10-23 | 1 | -1/+1 |
| | |||||
* | [core] don't use <sstream> and <iomanip> for string construction | Konstantin Käfer | 2018-10-23 | 1 | -8/+7 |
| | |||||
* | [docs] First uncompressed shader source diff | Chris Loer | 2018-09-19 | 1 | -49/+9 |
| | |||||
* | [docs] Include uncompressed shader source in .cpp comments | Chris Loer | 2018-09-19 | 25 | -0/+3333 |
| | | | | | | This is meant to (1) Make it easier for new developers to find the source (2) Make it easier to look at shader diffs when the GL JS pin changes | ||||
* | [test] Bump gl-js pin. | Chris Loer | 2018-09-19 | 13 | -1567/+1567 |
| | |||||
* | [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵ | Molly Lloyd | 2018-08-31 | 27 | -1531/+1596 |
| | | | | expressions in `*-pattern` properties | ||||
* | [core] Add `line-gradient` property | Mikhail Pozdnyakov | 2018-08-23 | 8 | -1459/+1520 |
| | | | | | | | | Porting of https://github.com/mapbox/mapbox-gl-js/pull/6303 See the link above for the description of the feature and its limitations). Based on patch from @lbud (Lauren Budorick). | ||||
* | [core] fix icon-size for small data-driven values | Chris Loer | 2018-08-21 | 3 | -190/+190 |
| | | | | port of mapbox/mapbox-gl-js#7125 | ||||
* | [core] Compress all shader source as a single corpus | John Firebaugh | 2018-07-25 | 27 | -3675/+1554 |
| | |||||
* | [core] Compress shader source code | John Firebaugh | 2018-07-25 | 25 | -2854/+3675 |
| | |||||
* | [core] port zero line-width fix from gl-js (#12175) | Molly Lloyd | 2018-06-19 | 3 | -3/+3 |
| | | | | | | | | * port zero line-width fix from gl-js * ignore transition test * ignore feature-state tests | ||||
* | Bump GL JS pin to get tests for global symbol querying. | Chris Loer | 2018-04-25 | 1 | -0/+3 |
| | | | | | | - Pulls over an update to line.vertex.glsl (looks like a no-op?) - Add test ignores for collator, is-supported-script, line-gradient - Exclude collator, is-supported-script, line-gradient from code generation. | ||||
* | [core] Double maximum label width by reducing glyph precision. | Chris Loer | 2018-03-22 | 2 | -2/+2 |
| | | | | | Fixes issue #11507. Port of GL JS PR #6375. | ||||
* | [core] Avoid flashing on pitched overzoomed tiles. | Chris Loer | 2018-03-21 | 3 | -3/+12 |
| | | | | | | Clamps perspective ratios in shaders. Fixes issue #11487. Port of GL JS PR #6365. | ||||
* | [core] Update mapbox-gl-js | John Firebaugh | 2018-03-14 | 1 | -2/+8 |
| | |||||
* | [core, ios, macos, android, node] Heatmap layer (#11046) | Vladimir Agafonkin | 2018-02-15 | 4 | -0/+202 |
| | | | | | Co-Authored-By: Konstantin Käfer <mail@kkaefer.com> Co-Authored-By: Anand Thakker <anandthakker@users.noreply.github.com> Co-Authored-By: Minh Nguyễn <1ec5@users.noreply.github.com> | ||||
* | [core] add maxzoom uniform for raster-dem tilesets (#11134) | Molly Lloyd | 2018-02-14 | 1 | -4/+5 |
| | | | | | | | | | | * add maxzoom uniform to support external tilesets * update git sha for gl-js * try and fix android crash * name default maxzoom constant | ||||
* | [core] Account for overscaling in debug collision circles. | Chris Loer | 2018-02-06 | 1 | -2/+6 |
| | | | | | Fixes issue #11116. Port of GL JS issue $6041. | ||||
* | [core] add raster-dem source type and hillshade layer type (#10642) | Molly Lloyd | 2018-01-23 | 4 | -0/+211 |
| | |||||
* | [core] Use separate shaders for background and clipping | Lauren Budorick | 2018-01-09 | 6 | -0/+174 |
| | |||||
* | [core] Update debug collision circle shader. | Chris Loer | 2018-01-09 | 1 | -1/+1 |
| | | | | Fixes issue #10876. | ||||
* | Fix distant collision perspective ratios (#10794). | Chris Loer | 2018-01-04 | 1 | -3/+3 |
| | | | | | Analog of GL JS issue #5911. Add native ignore for tilejson-bounds. | ||||
* | [core] Better align fill-extrusion vertex layout | Lauren Budorick | 2017-12-20 | 3 | -19/+16 |
| | |||||
* | [core] Update shaders/tests from GL JS. | Chris Loer | 2017-11-17 | 6 | -100/+148 |
| | |||||
* | [core] Align line vertex to 4-byte boundary | John Firebaugh | 2017-09-08 | 3 | -18/+9 |
| | | | | 10 byte vertices are heavily penalized by common GL implementations. | ||||
* | [core] Use separate attribute component for line normals | John Firebaugh | 2017-08-08 | 3 | -31/+27 |
| | | | | Broadcom GPUs don't cope well with using the least significant bit for this. | ||||
* | [core] Simplify generate-shaders.js | John Firebaugh | 2017-08-02 | 12 | -24/+176 |
| | | | | We moved the #pragma ⇢ #ifndef logic into gl-js. | ||||
* | [core] modify texture coordinate scaling (#9153) | Molly Lloyd | 2017-07-27 | 2 | -2/+12 |
| | | | | | | | | | ignore unsupported dds property tests fix tests remove unneeded texture extent variable bump gl-js to master | ||||
* | [core][android][macos][ios] Implement property functions for line-join, ↵ | Lauren Budorick | 2017-07-26 | 1 | -21/+2 |
| | | | | text-justify, text-anchor (#9583) | ||||
* | [core][ios][android][macos] Use premultiplied image directly for RasterTile ↵ | Asheem Mamoowala | 2017-07-17 | 1 | -0/+6 |
| | | | | and ImageSource, un-premultiply in the shader for blending | ||||
* | [android] Force previously cached program binaries to be regenerated | John Firebaugh | 2017-07-12 | 1 | -0/+1 |
| | |||||
* | [core] Update shaders. | Chris Loer | 2017-07-12 | 2 | -4/+32 |
| | | | | | Implements 'icon-pitch-alignment' (issue #9345) Fixes issue #9456 (map-aligned point label regression) | ||||
* | [core] improve legibility of labels that follow lines | Ansis Brammanis | 2017-07-11 | 3 | -187/+93 |
| | | | | | | | | | | 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] Re-generate shaders. | Chris Loer | 2017-07-11 | 3 | -89/+184 |
| | |||||
* | [core] Implement circle-pitch-alignment property | Chris Loer | 2017-07-06 | 1 | -5/+23 |
| | | | | Closes issue #9349. | ||||
* | [core] Enable property functions for line-width (#9250) | Lauren Budorick | 2017-06-19 | 3 | -12/+83 |
| | |||||
* | [core] Dynamic program compilation for data-driven properties | John Firebaugh | 2017-06-13 | 1 | -2/+2 |
| | |||||
* | [core] cleanup ProgramParameters | Konstantin Käfer | 2017-06-13 | 2 | -21/+2 |
| | |||||
* | [core] add shader defines for enabling/disabling attributes/uniforms for DDS | Konstantin Käfer | 2017-06-13 | 12 | -32/+668 |
| | |||||
* | [core] Reduce number of varyings to 8 or less | John Firebaugh | 2017-06-13 | 5 | -45/+46 |
| | | | | For #pragmas, don't generate varyings for attributes that aren't used by the fragment shader. Pack other varyings more tightly. | ||||
* | [core] Move pattern coordinate division by texture size into shader | John Firebaugh | 2017-05-23 | 5 | -10/+14 |
| | | | | This makes pattern usage more like icons, and will be necessary for data-driven *-pattern properties. | ||||
* | [core] Render fill-extrusion layers (#8431) | Lauren Budorick | 2017-04-27 | 7 | -2/+299 |
| | |||||
* | [core] Add DDS support for {text,icon}-size (#8593) | Anand Thakker | 2017-04-06 | 3 | -27/+124 |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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) | ||||
* | [core] Update mapbox-gl-js submodule | John Firebaugh | 2017-03-28 | 7 | -25/+25 |
| | | | | Includes lowp ⇢ highp fix for shader color attributes / uniforms. | ||||
* | [core] cache binary shaders on Android | Konstantin Käfer | 2017-03-22 | 2 | -0/+16 |
| | |||||
* | Merge branch 'release-ios-v3.5.0-android-v5.0.0' | John Firebaugh | 2017-03-21 | 1 | -1/+1 |
|\ | |||||
| * | Increase precision of shader variable (#8423) | Anand Thakker | 2017-03-15 | 1 | -1/+1 |
| | | | | | | Fixes #7599 | ||||
* | | [core] Extract and de-templatize several Program static methods | John Firebaugh | 2017-03-09 | 2 | -0/+48 |
|/ | |||||
* | Pack min + max into one attribute :muscle: | Molly Lloyd | 2017-03-08 | 11 | -103/+100 |
| | | | | | | | | 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] De-duplicate shader prelude source | John Firebaugh | 2017-03-08 | 15 | -923/+99 |
| |