summaryrefslogtreecommitdiff
path: root/platform/node
Commit message (Collapse)AuthorAgeFilesLines
* [core] DEMData: do decode on GPU (port mapbox/mapbox-gl-js#8694)Aleksandar Stojiljkovic2019-08-301-0/+1
| | | | | | | | | | | This is first part of work on porting mapbox/mapbox-gl-js#8694 - in follow up patch(es) it is required to remove CPU side copy using 2d canvas support on all supported platforms, similar to approach taken in gl.js https://github.com/mapbox/mapbox-gl-js/pull/8694/files#diff-34dbe5f7de34dc4b9a8745dcde9bdc37R48 Decoding on CPU removed. Padding is still done in DEMData() but, instead od doing it wwhile decoding, it is using memcpy to pad original values. Rebase to latest mapbox-gl-js master and re-generate shaders. Partly fixes: #15503
* [core] fix collisionBox alignment when Icon/text translation is enabled (#15467)zmiao2019-08-301-0/+1
| | | | | | | | | | | | | | | | | | * add initial fix * fix bug for collision circle * refind code structure * fix indentation * update test * refind code structure * Add changelog * Add comment for boolean
* Add changelog for fix of mixed SDF+non-SDF icon rendering in one layer (#15492)zmiao2019-08-271-4/+5
| | | | | | | | * Add changelog for fix of mixed SDF+non-SDF icon rendering in one layer * Add bracket for ios changelog number * Add more brackets
* [render tests] gl-native baseline for debug/collision- testsMikhail Pozdnyakov2019-08-261-5/+0
|
* [render test] mapbox-gl-native baseline for text-pitch-alignment testsMikhail Pozdnyakov2019-08-211-3/+0
|
* [ios][macos][android][node] Update changelog for icon-text-fit fixesAlexander Shalamov2019-08-201-0/+1
|
* [core] Unskip icon-text-fit render testsAlexander Shalamov2019-08-201-13/+1
|
* Enable text-variable-anchor/{pitched-rotated-debug|rotated-offset} render testsMikhail Pozdnyakov2019-08-161-2/+0
|
* Indroduce clusterProperty option for aggregation (#15287)zmiao2019-08-161-1/+0
| | | | | | | | | | * indroduce clusterProperty option for aggregation * remove unnecessary codes * update geojson_option conversion * fix reviewing findings
* [core] Ignore updated icon-text-fit render testsAlexander Shalamov2019-08-151-1/+13
|
* [core][node] Serialize formatted expression's text-color optionAlexander Shalamov2019-08-151-0/+5
| | | | This enables proper round-tripping for serialized format expression.
* [core] Unskip text-rotate/with-offset fixed by #14932Alexander Shalamov2019-08-131-1/+0
|
* Enable number format expression testsMikhail Pozdnyakov2019-08-131-4/+1
|
* [macos][ios][android][node] Add changelog entry for text-writing-mode layout ↵Alexander Shalamov2019-08-131-0/+3
| | | | property
* Enable render tests flaky on node-gcc8Aleksandar Stojiljkovic2019-08-071-5/+0
| | | | We don't use node-gcc8 bot to run render tests and no need to have the tests ignored.
* [core] Enable opaque pass for background layer. fix heatmap+background test.Aleksandar Stojiljkovic2019-08-051-1/+0
| | | | | | 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.
* [tests] Bump GL JS to run render test for #15139Thiago Marcos P. Santos2019-07-191-0/+3
| | | | https://github.com/mapbox/mapbox-gl-js/pull/8510
* [node] v4.2.0 releasenode-v4.2.0Josh Erb2019-07-151-2/+5
|
* Enable ignored but passing run-time styling tests (#6745)Aleksandar Stojiljkovic2019-07-091-2/+0
|
* Fix layers rendering after fill-extrusionAleksandar Stojiljkovic2019-07-091-18/+0
| | | | | | | | | | | | | | | | | | | | | 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
* [node] Parse 'sdf' option when adding an imageBruno de Oliveira Abinader2019-07-042-1/+7
|
* [core] Add number-format expressionJuha Alanen2019-06-271-1/+2
|
* Fixes problems associated with node 10 and NAN (#14847)Blake Thompson2019-06-264-53/+60
| | | | | | | | * Fixes problems associated with node 10 and NAN * Follow up removal of unnecessary linking to map object * Remove header left over from debugging
* [core] Implement C++ render test runnerBruno de Oliveira Abinader2019-06-251-1/+0
|
* [node] - fix README type, granualar to granular (#14933)Tobrun2019-06-171-1/+1
|
* [core] Ignore more flaky node render testsJason Wray2019-06-071-2/+5
|
* [core] Ignore flaky fill-pattern render testsJason Wray2019-06-041-0/+2
|
* [core] Fix symbol rendering under opaque fill layersJuha Alanen2019-06-041-1/+0
|
* [core] refactor program object creationKonstantin Käfer2019-05-281-0/+13
|
* [tests] Removed passing tests from the ignore listThiago Marcos P. Santos2019-05-231-5/+0
|
* [core] Pass legacy/categorical/*-default expression testsAnder Conselvan de Oliveira2019-05-211-6/+0
| | | | | Handle categorical function default value properly in conversion to expreexpression so related tests pass.
* [core] Fix legacy/{interval,exponential}/*-default expression testsAnder Conselvan de Oliveira2019-05-211-8/+0
| | | | | Consider the function default value in interval and exponential functions conversion.
* [core] Fix some of the legacy interval function expression testsAnder Conselvan de Oliveira2019-05-211-7/+0
| | | | | The tests for conversion of legacy interval functions to expressions expects that the first stop in the "step" expression be omitted.
* [core] Fix most identity function with default legacy expression testsAnder Conselvan de Oliveira2019-05-211-4/+0
| | | | | Add handling of default value to the conversion of legacy identity functions. The color and enum tests still don't pass though.
* [node] Convert legacy functions to expressions in NodeExpression::ParseAnder Conselvan de Oliveira2019-05-212-30/+35
| | | | | | | | 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.
* [core] Refactor HeadlessFrontend/Backend: GL separation and factory (#14692)Aleksandar Stojiljkovic2019-05-211-1/+1
| | | | | 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).
* [node] Remove NodeThreadPoolThiago Marcos P. Santos2019-05-102-86/+0
| | | | Simplify, use the default thread pool, less platform abstraction.
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-05-103-7/+16
| | | | | | | | | | - 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`.
* [core] upgrade mapbox-gl-js pin to the most recent versionKonstantin Käfer2019-05-081-0/+4
|
* [core] render extrusions directly in the main framebufferKonstantin Käfer2019-05-081-0/+1
|
* [core] Unskip symbol-sort-key render testsAlexander Shalamov2019-04-171-3/+0
|
* [core] clang-tidy fixesKonstantin Käfer2019-04-053-11/+11
|
* [core] Single line optimization for variable label placementMikhail Pozdnyakov2019-03-291-2/+2
|
* Enable text-variable-anchor render testsMikhail Pozdnyakov2019-03-291-18/+3
|
* [core] Include pixelRatio property in MapOptionsSudarsana Babu Nagineni2019-03-281-2/+4
| | | | Move pixelRatio property from Map constructor to MapOptions.
* [core] Add setter/getter for size property in MapOptionsSudarsana Babu Nagineni2019-03-281-4/+8
|
* [core] Replace shared_ptr with unique_ptr in {Map,Resource}OptionsBruno de Oliveira Abinader2019-03-221-8/+3
|
* [core] Remove file source from public Map ctorBruno de Oliveira Abinader2019-03-202-40/+32
|
* [core] Get FileSource via UpdateParameters in Renderer::ImplBruno de Oliveira Abinader2019-03-131-2/+2
|
* [core] Don't use exceptions in MapObserver::onDidFailLoadingMapAnder Conselvan de Oliveira2019-03-132-5/+10
| | | | | | | 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.