John Firebaugh
12f78fc874
[core] Use convertJSON instead of RapidJSON directly
2017-10-16 17:14:19 -07:00
Anand Thakker
d436bcd56b
Add {Source,CompositeCamera}Function benchmarks ( #9838 )
2017-08-29 10:03:57 -04:00
John Firebaugh
32bd1d54fa
[node, tests] Consolidate headless rendering logic in HeadlessFrontend
2017-07-26 09:50:38 -07:00
Ivo van Dongen
565dfc9183
[benchmark] manage backendscope in renderer frontend
2017-07-25 17:44:28 +03: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
46c43510d7
[core] rename backend to renderer backend
2017-07-18 10:45:12 +02:00
Ivo van Dongen
2e9fb06941
[benchmark] rendering interface changes
2017-07-18 10:45:12 +02:00
Ivo van Dongen
57351c068b
[core] split backend from mapobserver
2017-07-18 10:45:12 +02:00
Thiago Marcos P. Santos
06719ae42f
[benchmark] Add a benchmark for our dtoa implementation
...
Make sure it is faster than std::to_value(). And it is, by ~30% for
the normal use case, and much faster when close to the double limits.
util::dtoa also offers a much better precision.
2017-07-12 15:13:33 +03:00
Thiago Marcos P. Santos
5e2305fa5b
[benchmark] Fix build on GCC 5
...
For some mysterious reason GCC 5 was complaining about
the implicit default value. Passing it explicitly fixes it.
2017-07-11 14:37:13 +03:00
Ivo van Dongen
ba32831260
[benchmark] add render benchmarks
2017-07-07 18:16:20 +03:00
Ivo van Dongen
6b5f8fd6ef
[benchmark] update cache db and style
2017-07-07 17:18:30 +03:00
John Firebaugh
40e4755621
[core] Move setStyleJSON/URL to Style; add Map::setStyle
2017-06-22 08:04:39 -07:00
John Firebaugh
1520a56813
[all] Promote Style to public API
2017-06-22 08:04:39 -07:00
Konstantin Käfer
4bfc559223
[core] add benchmark for vector tile parsing
2017-06-21 17:18:08 -07:00
John Firebaugh
cc1ea759a6
[core, node, darwin, android, qt] Make image ID part of Image
...
More like Source and Layer.
2017-05-16 12:26:35 -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
Konstantin Käfer
8e5214144e
[core] Ensure that a BackendScope exists when doing GL calls
2017-03-23 14:50:11 -07:00
John Firebaugh
d7227e13a7
[all] Replace Result<T> with optional<T> plus out Error parameter
2017-03-23 13:31:13 -07:00
John Firebaugh
af75736857
[core] Avoid unnecessary convert template instantiations
2017-03-09 10:31:21 -08:00
Asheem Mamoowala
60d10dd27d
[core] Add support for queryRenderedFeatures filter
2017-03-04 15:42:07 -08:00
Konstantin Käfer
9ca9adf69c
[core] private OffscreenView implementation
2017-02-27 16:51:17 -08:00
Konstantin Käfer
117863f111
[build] move headless rendering files to platform/default
2016-11-22 20:58:51 +01:00
Konstantin Käfer
3bc79e316e
[build] move default ThreadPool implementation to platform/default
2016-11-22 20:58:51 +01:00
Konstantin Käfer
62b56b799a
[core] change std::array<uint16_t, 2> to mbgl::Size
2016-10-27 18:30:58 -07:00
Konstantin Käfer
a4d259c33f
[core] move gl::Context to Backend and refactor View
2016-10-25 13:52:36 -07:00
Konstantin Käfer
5cc390d694
[core] separate Backend from View for headless rendering
2016-10-25 13:52:36 -07:00
Bruno de Oliveira Abinader
e55065e62a
[core] Reuse last placement data in CollisionTile::queryRenderedFeatures
...
To obtain precise results, we:
1. Round scale value to obtain same results from symbol shader.
2. Generate a boost geometry polygon to check if it intersects()
against all feature boxes.
3. Check if current scale is within each feature's minimum and maximum
placement scales.
4. De-scale feature boxes when intersecting to account for the
fractional zoom scaling.
2016-10-25 08:12:31 +03: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
214ec4e96a
[build] Add support for 'benchmark' target on macOS
2016-10-05 15:34:30 +03:00
Thiago Marcos P. Santos
a38104ee22
[tests] Added benchmarks for querying for features
2016-10-05 11:12:16 +03:00
Thiago Marcos P. Santos
5829c0dbc6
[build] Re-add benchmark tests to the buildsystem
...
Probably lost on the cmake migration
2016-10-05 11:12:16 +03: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
John Firebaugh
da35ef9f49
[core] Add support for $id key to filters
...
https://github.com/mapbox/mapbox-gl-style-spec/issues/391
2016-07-18 12:37:36 -07:00
Young Hahn
71a3b1d0db
[core] geometry@0.8.0 / geojsonvt@6.0.0 ( #5514 )
...
* [core] geometry.hpp 0.8.0
* geojsonvt @ 6.0.0
* Update platform deps, build scripts
* Perf optimizations/cleanup
* Rebase in geometry@080
* D.R.Y. etc
* Ensure fill annotation geometries have closed rings.
* Optimizations
* Update to geojsonvt @ 6.1.0 for clean handoff between geojson parsing and geojsonvt
* Apply close multi/poly geoms for line annotations as well
2016-07-06 17:29:34 -04:00
John Firebaugh
089c4e413f
[core] Split up and clean up conversion.hpp
2016-06-24 09:39:15 -07:00
John Firebaugh
3459b83736
[core, node] Node bindings for setFilter
2016-06-21 18:24:49 -07:00
John Firebaugh
a0b2982119
[core] Prepare Filter and FilterEvaluator for extraction ( #5366 )
2016-06-15 14:55:45 -07:00
John Firebaugh
5c7dfd948f
[core] *Tile ↔ *TileData
...
Tile is now the main base class; RasterTile, VectorTile, etc are its subclasses. GeometryTileData and its subclasses form the piece that's passed to the worker.
2016-06-13 10:59:33 -07:00
Konstantin Käfer
0fe60d398e
[build] add benchmark target
2016-06-06 13:50:55 +02:00