Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] add shader defines for enabling/disabling attributes/uniforms for DDS | Konstantin Käfer | 2017-06-14 | 1 | -9/+40 |
| | |||||
* | [core] Reduce number of varyings to 8 or less | John Firebaugh | 2017-06-14 | 1 | -38/+27 |
| | | | | For #pragmas, don't generate varyings for attributes that aren't used by the fragment shader. Pack other varyings more tightly. | ||||
* | [core] Render fill-extrusion layers (#8431) | Lauren Budorick | 2017-04-27 | 1 | -0/+3 |
| | |||||
* | Pack min + max into one attribute :muscle: | Molly Lloyd | 2017-03-08 | 1 | -3/+4 |
| | | | | | | | | 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 | 1 | -4/+37 |
| | |||||
* | [core] remove gl.hpp include from shader headers | Konstantin Käfer | 2017-02-28 | 1 | -2/+0 |
| | |||||
* | [core] Update gl-js; fix $id filters with GeoJSON source | John Firebaugh | 2017-02-08 | 1 | -1/+1 |
| | |||||
* | [core] Use cpp files for shader source | John Firebaugh | 2017-02-07 | 1 | -28/+46 |
| | |||||
* | [core] Check in generated shader code | John Firebaugh | 2017-02-07 | 1 | -0/+84 |
One step toward eliminating the node/npm dependency for platforms other than node. |