Commit Graph

825 Commits

Author SHA1 Message Date
John Firebaugh
2a50fccd24 Fix build on gcc (fixes #464) 2014-09-08 22:26:10 -07:00
John Firebaugh
eb4f53cbed SDF icon support (fixes #404) 2014-09-08 15:12:32 -07:00
John Firebaugh
2033eb9494 Don't overrotate line labels (fixes #462) 2014-09-08 11:22:54 -07:00
John Firebaugh
de720f3515 FrameHistory::getFadeProperties 2014-09-05 14:03:33 -07:00
John Firebaugh
4c0b4a7901 Match js attribute layout 2014-09-05 13:40:45 -07:00
John Firebaugh
9d5f02ccaa Match js shaders
The only non-incidental change is to revert portions
of d5b4c116 and 3a9a9043.

See d5b4c1162d (commitcomment-7668050)
2014-09-05 13:23:14 -07:00
John Firebaugh
7b9ad022a9 Implement text-rotation-alignment 2014-09-04 18:12:40 -07:00
John Firebaugh
f2391e25ea TextShader ⇢ SDFShader 2014-09-04 17:59:22 -07:00
John Firebaugh
1fedf0918a Less shader boilerplate 2014-09-04 16:22:25 -07:00
John Firebaugh
c14ae3c477 Fix text/icon-translate-anchor
These are style properties, not render properties.
2014-09-04 15:38:14 -07:00
John Firebaugh
4694aa40ad Add SpriteAtlas::getPosition() 2014-09-03 18:12:40 -07:00
John Firebaugh
586cb9144a Make renderLine more similar to JS 2014-09-03 18:12:40 -07:00
Lauren Budorick
71c31cee24 linepattern in progress 2014-09-03 18:12:40 -07:00
John Firebaugh
c1280f0b38 Revert "coalesce texture uploads at the beginning of a frame"
This reverts commit 8c2c7f769f.

See #454

Conflicts:
	src/geometry/glyph_atlas.cpp
	src/geometry/sprite_atlas.cpp
2014-09-03 18:12:39 -07:00
John Firebaugh
eb1fbc542b Fix text-justify (fixes #444) 2014-08-29 12:25:17 -07:00
John Firebaugh
9d6c7685d0 Implement {text,icon}-translate[-anchor] 2014-08-28 17:24:29 -07:00
John Firebaugh
e71a1a9077 Simplify 2014-08-28 17:16:37 -07:00
John Firebaugh
bfa0b7f009 Remove vtxMatrix state 2014-08-28 17:13:55 -07:00
John Firebaugh
c13cc4aa38 Record frame history in the correct place
Fixes numerous issues with rendering tests.
2014-08-28 16:43:03 -07:00
John Firebaugh
9f734ee61d background-opacity support 2014-08-28 10:43:53 -07:00
John Firebaugh
e2c2ab843e Render background with plain shader 2014-08-27 18:22:20 -07:00
John Firebaugh
a62a826b56 raster-fade -> raster-fade-duration 2014-08-27 17:31:32 -07:00
Konstantin Käfer
98c092ec0a add missing header 2014-08-27 14:43:03 +02:00
Konstantin Käfer
e40ca0ac61 never allow negative segment indices 2014-08-27 14:29:10 +02:00
Konstantin Käfer
953e5524a9 fix basepath for headless stylesheets 2014-08-27 14:28:56 +02:00
Konstantin Käfer
5b4ad90bac Merge pull request #445 from mapbox/nsstring
Use NSString-specific case change functions on OS X/iOS
2014-08-26 17:43:02 +02:00
Konstantin Käfer
0f73a0192e Merge pull request #439 from mapbox/clipping
Compute unique clip IDSs per tile
2014-08-26 17:42:53 +02:00
Konstantin Käfer
a889cde6de Merge pull request #440 from mapbox/infinite-placement
Never place infinitely deep symbols
2014-08-26 17:42:41 +02:00
Konstantin Käfer
7dcc061ac5 Merge pull request #437 from mapbox/fix-gcc
Make linux fails
2014-08-26 17:42:34 +02:00
John Firebaugh
3d9a293258 Support for Mapbox fontstack API 2014-08-22 17:14:51 -07:00
Leo Lou
c6a947de12 Use float for pixelRatio 2014-08-22 09:31:30 -07:00
Konstantin Käfer
6610a6370b use platform-specific NSString for case changes on OS X/iOS
refs #309
2014-08-22 12:37:23 +02:00
Lauren Budorick
0168612ed3 Load TileJSON; support inline TileJSON sources
Fixes #412
Refs https://github.com/mapbox/mapbox-gl-style-spec/pull/143
2014-08-21 16:12:27 -07:00
Konstantin Käfer
de822826c6 never place infinitely deep symbols 2014-08-21 15:52:27 +02:00
Konstantin Käfer
6730beec0e remove unused threadpool class 2014-08-21 15:51:10 +02:00
Konstantin Käfer
1fa3a3e85a add a few fixes for gcc
fixes #437
2014-08-21 15:46:20 +02:00
Konstantin Käfer
671e3910d6 don't duplicate function 2014-08-21 15:14:00 +02:00
Konstantin Käfer
9c5f9218ac add missing file 2014-08-21 15:10:01 +02:00
Konstantin Käfer
863b4577e4 compute unique clip ids per tile, taking covering children into account
fixes #206
fixes #220
refs #229
2014-08-21 15:02:08 +02:00
John Firebaugh
b9c7e1bdd9 Consolidate duplicate interpolation definitions
While here, do not interpolate style properties that
are not transitionable. The previous behavior was to
switch from old to new value halfway through the transition;
now the new value is used immediately, as in JS.
2014-08-20 13:58:37 -07:00
John Firebaugh
2660b7bd1b Rename existing interpolate -> resample 2014-08-20 13:52:39 -07:00
Konstantin Käfer
d1ce6fdbeb Merge pull request #429 from mapbox/texture-updates
Use texSubImage2D to avoid texture memory reallocation
2014-08-19 11:52:35 +02:00
Konstantin Käfer
d147e18153 update mapbox/variant 2014-08-19 11:38:26 +02:00
Konstantin Käfer
598c755cbd use texsubimage2d to avoid texture memory reallocation 2014-08-18 15:19:52 +02:00
Konstantin Käfer
5a59b5f5fc fix warnings 2014-08-18 14:05:52 +02:00
Ansis Brammanis
32a1711d8c remove support for composite layers 2014-08-15 15:52:53 +02:00
Konstantin Käfer
478a1dae67 Merge pull request #419 from mapbox/crosstile
allow crosstile labels and add `symbol-avoid-edges`
2014-08-15 15:50:36 +02:00
Konstantin Käfer
937f82fcda use pimpl for collision in tile_parser 2014-08-15 15:18:29 +02:00
Ansis Brammanis
6c45972502 allow crosstile labels and add symbol-avoid-edges 2014-08-15 15:18:29 +02:00
Konstantin Käfer
8c2c7f769f coalesce texture uploads at the beginning of a frame 2014-08-15 15:10:49 +02:00