Bruno de Oliveira Abinader
224e9e6261
[test] Re-added API.ZoomHistory
2017-08-22 10:17:25 +03:00
Bruno de Oliveira Abinader
5d62028ed2
[test] Added API.RecycleMapUpdateImages test
2017-08-14 18:23:03 +03:00
John Firebaugh
32bd1d54fa
[node, tests] Consolidate headless rendering logic in HeadlessFrontend
2017-07-26 09:50:38 -07:00
John Firebaugh
11933f6ab8
[core] Remove API tests that are covered by node tests
2017-07-26 09:50:38 -07:00
Konstantin Käfer
4dff51719b
[core] add algorithm for computing masks for raster tiles
2017-07-24 12:10:45 +02:00
Ivo van Dongen
9ebf727f56
[core] BackendScope prevent double (de-)activation
...
- Guards against duplicate activations by checking wether the backend of the prior scope is the same as the current ones
- Makes sure that only the most outer backend scope deactivates by tracking activation state
2017-07-18 10:45:12 +02:00
Ivo van Dongen
3832f8d0d8
[core] renderer interface
2017-07-18 10:45:12 +02:00
Thiago Marcos P. Santos
32bef80eec
[test] Add utest to assert our dtoa implementation precision
2017-07-12 15:13:33 +03:00
Thiago Marcos P. Santos
69c8f602de
[tests] Add unit test for tile prefetching
2017-07-07 14:28:52 +03:00
Thiago Marcos P. Santos
7e8bdadb91
[core] Rename ThreadedObject to Thread
...
Now that the old Thread class is gone, we can give ThreadedObject
a better name.
2017-06-21 14:30:09 +03:00
Thiago Marcos P. Santos
1427628c56
[core] Remove util::Thread
...
Fixes #6425
2017-06-21 14:30:09 +03:00
Thiago Marcos P. Santos
c34d1cfaa7
[tests] Added tests for ThreadedObject
2017-06-21 14:30:09 +03:00
John Firebaugh
244819f2da
[core] Remove unused binpack.hppp
2017-06-13 10:18:43 -07:00
John Firebaugh
0b68731207
[core] Per-bucket icon atlases
2017-06-13 10:18:43 -07:00
John Firebaugh
92252849c1
[core] Per-bucket glyph atlases
2017-06-13 10:18:43 -07:00
Anand Thakker
f59eb822e1
Fix undefined memory access in getCoveringRanges() ( #9227 )
...
* Add simple unit tests for SymbolSizeBinder
* Fix bug in symbol size uniform value calculation
For camera functions we were setting the zoom levels in "covering ranges" to
`[(zoom stop <= tile zoom), (zoom stop >= 1 + tile zoom)]`, but then evaluating
the function at `[tile_zoom, tile_zoom + 1]`.
* Check for it != end() before accessing it->first
2017-06-09 06:28:14 -04:00
John Firebaugh
aa216d0025
[core] Don't use a separate SpriteAtlas for annotation images
...
Instead, just add them to the Style as needed. Includes changes from #8905 and takes care to avoid regressing #3817 .
2017-05-26 11:21:56 -07:00
John Firebaugh
1f921299b0
[core] Make ExponentialStops behavior consistent; add tests
2017-05-19 11:48:45 -07:00
John Firebaugh
4c26759b69
[core] Remove WorkQueue
...
No longer used as of 5cdf838a38 .
2017-05-17 09:28:26 -07:00
John Firebaugh
da4d735e2c
[core] Unify {Paint,Layout,Light}Properties
2017-05-15 09:45:55 -07:00
Ivo van Dongen
cc9f040a2d
[core] Split style image collection from SpriteAtlas
2017-05-12 13:19:00 -07:00
John Firebaugh
baaae99a03
[core, android] Factor JSON string conversions
...
This adds a `convertJSON` template, to be used like:
Error error
optional<Foo> foo = convertJSON<Foo>(string, error);
Internally, it parses the string with RapidJSON and then calls `convert<Foo>(parsed, error)`.
While here, rationalize GeoJSON converters and fix error handling for Tileset conversion in OfflineDownload.
2017-05-08 13:48:57 -07:00
Lauren Budorick
f6e79d7073
[core] Render fill-extrusion layers ( #8431 )
2017-04-27 15:56:55 -07:00
Ivo van Dongen
3c175adf30
[core] split off render layers
2017-04-25 17:23:54 -07:00
John Firebaugh
5dd98df50b
[all] Rationalize style::Image
...
A style has a collection of images, just as it has collections of sources and layers.
* Name things appropriately
* Use std::unique_ptr
2017-04-24 15:52:28 -07:00
Anand Thakker
b5b4549b6d
Fix edge case in composite function interpolation ( #8613 )
...
This fixes a bug where, for a zoom value greater than that of the highest zoom
stop, composite function interpolation would return nan. (Blocking a render
test over in #8593 )
* Add failing tests for composite function edge case
The failing cases here are:
- Should interpolate before the first stop
- Should interpolate past the last stop
* Fix edge case in composite function interpolation
* Hold functions constant outside stop-defined domain
2017-04-03 12:25:36 -04:00
Konstantin Käfer
3c91b6b7de
[core] cache binary shaders on Android
2017-03-22 15:59:10 +01:00
Ivo van Dongen
96a53156c2
[core] don’t query rendered features until all data is available
2017-03-14 17:27:59 +02:00
Anand Thakker
4b81c924cc
[core] Log Memory.Footprint test results ( #8170 )
...
* Log Memory.Footprint test output
* On CI, only run Memory.Footprint test with libjemalloc
2017-02-28 14:11:35 -08:00
John Firebaugh
b6e5edc268
[core] Restore support for *-transition properties
2017-02-09 15:08:51 -06:00
Ivo van Dongen
8a5bff8ee6
[core] default value support in categorical function conversion
2017-02-02 09:44:42 -08:00
John Firebaugh
141e995806
[core] Add support for data-driven styling
2017-02-02 09:44:42 -08:00
Bruno de Oliveira Abinader
88b7fc3929
[Qt] Implement mapbox::sqlite::{Database,Statement} using QtSql
2017-01-23 19:06:53 +02:00
Bruno de Oliveira Abinader
49da57393a
[core] Remove platform-specific main.cpp from MBGL_TEST_FILES
2017-01-18 19:06:32 +01:00
John Firebaugh
531a1c3070
[core] Fix calculation of delayed transitions
2017-01-17 15:18:14 -06:00
Konstantin Käfer
b6c1119172
[core] harden Glyph PBF parsing
2017-01-17 19:23:20 +01:00
Konstantin Käfer
3b8e50a2a9
[core] add tests for function parsing
2017-01-16 10:28:21 +01:00
John Firebaugh
e7778509c5
[core] Fix flickering caused by regression in #7586
...
It should be safe to invoke GeometryTileWorker::setData multiple times without invoking GeometryTileWorker::setLayers. Therefore GeometryTileWorker::redoLayout() must not consume the layers.
2017-01-10 10:15:22 -08:00
John Firebaugh
0c0064c050
[core] Get rid of user-specified refs
2017-01-04 17:38:33 -08:00
Konstantin Käfer
dc1bda435f
[core] add util::isURL() for checking whether a string starts with a URL scheme
2016-12-07 10:46:43 +01:00
Bruno de Oliveira Abinader
549929cefd
[core] Set bucket segments to initialize empty
2016-11-02 18:12:28 +02:00
Mike Morris
817c26111a
[core] [node] pass thread pool impl to Map constructor
...
Updates mbgl::Map constructor usage everywhere
Adds NodeThreadPool implementation using AsyncQueue to call
Nan::AsyncQueueWorker from main thread
2016-10-20 14:37:36 -04:00
Bruno de Oliveira Abinader
9946e60536
[test] Added TileCoordinate tests
2016-10-11 19:36:21 +03:00
John Firebaugh
31be5d3c3a
[core] Tiles that error on load are not renderable
2016-10-05 10:26:04 -07:00
Thiago Marcos P. Santos
82b801250e
[tests] Add unit tests for query features fiters
2016-10-05 11:12:16 +03:00
Ivo van Dongen
1bf12e20a6
[core] LocalFileSource implementation and tests
2016-09-30 14:57:26 +02:00
Konstantin Käfer
3f3fc7b772
[test] add .test.cpp suffix to test case files
2016-09-28 16:34:22 +02:00
Konstantin Käfer
c88ce2d51e
[core] add ability to render to offscreen textures
2016-09-27 10:42:10 +02:00
John Firebaugh
dc1861f6d5
[core] Merge GlyphStore and GlyphAtlas
2016-09-19 09:40:43 -07:00
John Firebaugh
940124ff71
[core] Merge SpriteStore and SpriteAtlas
2016-09-19 09:40:43 -07:00