Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Fix GeoJSON tiles update | Mikhail Pozdnyakov | 2019-08-22 | 6 | -8/+9 |
| | | | | | | | | | | | | | Before this change, GeoJSON tiles data were updated before the corresponding layers were applied, therefore `GeometryTileWorker` parsed new data with the outdated layers. It caused the following render test failure: `mbgl-render-test text-max-width/unlimited regressions/mapbox-gl-native#9976 --recycle-map` Now a GeoJSON tile, which needs relayout, is not parsed until the valid layers are set. | ||||
* | [core] Fix use after std::move detected by clang-tidy | Thiago Marcos P. Santos | 2019-08-19 | 1 | -0/+1 |
| | | | | | Detected by the bot being setup at https://github.com/mapbox/mapbox-gl-native/pull/15385. | ||||
* | [core] Avoid copying feature properties | Mikhail Pozdnyakov | 2019-07-25 | 5 | -5/+14 |
| | |||||
* | [core] Simplfy ToGeometryCollection | Mikhail Pozdnyakov | 2019-07-25 | 1 | -32/+7 |
| | |||||
* | [core] GeometryCollection must not be implicitly copied | Mikhail Pozdnyakov | 2019-07-24 | 3 | -13/+19 |
| | |||||
* | [core] Default GeometryTileFeature::getGeometries() implementation | Mikhail Pozdnyakov | 2019-07-24 | 2 | -1/+6 |
| | |||||
* | [core] Force getGeometries() return const ref | Alexander Shalamov | 2019-07-24 | 6 | -18/+24 |
| | |||||
* | [core] Improve performance for query rendered features | Alexander Shalamov | 2019-07-09 | 4 | -11/+11 |
| | | | | | - query rendered symbols only from layers that support it - remove unnecessary iterations over vectors | ||||
* | [core] ImageManager is not used at tile upload stage | Mikhail Pozdnyakov | 2019-07-04 | 1 | -8/+18 |
| | |||||
* | [core] Introduce TileRenderData | Mikhail Pozdnyakov | 2019-07-04 | 7 | -108/+131 |
| | | | | Remove rendering functionality from Tile implementations. | ||||
* | [core] Geometry tile keeps layout result as a shared pointer | Mikhail Pozdnyakov | 2019-07-04 | 3 | -41/+42 |
| | |||||
* | [core] Geometry tile updates layer render data if its constants mask remains | Mikhail Pozdnyakov | 2019-07-02 | 3 | -5/+12 |
| | | | | | | Thus, we do not have to wait for tile update completion in case the updated properties have the same constants mask, i.e. fit the existing bucket. | ||||
* | [core] Refactor tile pyramid | Mikhail Pozdnyakov | 2019-06-10 | 1 | -0/+4 |
| | | | | | | | Tile pyramid is no longer operating with `RenderTiles` and does not perform rendering operations (upload, finish render). Render tiles belong to rendering, and tile pyramid belongs to orchestration. | ||||
* | [core] Introduce PatternAtlas | Mikhail Pozdnyakov | 2019-06-04 | 1 | -4/+6 |
| | |||||
* | [core] Remove priority from the constructor | Thiago Marcos P. Santos | 2019-05-28 | 1 | -1/+0 |
| | | | | Make the constructor less verbose and set good defaults. | ||||
* | [core] RenderTile does not expose Tile | Mikhail Pozdnyakov | 2019-05-28 | 3 | -9/+3 |
| | | | | | | RenderTile and Tile will be split when ochestration movces to a separate thread. This PR improves encapsulation of Tiles management: now performed within TilePyramid. | ||||
* | [core] add gfx::UploadPass, split startRender into prepare and upload | Konstantin Käfer | 2019-05-15 | 8 | -23/+16 |
| | |||||
* | [core] GeometryTile and TileLoader keep strong reference to FileSource | Mikhail Pozdnyakov | 2019-05-14 | 4 | -8/+9 |
| | | | | Thus we fix a potential bug: if `Renderer` outlives the `Map` it will hold a stale reference to the `FileSource` instance. | ||||
* | [core] Create glyph manager at renderer construction time | Mikhail Pozdnyakov | 2019-05-14 | 2 | -1/+3 |
| | | | | Avoid unnecessary glyph manager presence check in `Renderer::Impl::()`. | ||||
* | [core] Make the BackgroundScheduler a singleton | Thiago Marcos P. Santos | 2019-05-10 | 3 | -3/+6 |
| | | | | | | | | | | - 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] Pass ImageManager to ImageRequestor's constructor | Alexander Shalamov | 2019-04-25 | 2 | -2/+2 |
| | | | | | This makes ImageRequestor API explicitly dependant on ImageManager, so that ImageRequestor can unregister itself from ImageManager on destruction. | ||||
* | [core] Render layers use synchronized buckets and paint properties | Mikhail Pozdnyakov | 2019-04-17 | 1 | -0/+1 |
| | | | | Actual for layers rendering the geometry tile data: line, fill, fill-extrusion, heatmap, circle, symbol (was updated in previous commits). | ||||
* | [core] Update `style::LayerProperties` instances in tiles | Mikhail Pozdnyakov | 2019-04-17 | 3 | -3/+28 |
| | |||||
* | [core] Introduce `LayerRenderData`. Source::update() accepts layer properties. | Mikhail Pozdnyakov | 2019-04-17 | 5 | -55/+53 |
| | |||||
* | [core] Use `style::LayerProperties` in render layers, buckets and layouts. | Mikhail Pozdnyakov | 2019-04-17 | 2 | -25/+27 |
| | |||||
* | [core] Pass only visible render layers to source in renderer | Mikhail Pozdnyakov | 2019-04-09 | 1 | -2/+2 |
| | | | | | | | This simplifies the code and make it slightly more performant. Also, this change enables initialization the `RenderTile.used` field from inside the source (currently done in render layers). | ||||
* | [core] clang-tidy fixes | Konstantin Käfer | 2019-04-05 | 3 | -4/+6 |
| | |||||
* | [core] Minor performance tweaks in renderer impl | Mikhail Pozdnyakov | 2019-04-04 | 1 | -3/+4 |
| | |||||
* | add onStyleImageMissing to allow dynamically loaded or generated images (#14253) | Ansis Brammanis | 2019-04-02 | 4 | -6/+12 |
| | | | Also make `Style#updateImage(...)` much faster when the image doesn't change size. This can be useful for asynchronously generating images. | ||||
* | [core] Remove file source from public Map ctor | Bruno de Oliveira Abinader | 2019-03-20 | 3 | -3/+0 |
| | |||||
* | [core] add texture bindings to draw call instead of Context member fn | Konstantin Käfer | 2019-03-12 | 1 | -2/+2 |
| | |||||
* | [core] use abstract Context interface where possible | Konstantin Käfer | 2019-03-12 | 7 | -10/+7 |
| | |||||
* | [core] move Texture to the gfx namespace | Konstantin Käfer | 2019-03-12 | 1 | -2/+2 |
| | |||||
* | [core] include what you use | Konstantin Käfer | 2019-03-01 | 3 | -7/+2 |
| | |||||
* | [core] Layer manager is responsible for buckets and layouts creation | Mikhail Pozdnyakov | 2019-02-25 | 1 | -3/+4 |
| | | | | This is a step to stop using of render layers in tile worker thread. | ||||
* | [core] Drop LayerType | Mikhail Pozdnyakov | 2019-01-04 | 2 | -5/+5 |
| | | | | | Drop LayerType and its remaining usages. The generic code should be layer type agnostic. | ||||
* | [core] layermanager folder | Mikhail Pozdnyakov | 2018-11-30 | 1 | -0/+1 |
| | | | | Move `LayerManager` and `LayerFactory` abstract classes to a dedicated folder. | ||||
* | [core][Android][Darwin] LayerManager creates RenderLayer instances | Mikhail Pozdnyakov | 2018-11-27 | 2 | -3/+2 |
| | | | | | | | | `LayerManager` is now responsible for `RenderLayer` instances creation, so that there is a single entry point for creating of objects, which correspond to a certain layer type. The `LayerType type` field is dropped from `Layer::Impl`. | ||||
* | [core] Fix VectorTileFeature::getValue() semantics after geometry@v1.0.0 | Bruno de Oliveira Abinader | 2018-11-26 | 1 | -1/+2 |
| | |||||
* | [core] Add use LayerTypeInfo::Layout for the layers that require Layout | Alexander Shalamov | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | [build] Update to geometry v1.0.0 | Bruno de Oliveira Abinader | 2018-11-13 | 7 | -21/+24 |
| | |||||
* | [core] add priorities to resources | Huyen Chau Nguyen | 2018-10-23 | 1 | -0/+1 |
| | | | | | - priorities can be low or regular - offline downloads should have low priority to not throttle "regular requests" | ||||
* | [core] remove some uses of <iostream> and <sstream> | Konstantin Käfer | 2018-10-23 | 1 | -2/+0 |
| | |||||
* | [core] don't use <boost/functional/hash.hpp> to avoid <locale> include | Konstantin Käfer | 2018-10-23 | 1 | -9/+8 |
| | |||||
* | [core] Initial implementation of 'format' expression | Chris Loer | 2018-10-15 | 1 | -10/+16 |
| | |||||
* | [core] Port "collision group" plumbing to gl-native. | Chris Loer | 2018-09-12 | 1 | -2/+2 |
| | | | | | [node] Hook up map-wide "crossSourceCollisions" option, defaulting to true. [test] Pass "crossSourceCollisions" test option through test harness; enable cross-source-collisions tests on native. | ||||
* | [core] simplify dependency layout process and refactor data structures | Molly Lloyd | 2018-08-31 | 2 | -105/+39 |
| | |||||
* | [core] Simplify GeometryTileWorker | John Firebaugh | 2018-08-31 | 2 | -58/+25 |
| | | | | | | | * The worker no longer needs to maintain symbol layer order. * No need for separate symbolLayoutsNeedPreparation state. That dates back to when we had "two phase" symbol layout. Now we can just check symbolLayouts.empty(). (Similarly for pattern layouts.) * No need to loop over symbol layouts twice in performSymbolLayout. Same reason as above. * Simplify iconAtlas initialization. It initialized via every possible branch, so just do it up front. | ||||
* | [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵ | Molly Lloyd | 2018-08-31 | 4 | -27/+129 |
| | | | | expressions in `*-pattern` properties | ||||
* | [core] Replace remaining dynamic_cast with static_cast | Bruno de Oliveira Abinader | 2018-08-08 | 5 | -5/+20 |
| |