Mikhail Pozdnyakov
d0529e7b19
[render test] mapbox-gl-native baseline for text-pitch-alignment tests
2019-08-21 17:07:05 +03:00
Alexander Shalamov
1625aa0000
[ios][macos][android][node] Update changelog for icon-text-fit fixes
2019-08-20 12:31:02 +03:00
Alexander Shalamov
b1986ca51e
[core] Unskip icon-text-fit render tests
2019-08-20 12:31:02 +03:00
Mikhail Pozdnyakov
8792e7c322
Enable text-variable-anchor/{pitched-rotated-debug|rotated-offset} render tests
2019-08-16 16:25:59 +03:00
zmiao
0f34eb7b25
Indroduce clusterProperty option for aggregation ( #15287 )
...
* indroduce clusterProperty option for aggregation
* remove unnecessary codes
* update geojson_option conversion
* fix reviewing findings
2019-08-16 15:03:48 +03:00
Alexander Shalamov
1cb30268d7
[core] Ignore updated icon-text-fit render tests
2019-08-15 18:25:10 +03:00
Alexander Shalamov
148d65bced
[core][node] Serialize formatted expression's text-color option
...
This enables proper round-tripping for serialized format expression.
2019-08-15 18:25:10 +03:00
Alexander Shalamov
b330375aeb
[core] Unskip text-rotate/with-offset fixed by #14932
2019-08-13 16:55:33 +03:00
Mikhail Pozdnyakov
0c0bee52cb
Enable number format expression tests
2019-08-13 15:17:09 +03:00
Alexander Shalamov
75874cb546
[macos][ios][android][node] Add changelog entry for text-writing-mode layout property
2019-08-13 13:32:56 +03:00
Aleksandar Stojiljkovic
3852129d59
Enable render tests flaky on node-gcc8
...
We don't use node-gcc8 bot to run render tests and no need to have the tests ignored.
2019-08-07 10:39:04 +03:00
Aleksandar Stojiljkovic
8103a2b028
[core] Enable opaque pass for background layer. fix heatmap+background test.
...
Follow the approach from mapbox-gl-js for enabling opaque pass for background layer (same as for fill layer).
Fix combinations/heatmap-translucent--background-opaque render test.
2019-08-05 18:56:07 +03:00
Thiago Marcos P. Santos
1aa4776dc1
[tests] Bump GL JS to run render test for #15139
...
https://github.com/mapbox/mapbox-gl-js/pull/8510
2019-07-19 15:17:00 +02:00
Josh Erb
cdd47c0358
[node] v4.2.0 release
2019-07-15 10:13:47 -04:00
Aleksandar Stojiljkovic
4d84e52ce2
Enable ignored but passing run-time styling tests ( #6745 )
2019-07-09 17:53:34 +02:00
Aleksandar Stojiljkovic
2c5528e691
Fix layers rendering after fill-extrusion
...
This fixes following issues:
* Fix some false passing combinations/fill-extrusion-translucent--XXXX tests
* Fix and enable other, failing but ignored, combinations/fill-extrusion-translucent--XXXX tests
* Fix rendering of layers that are on top of fill-extrusion layers
state.getProjMatrix(nearClippedProjMatrix, 100) caused that tests with size 64x64 were not
rendering fill extrusions: far plane calculated as 96.9 and near plane set to 100 was the cause.
near plane is changed from hardcoded 100 to depend on state.getCameraToCenterDistance() - producing
similar value but one that follows max zoom.
This caused that e.g. combinations/fill-extrusion-translucent--fill-opaque was falsely passing as
only fill-opaque layer got rendered.
combinations/fill-extrusion-translucent--XXXX tests expose regression https://github.com/mapbox/mapbox-gl-native/issues/14844#issuecomment-503600034 in #14844 , #14779 .
Fix (opaquePassCutoff, is3D) is ported from https://github.com/mapbox/mapbox-gl-js/pull/7821
Fixes : #14844 , #14779 , #15039
2019-07-09 15:13:38 +02:00
Bruno de Oliveira Abinader
16f1854a9c
[node] Parse 'sdf' option when adding an image
2019-07-04 11:45:10 +03:00
Juha Alanen
0ca8ea6f16
[core] Add number-format expression
2019-06-27 15:51:22 +03:00
Blake Thompson
a16c67d953
Fixes problems associated with node 10 and NAN ( #14847 )
...
* Fixes problems associated with node 10 and NAN
* Follow up removal of unnecessary linking to map object
* Remove header left over from debugging
2019-06-26 13:38:06 -05:00
Bruno de Oliveira Abinader
3b0e5a59a2
[core] Implement C++ render test runner
2019-06-25 20:10:21 +03:00
Tobrun
86b9c06c74
[node] - fix README type, granualar to granular ( #14933 )
2019-06-17 12:16:19 +02:00
Jason Wray
fc802daa62
[core] Ignore more flaky node render tests
2019-06-07 12:39:48 -07:00
Jason Wray
012e3931bf
[core] Ignore flaky fill-pattern render tests
2019-06-04 10:43:44 -07:00
Juha Alanen
f9796d2a28
[core] Fix symbol rendering under opaque fill layers
2019-06-04 16:35:53 +03:00
Konstantin Käfer
7f9274035b
[core] refactor program object creation
2019-05-28 16:11:05 +02:00
Thiago Marcos P. Santos
d60df973a6
[tests] Removed passing tests from the ignore list
2019-05-23 18:05:54 +03:00
Ander Conselvan de Oliveira
d502b72449
[core] Pass legacy/categorical/*-default expression tests
...
Handle categorical function default value properly in conversion to
expreexpression so related tests pass.
2019-05-21 12:14:22 +03:00
Ander Conselvan de Oliveira
1e620d3bd8
[core] Fix legacy/{interval,exponential}/*-default expression tests
...
Consider the function default value in interval and exponential
functions conversion.
2019-05-21 12:14:22 +03:00
Ander Conselvan de Oliveira
343df18954
[core] Fix some of the legacy interval function expression tests
...
The tests for conversion of legacy interval functions to expressions
expects that the first stop in the "step" expression be omitted.
2019-05-21 12:14:22 +03:00
Ander Conselvan de Oliveira
33cfd080c2
[core] Fix most identity function with default legacy expression tests
...
Add handling of default value to the conversion of legacy identity
functions. The color and enum tests still don't pass though.
2019-05-21 12:14:22 +03:00
Ander Conselvan de Oliveira
80edc3b821
[node] Convert legacy functions to expressions in NodeExpression::Parse
...
In order to test the conversion from function to expressions using the
legacy tests in the expression test suite, parse function objects into
expressions in NodeExpression::Parse.
v2: Coding style fixes.
2019-05-21 12:14:22 +03:00
Aleksandar Stojiljkovic
3cd8c6c1fd
[core] Refactor HeadlessFrontend/Backend: GL separation and factory ( #14692 )
...
Refactor out HeadlessFrontend and HeadlessBackend gl independent code to gfx.
Define gl::HeadlessBackend as subclass, instantiated by gfx::HeadlessBackend static factory method.
GL dependent tests are still using gl::HeadlessBackend directly (not through gfx).
2019-05-21 07:37:49 +03:00
Thiago Marcos P. Santos
cf08f6428a
[node] Remove NodeThreadPool
...
Simplify, use the default thread pool, less platform abstraction.
2019-05-10 14:20:38 +03:00
Thiago Marcos P. Santos
06f1dc48a2
[core] Make the BackgroundScheduler a singleton
...
- Do not carry it over everywhere as parameter, it is a shared
instance anyway and the lifecycle is pretty much the app lifecycle
from the moment we instantiate a map.
- Rename to BackgroundScheduler because it is a Scheduler that will
do tasks in the background, we don't make assumptions if it is a
thread pool or a single thread.
- Most importantly, remove the dependency from `core` on `platform`.
2019-05-10 14:20:38 +03:00
Konstantin Käfer
a53c88159f
[core] upgrade mapbox-gl-js pin to the most recent version
2019-05-08 14:10:11 +02:00
Konstantin Käfer
20a807fdf3
[core] render extrusions directly in the main framebuffer
2019-05-08 12:25:22 +02:00
Alexander Shalamov
cd5f87e9d2
[core] Unskip symbol-sort-key render tests
2019-04-17 15:04:08 +03:00
Konstantin Käfer
3ceabcd3ec
[core] clang-tidy fixes
2019-04-05 11:49:17 +02:00
Mikhail Pozdnyakov
94d8cb4f7f
[core] Single line optimization for variable label placement
2019-03-29 16:18:41 +02:00
Mikhail Pozdnyakov
106e592a55
Enable text-variable-anchor render tests
2019-03-29 16:18:41 +02:00
Sudarsana Babu Nagineni
7af00a404f
[core] Include pixelRatio property in MapOptions
...
Move pixelRatio property from Map constructor to MapOptions.
2019-03-28 16:41:15 +02:00
Sudarsana Babu Nagineni
1cc1d4ea08
[core] Add setter/getter for size property in MapOptions
2019-03-28 16:41:15 +02:00
Bruno de Oliveira Abinader
03db58cdc1
[core] Replace shared_ptr with unique_ptr in {Map,Resource}Options
2019-03-22 18:54:48 +02:00
Bruno de Oliveira Abinader
d5868d3da8
[core] Remove file source from public Map ctor
2019-03-20 21:30:08 +02:00
Bruno de Oliveira Abinader
8cc100bfd5
[core] Get FileSource via UpdateParameters in Renderer::Impl
2019-03-13 17:56:44 +02:00
Ander Conselvan de Oliveira
7d19115720
[core] Don't use exceptions in MapObserver::onDidFailLoadingMap
...
Using different exception pointers to specify the loading failure makes
an awkward API. Most users rethrow the exception only to figure out what
type of error happened so it can be reported properly. So replace the
exception pointer with a enum an string description of the failure.
2019-03-13 11:58:27 +02:00
Bruno de Oliveira Abinader
096dea16e3
[node] Change Map/FileSource relationship to composition
2019-03-12 23:52:40 +02:00
Alexander Shalamov
f84019cb89
[core, node] Use es5 syntax for imports in expressions tests
...
Instead of forcing ES6 module syntax, at this point, it is less
distruptive to fix expression tests to use ES5 import syntax.
2019-03-11 13:43:08 +02:00
Alexander Shalamov
debbd08ff0
Revert "[core] Use ES6 import / export syntax for node test harness"
...
This reverts commit c6598fc5da .
2019-03-11 13:43:08 +02:00
Sudarsana Babu Nagineni
5e2b6bf636
[core] Add MapOptions to define properties of Map
...
To simplify the Map constructor, introduce MapOptions
interface to define the properties that can be set on
a Map.
2019-03-08 18:20:55 +02:00