summaryrefslogtreecommitdiff
path: root/test/programs
Commit message (Collapse)AuthorAgeFilesLines
* [core] improve legibility of labels that follow linesAnsis Brammanis2017-07-101-4/+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.
* Fix undefined memory access in getCoveringRanges() (#9227)Anand Thakker2017-06-091-0/+61
| | | | | | | | | | | | * Add simple unit tests for SymbolSizeBinder * Fix bug in symbol size uniform value calculation For camera functions we were setting the zoom levels in "covering ranges" to `[(zoom stop <= tile zoom), (zoom stop >= 1 + tile zoom)]`, but then evaluating the function at `[tile_zoom, tile_zoom + 1]`. * Check for it != end() before accessing it->first
* [core] cache binary shaders on AndroidKonstantin Käfer2017-03-221-0/+39