Commit Graph

134 Commits

Author SHA1 Message Date
Konstantin Käfer
d511f74ce4 [node] add setLight support 2018-01-24 16:35:47 -08:00
Konstantin Käfer
2502a3ab2b [core] update mapbox-gl-js submodule pin
* disables transition render test (transitions are not supported with Still image rendering in Node.js)
* removes support for hillshade-illumniation-direction-transition
2018-01-24 15:41:22 -08:00
Molly Lloyd
f3294200c6 [core] add raster-dem source type and hillshade layer type (#10642) 2018-01-23 10:49:23 -08:00
John Firebaugh
7c0e8fd980 [core] Remove two obsolete ignores 2018-01-11 12:25:26 -08:00
John Firebaugh
76ed5079a5 [core, ios, macos, android] Add data-driven-styling support for text-font 2018-01-10 15:31:12 -08:00
John Firebaugh
c9da6e4959 [core] Account for circle-stroke-width in queryRenderedFeatures 2018-01-10 14:22:44 -08:00
John Firebaugh
cedda5ef4f [core] Handle NaN input to interpolate and step 2018-01-10 13:45:00 -08:00
John Firebaugh
0eb4b5cc0e [core] Omit inferred type annotations for 'coalesce' arguments 2018-01-09 17:27:02 -08:00
John Firebaugh
e887cda986 [core] Fix alpha handling in rgba and to-rgba operators 2018-01-09 16:46:52 -08:00
John Firebaugh
a4ab4f68e2 [core] Enable implicit type assertions for array types 2018-01-09 16:13:26 -08:00
John Firebaugh
a13027c1b6 [core] Improve typing for !=, == expressions 2018-01-09 16:10:51 -08:00
Chris Loer
966606a107 [core] Update debug collision circle shader.
Fixes issue #10876.
2018-01-09 13:14:02 -08:00
Asheem Mamoowala
10a44050f4 Support TileJSON bounds property (#10701)
* [core] Parse TileJSON bounds property
* [core] Add TileRange and LatLngBounds::contains(CanonicalTileID)
Move LatLngBounds::contains impl to cpp file
* [core] Skip tile creation outside of tileset bounds
* [core] Fix TileRange for wrapped bounds and use for CustomTileLoader instead of LatLngBounds comparisons for tiles.
2018-01-05 06:35:31 -08:00
Chris Loer
5bfa20d71d Fix distant collision perspective ratios (#10794).
Analog of GL JS issue #5911.
Add native ignore for tilejson-bounds.
2018-01-04 14:24:37 -08:00
Lauren Budorick
c2250e6e53 Update mapbox-gl-js submodule 2017-12-20 16:58:27 -05:00
Lauren Budorick
920057c9d6 [core] Better align fill-extrusion vertex layout 2017-12-20 15:17:11 -05:00
Asheem Mamoowala
f545d21df0 [core] Overzoomed image sources vanish (#10677)
Use z0 tile coordinates instead of screen coordinates to compute ideal zoom for image sources
2017-12-13 12:52:23 -08:00
Anand Thakker
801c47befa Add ignores for new ==, != tests (#10679)
GL JS change: https://github.com/mapbox/mapbox-gl-js/pull/5840
GL Native issue: https://github.com/mapbox/mapbox-gl-native/issues/10678
2017-12-12 15:19:24 -05:00
Chris Loer
3fed2358d6 [core] Include bucket name in queryRenderedSymbols duplicate feature filter
- Port of GL JS PR #5703
 - Fixes issue #10616
2017-12-11 15:05:18 -08:00
John Firebaugh
a623ff13ed Update gl-js submodule 2017-12-01 17:58:14 -08:00
Chris Loer
8cfeae9e45 [core] Remove ignores for passing tests.
Update ignore links to specific issues.
Bump mapbox-gl-js version to get latest text-pitch-spacing test.
2017-11-17 10:05:15 -08:00
Chris Loer
4f0e5374c3 [core] Skip fade animation for placed symbols that are currently offscreen.
Don't mark items that are outside the collision grid range as placed.
Requires new ignore because GL JS issue #5654 allows insertion of symbols outside the CollisionIndex range, and those symbols can cascade in to affect items within the viewport.
2017-11-17 10:05:15 -08:00
Ansis Brammanis
22c07596a0 [core] Split MapMode::Still into Static and Tile
`Tile` makes sure the symbols in the resulting tile are tileable while
symbols in `Still` match rendering in `Continuous` mode.
2017-11-17 10:05:15 -08:00
Chris Loer
3e074390b5 [core] Added ignores for two query tests that return the same set of items but in a different order. 2017-11-17 10:05:15 -08:00
Chris Loer
9fb30dfd52 [core] Removed ignores for fixed issues. 2017-11-17 10:05:15 -08:00
Anand Thakker
f648cfeef6 Implement Expressions (#9439)
Ports https://github.com/mapbox/mapbox-gl-js/pull/4777 (and its several follow-ups)
2017-11-08 12:34:02 -05:00
Anand Thakker
424ba0d9de Add support for 'sleep' operation in render tests (#10282)
Ports 0069349550
2017-10-25 16:36:43 -04:00
Chris Loer
f6c8dcbf39 Enable native test for text-keep-upright with text-offset.
Issue #9271 was fixed as part of PR #9009.
2017-10-24 14:17:30 -07:00
Lauren Budorick
e43e2aa3d7 [core, node] Support axonometric rendering 2017-10-14 03:15:34 +02:00
Lauren Budorick
98bb8613c3 Ignore raster-masking/overlapping-zoom 2017-10-14 01:34:19 +02:00
Lauren Budorick
2166b8577b Skip expression-based runtime styling test 2017-10-13 22:11:30 +02:00
Lauren Budorick
057cc80fc4 Add ignore for expression-based regression test 2017-10-12 14:04:43 +02:00
Vladimir Agafonkin
6e7781862e Add ignores for heatmap render tests (#10147) 2017-10-06 19:49:17 +03:00
Lauren Budorick
a9ddf5b7fd Preserve depth buffer between 3D layers + optimize render order (#9931)
Port of https://github.com/mapbox/mapbox-gl-js/pull/5101: adds a new render pass `Pass3D` before any other rendering wherein we render layers with 3D passes (fill-extrusion layers) to offscreen framebuffers, sharing a depth renderbuffer between those layers in order to render 3D space correctly. Those framebuffers are saved on the RenderLayers and copied back to the map during the translucent pass. Rendering to offscreen framebuffers before we do any clear + draw means we can avoid expensive framebuffer restores.
2017-09-21 14:26:48 -07:00
Bruno de Oliveira Abinader
447d24bb19 [node] Added 'removeSource' 2017-09-15 18:28:40 -03:00
Bruno de Oliveira Abinader
f40519e78d [core] Do not cache stale tiles 2017-09-14 06:30:12 +03:00
Bruno de Oliveira Abinader
a15f0f3d53 [node] Reflect GL JS changes in render.test.js 2017-09-14 01:51:19 +03:00
Bruno de Oliveira Abinader
e9914bf034 [node] Implement GeoJSON converter 2017-09-13 23:35:27 +03:00
Bruno de Oliveira Abinader
cda418198f [core] Clear atlasImage rect for a removed pattern 2017-09-13 22:17:41 +03:00
Bruno de Oliveira Abinader
bed96c800c [node] Shuffle seed support 2017-09-12 20:36:17 +03:00
John Firebaugh
b05e5ddd34 [core] Fix z-fighting of translucent fills 2017-09-08 08:30:10 -07:00
Bruno de Oliveira Abinader
cfcf38053e [test] Unignore render-tests/circle-pitch-alignment/* 2017-08-31 10:17:21 +03:00
Bruno de Oliveira Abinader
6f00becffe [test] One map per pixel ratio in render.test.js --recycle-map 2017-08-31 10:17:21 +03:00
Bruno de Oliveira Abinader
b43d88b725 [test] Interpret render tests params: --recycleMap and --shuffle 2017-08-31 10:17:21 +03:00
Bruno de Oliveira Abinader
6ee8d7bb60 [node] Set style default camera upon each test suite run 2017-08-31 10:17:21 +03:00
Lauren Budorick
eaacc87901 Update gl-js SHA + ignore fill-extrusion-multiple test 2017-08-30 12:48:51 -07:00
Asheem Mamoowala
69b52367d3 [core][ios][macos][android]DDS-ify text-letter-spacing and text-max-width 2017-08-30 10:59:08 -07:00
Asheem Mamoowala
9491527eb6 Enable tests for #1350, #9704 2017-08-29 14:48:47 -07:00
Chris Loer
6cbeeff689 [core] Fix issue #9843 (overzoomed line label rendering glitch).
Ports fix for GL JS issue #5112.
Line label projection can't be based on tile geometry that's behind the plane of the camera.
The relevant tests are still ignored because the overzoomed collision behavior is different between native and JS.
2017-08-25 14:20:42 -07:00
Bruno de Oliveira Abinader
9fd03a3e90 [test] Un-ignore regressions/mapbox-gl-native#9792 2017-08-25 23:41:52 +03:00