summaryrefslogtreecommitdiff
path: root/src/mbgl/programs/uniforms.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] improve legibility of labels that follow linesAnsis Brammanis2017-07-111-1/+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] Use fade texture in collision debug boxes so that they agree more ↵Chris Loer2017-07-111-0/+1
| | | | closely with symbol shaders.
* [core] Pass pitch-scaling vertex attributes and uniforms to shaders.Chris Loer2017-07-111-0/+2
|
* [core] Implement circle-pitch-alignment propertyChris Loer2017-07-061-0/+2
| | | | Closes issue #9349.
* [core] Enable property functions for line-width (#9250)Lauren Budorick2017-06-191-0/+2
|
* [core] rename a_gap_width => a_gapwidth, u_gap_width => u_gapwidth to ↵Konstantin Käfer2017-06-141-1/+1
| | | | | | reflect naming in the shader not sure how this ever worked
* [core] add uniforms to DataDrivenPaintPropertysKonstantin Käfer2017-06-131-1/+13
|
* [core] Simplify and fix sprite atlas coordinate calculationsJohn Firebaugh2017-05-231-4/+4
| | | | | | | | * 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] Move pattern coordinate division by texture size into shaderJohn Firebaugh2017-05-231-0/+1
| | | | This makes pattern usage more like icons, and will be necessary for data-driven *-pattern properties.
* [core] Render fill-extrusion layers (#8431)Lauren Budorick2017-04-271-0/+7
|
* [core] Introduce gl::Program templateJohn Firebaugh2016-11-081-0/+33