Bruno de Oliveira Abinader
7d40d6347e
[build] Re-enable 'circle-radius/antimeridian' @ test suite
2016-08-19 16:51:01 +03:00
Konstantin Käfer
51391740bf
[build] convert build-shaders script from Python to Node.js
2016-08-16 15:29:34 +02:00
Konstantin Käfer
18176605f6
[core] support "scheme": "tms" in TileJSON files
2016-08-16 11:04:30 +02:00
Amy Lee Walton
b0cb8715ed
CJK overflow - update to match gl-shader ( #5908 )
...
* update vertex array ushorts
* update atlas size
* testing latest cjk test-suite branch
* update shader ref
* update shaders
* update icon buffer
* shaders
* updated tests
* buffer fix
* updated make tests
* annotation expected updates
* final push
* final fonts
* a_data1 removal
* remove cjk-mixed test
* hiring threshold for cjk-chinese
* update to new test suite
* Rename a_data2 to a_data in sdf and icon shaders
* update test-suite sha
2016-08-11 09:49:36 -07:00
Mike Morris
87c1174c06
[node] don't override BUILDTYPE in npm install
2016-08-05 11:42:22 +02:00
Konstantin Käfer
692fe1f3ff
[build] switch to CMake
...
This is very much a work in progress.
2016-08-05 11:42:22 +02:00
Thiago Marcos P. Santos
77c8f0a705
[tests] Update test-suite
2016-08-03 13:46:33 +03:00
Mike Morris
0e5a390610
node-v3.3.2
2016-08-01 15:16:33 -04:00
Mike Morris
3c2fce18a1
node-v3.3.1
2016-07-29 12:11:22 -04:00
Vladimir Agafonkin
9ecc0d9597
GeoJSON point clustering ( #5724 )
...
* add supercluster dependency
* prepare GeoJSONTile for Supercluster
* prepare GeoJSONSource for accepting options
* try removing mbgl::GeoJSON
* fix setGeoJSON types
* add GeoJSONSource getURL
* add geojson to include path
* add Supercluster index in GeoJSONSource
* fix GeoJSONSource getZoomRange
* bring back mbgl::GeoJSON header
* fix tidy warnings hopefully
* try test-suite with enabled cluster test
* fix formatting in clustering-related files
2016-07-27 20:18:41 +03:00
Carol Hansen
4b1eeada9e
[node] Fix integer conversion of filter values
2016-07-22 13:05:16 -07:00
Mike Morris
277b1f4c25
node-v3.3.0
2016-07-14 16:33:15 -04:00
Mike Morris
480be63396
[node] move memory growth test into separate npm script
...
webp support in memory test
2016-07-14 13:47:02 -04:00
Bruno de Oliveira Abinader
1cb59e20c4
[node] Added 'removeLayer' binding
2016-07-13 16:19:28 +03:00
John Firebaugh
c09fb0f519
[core] Add support for circle-pitch-scale
2016-07-07 14:32:27 -07:00
John Firebaugh
32dcb34fc1
[tests] Update test-suite
2016-07-06 17:43:19 -07:00
John Firebaugh
903d609b40
[core] Re-close polygons after clipping with clipper
2016-07-06 11:24:49 -07:00
Bruno de Oliveira Abinader
aa1fa49af5
[core] Update RasterShader
...
Ref: https://github.com/mapbox/mapbox-gl-shaders/issues/1
2016-07-02 18:04:20 +03:00
Bruno de Oliveira Abinader
a17b0bcd82
[core] Fix overdraw mode on Linux
...
- Use glBindAttribLocation for GLSL attributes.
- Create a separate shader for each shader that supports overdraw.
Needed because each uniform location must be known for every program.
- Create a separate VAO for each shader inside buckets.
Needed because we can only bind a VAO to a specific shader.
Fixes #5435 .
2016-07-01 19:47:35 +03:00
John Firebaugh
021d4199cb
[core, node] Implement bindings for addSource
2016-06-24 09:39:51 -07:00
John Firebaugh
16c435b151
[core, node] Implement bindings for addLayer
2016-06-24 09:39:51 -07:00
Bruno de Oliveira Abinader
9b533eb916
[build] Bump mapbox-gl-test-suite@9a7de2fb72607be6ffa0040bf3d84651719a45e3
...
Ignore 'debug/overdraw' until #5435 is fixed.
2016-06-22 19:59:20 +03:00
John Firebaugh
3459b83736
[core, node] Node bindings for setFilter
2016-06-21 18:24:49 -07:00
John Firebaugh
220fc7adc9
[node] Support setLayoutProperty(..., "visibility", ...)
2016-06-21 16:30:35 -07:00
John Firebaugh
8a9ee26b0e
[core] Use mbgl::style::conversion in node bindings
2016-06-21 16:04:22 -07:00
Bruno de Oliveira Abinader
6c9e00be3a
[node] Read 'options.showOverdrawInspector'
2016-06-20 13:24:20 +03:00
John Firebaugh
19158d9f01
[core, node] Implement setPaintProperty for color properties ( #5380 )
2016-06-16 13:25:06 -07:00
John Firebaugh
7e1a9b7274
[core] Update test suite; use linear interpolation for rotated icons
2016-06-15 17:28:47 -07:00
Young Hahn
199ea2a82a
Support for icon-text-fit, icon-text-fit-padding ( #5334 )
...
* Add support for icon-text-fit
* Port unit tests for getIconQuads() from js => cpp
* Add support for padding in all 4 directions.
* Update all hashes post-merge
2016-06-15 17:13:31 -04:00
Bruno de Oliveira Abinader
814e516a4f
[core] Separate pattern size from draw-time variables
...
Part of https://github.com/mapbox/mapbox-gl-shaders/issues/1 .
2016-06-15 18:53:05 +03:00
John Firebaugh
3f5ea169f5
[node] Partial implementation of runtime styling API for node bindings
2016-06-13 17:22:05 -07:00
Bruno de Oliveira Abinader
bfcd21dd7e
[core] Update line-pattern shader code/tests
...
Refs:
- mapbox-gl-test-suite: https://github.com/mapbox/mapbox-gl-test-suite/pull/107
- mapbox-gl-shaders: https://github.com/mapbox/mapbox-gl-shaders/pull/17
- mapbox-gl-js: https://github.com/mapbox/mapbox-gl-js/pull/2724
Part of https://github.com/mapbox/mapbox-gl-shaders/issues/1 .
2016-06-13 13:16:47 +03:00
Young Hahn
0dee9f81f3
Don't apply textRotate twice. ( #5321 )
2016-06-11 12:37:28 -04:00
Young Hahn
ecd4aa1439
text-pitch-alignment ( #5288 )
...
* First pass at port of https://github.com/mapbox/mapbox-gl-js/pull/2668
* RotationAlignmentType => AlignmentType
* Handle undefined default value for text-pitch-alignment and implement inheritance for this value from text-rotation-alignment
* Update dependencies
* Move handling fo undefined default value out of camelize functions
2016-06-10 23:05:15 -04:00
Young Hahn
a8df0feb54
Use shaders@f0b94dcc5f782958e9aade61d592a207d8a46e0f ( #5314 )
2016-06-10 14:40:43 -04:00
Bruno de Oliveira Abinader
a78592f9f2
[core] Port pitched circle rendering from gl-js
...
Extrude scale is already multiplied with altitude by default since
62b4dd554a .
Fixes #5006 .
2016-06-10 20:59:43 +03:00
Mike Morris
ba5d2a4b4d
node-v3.2.1
2016-06-07 11:57:53 -04:00
Bruno de Oliveira Abinader
269124ec26
[core] Include type in #pragmas
...
Part of https://github.com/mapbox/mapbox-gl-shaders/pull/13 .
2016-06-07 15:04:02 +03:00
Young Hahn
126f388fdb
Update shaders hash ( #5261 )
2016-06-06 17:54:07 -04:00
Mike Morris
ab5e8fb183
node-v3.2.0
2016-06-03 17:29:12 -04:00
John Firebaugh
a43940afb2
[core] Runtime style layer API
2016-06-02 14:51:39 -07:00
Bruno de Oliveira Abinader
af65da1ad7
[core] Support "#pragma mapbox:" commands in shader code
...
Fixes https://github.com/mapbox/mapbox-gl-native/issues/5174 .
2016-06-02 15:42:42 +03:00
Minh Nguyễn
fcacbb87ef
[core] Store feature keys in same order as in vector tile
...
The keys in the vector tile may not be in alphabetical order. Building a vector of keys by looping over std::map<std::string, …> effectively sorts the keys by alphabetical order without sorting the associated values. This change inserts keys in the same order in which they appear in the vector tile.
2016-06-01 12:07:53 -07:00
Bruno de Oliveira Abinader
59f9a9f93c
[core] Update sdf shader code
...
Ported the following patch:
- [convert mat4 exMatrix to a vec2 extrudeScale](a8d549b7a4 )
2016-06-01 11:18:43 +03:00
Bruno de Oliveira Abinader
5e7736ce87
[core] Update icon shader code
...
Ported the following patch:
- [convert mat4 exMatrix to a vec2 extrudeScale](a8d549b7a4 )
2016-06-01 11:18:18 +03:00
Bruno de Oliveira Abinader
62b4dd554a
[core] Update circle shader code
...
Ported the following patches:
- [convert mat4 exMatrix to a vec2 extrudeScale](a8d549b7a4 )
- [Enabled data-driven styling for circle-radius](4356e41fa6 )
- [Reduce shader boilerplate, refactor "Bucket"](7d3da8f191 )
2016-05-31 18:02:40 +03:00
Mike Morris
95f1804053
node-v3.1.3
2016-05-27 11:53:17 -04:00
John Firebaugh
172e645686
[core] Port "combine line-width and line-gap-width in shader"
...
a9559e911b
fcb9bcebae
2016-05-25 21:37:58 -07:00
John Firebaugh
c568a8ad77
[core] Port "separate u_opacity from u_color"
...
0d34125196
1f5afa7db0
2016-05-25 21:37:58 -07:00
John Firebaugh
d7a477b165
[core] Update mapbox-gl-shaders
2016-05-25 21:37:58 -07:00