summaryrefslogtreecommitdiff
path: root/src/mbgl/shaders/line_sdf.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #14126 from mapbox/gfx-refactor-4Konstantin Käfer2019-03-151-309/+0
| | | Graphics refactor #4
* Update mapbox-gl-js submodule to v0.53.0Mikhail Pozdnyakov2019-03-061-2/+2
|
* update shadersMolly Lloyd2019-03-051-2/+2
|
* Add basic shader minification (#13500)Vladimir Agafonkin2018-12-041-2/+2
| | | | | | * add basic shader minification (same GL JS does) * don't remove line break at shader end
* [core] Support fill-extrusion-vertical-gradientBruno de Oliveira Abinader2018-11-291-2/+2
|
* [docs] Include uncompressed shader source in .cpp commentsChris Loer2018-09-191-0/+295
| | | | | | 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 Loer2018-09-191-2/+2
|
* [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵Molly Lloyd2018-08-311-2/+2
| | | | expressions in `*-pattern` properties
* [core] Add `line-gradient` propertyMikhail Pozdnyakov2018-08-231-2/+2
| | | | | | | | 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] Compress all shader source as a single corpusJohn Firebaugh2018-07-251-313/+3
|
* [core] Compress shader source codeJohn Firebaugh2018-07-251-291/+313
|
* [core] port zero line-width fix from gl-js (#12175)Molly Lloyd2018-06-191-1/+1
| | | | | | | | * port zero line-width fix from gl-js * ignore transition test * ignore feature-state tests
* [core] Align line vertex to 4-byte boundaryJohn Firebaugh2017-09-081-6/+3
| | | | 10 byte vertices are heavily penalized by common GL implementations.
* [core] Use separate attribute component for line normalsJohn Firebaugh2017-08-081-10/+9
| | | | Broadcom GPUs don't cope well with using the least significant bit for this.
* [core] Simplify generate-shaders.jsJohn Firebaugh2017-08-021-2/+26
| | | | We moved the #pragma ⇢ #ifndef logic into gl-js.
* [core] Enable property functions for line-width (#9250)Lauren Budorick2017-06-191-6/+53
|
* [core] add shader defines for enabling/disabling attributes/uniforms for DDSKonstantin Käfer2017-06-131-3/+77
|
* [core] Reduce number of varyings to 8 or lessJohn Firebaugh2017-06-131-4/+2
| | | | For #pragmas, don't generate varyings for attributes that aren't used by the fragment shader. Pack other varyings more tightly.
* [core] Update mapbox-gl-js submoduleJohn Firebaugh2017-03-281-3/+3
| | | | Includes lowp ⇢ highp fix for shader color attributes / uniforms.
* Pack min + max into one attribute :muscle:Molly Lloyd2017-03-081-15/+10
| | | | | | | | 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 sourceJohn Firebaugh2017-03-081-71/+0
|
* [core] Use cpp files for shader sourceJohn Firebaugh2017-02-071-0/+239