summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [core] Synchronize render passes and render tilesMikhail Pozdnyakov2019-07-1112-22/+47
| | | | | | | | | | | | | | | | Before this change render passes were assigned for the whole layer at properties evaluation stage. This caused problems, as layer render data are bound to the tile and these data might differ from tile to tile, depending on which tile has been updated by the tile worker and which has not been yet updated. This change takes into consideration the actual render passes required for each tile and combines them for the layer render passes. Naturally, this change also introduces render pass check for each render layer in `RenderLayer::render()` implementations.
* [core] decrease the minimum pixel distance required to interpolate during ↵Łukasz Paczos2019-07-091-1/+1
| | | | | | camera animation The changes introduced in #9199 changed the minimum required pixel distance between start and end points to >= 1px in order to interpolate, which in scenarios of big zoom changes and low pixel density can result in animation to the previous position and then a jump to the target.
* [core] Put gfx backend scope guard to Renderer::reduceMemoryUse()Mikhail Pozdnyakov2019-07-091-0/+1
|
* Issue #15065 changelogs and nit fix.Aleksandar Stojiljkovic2019-07-091-5/+6
|
* Fix layers rendering after fill-extrusionAleksandar Stojiljkovic2019-07-0910-15/+31
| | | | | | | | | | | | | | | | | | | | | 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
* [core] Share render tiles lists between layersMikhail Pozdnyakov2019-07-0915-58/+87
| | | | This helps to avoid unneeded allocations.
* [core] Reserve size for filtered render layersAlexander Shalamov2019-07-092-2/+17
|
* [core] Improve performance for query rendered featuresAlexander Shalamov2019-07-0921-58/+63
| | | | | - query rendered symbols only from layers that support it - remove unnecessary iterations over vectors
* Revert "[core] Change severity of too many data-driven properties to "Info""Thiago Marcos P. Santos2019-07-081-13/+13
| | | | This reverts commit 2125080dc34381e7458695ed584ea94398d0e9b2.
* [core] RenderSource creates render itemsMikhail Pozdnyakov2019-07-0414-107/+141
|
* [core] Remove down-casting of render sourcesMikhail Pozdnyakov2019-07-0410-54/+10
|
* [core] Introduce ImageSourceRenderData and RenderSource::getImageRenderData()Mikhail Pozdnyakov2019-07-045-36/+45
| | | | | Image source render data is owned by render source, which is simpler than the previous approach and aligned with the render tiles ownership model.
* [core] ImageManager is not used at tile upload stageMikhail Pozdnyakov2019-07-046-29/+58
|
* [core] Introduce ImageManager::getSharedImageMikhail Pozdnyakov2019-07-042-1/+9
|
* [core] Introduce TileRenderDataMikhail Pozdnyakov2019-07-0413-123/+260
| | | | Remove rendering functionality from Tile implementations.
* [core] Geometry tile keeps layout result as a shared pointerMikhail Pozdnyakov2019-07-043-41/+42
|
* [core] Remove orchestration methods from RenderTileMikhail Pozdnyakov2019-07-0413-33/+42
|
* [core] Remove unused PaintPropertyBinders::constants()Mikhail Pozdnyakov2019-07-021-12/+0
|
* [core] RenderSource does re-layout if layer's data-driven properties change.Mikhail Pozdnyakov2019-07-021-1/+6
|
* [core] Geometry tile updates layer render data if its constants mask remainsMikhail Pozdnyakov2019-07-024-11/+13
| | | | | | 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] Introduce LayerProperties::constantsMask()Mikhail Pozdnyakov2019-07-0221-0/+82
| | | | | | Constants mask for data-driven paint properties is a reliable criteria of whether the given updated properties can still be used with the existing bucket (and the gl program instance).
* [core] include Hiragana and Katakana glyph ranges to LocalGlyphRasterizerThiago Marcos P. Santos2019-06-281-1/+2
| | | | Fixes #14993
* [core] Add number-format expressionJuha Alanen2019-06-273-0/+219
|
* [core] Fix macOS clang exception error in expression-tests/to-number/2-aryBruno de Oliveira Abinader2019-06-251-1/+1
|
* [core] DefaultFileSource dynamic support for cache-only requestsBruno de Oliveira Abinader2019-06-251-0/+10
|
* [core] Introduce RenderOrchestratorMikhail Pozdnyakov2019-06-256-705/+783
|
* [core] Introduce RenderTreeMikhail Pozdnyakov2019-06-256-93/+243
| | | | Split orchestration from rendering in the `Renderer::Impl` implementation.
* [core] PaintParameters do not need UpdateParametersMikhail Pozdnyakov2019-06-253-10/+17
|
* [core] Remove RenderPass::UploadMikhail Pozdnyakov2019-06-255-8/+4
|
* [core] Simplify RenderLayer::upload()Mikhail Pozdnyakov2019-06-256-34/+25
| | | | | | Now `RenderLayer::upload()` accepts only `uploadPass`, similar to other uploadable objects. Few simplifications were made in the `LineLayer` prepare stage.
* [core] Change severity of too many data-driven properties to "Info"Thiago Marcos P. Santos2019-06-151-13/+13
| | | | So it can be filtered by the SDKs using a Log::Observer.
* [core] Keep the same sort index for all feature ringsMikhail Pozdnyakov2019-06-121-1/+1
|
* [core] don't call glFlush on every frameKonstantin Käfer2019-06-124-1/+12
|
* [build] remove roundtrip through <experimental/optional> when using optionalKonstantin Käfer2019-06-121-1/+1
|
* [core] Remove unused OffscreenTexture variant with depth render targetAleksandar Stojiljkovic2019-06-115-44/+2
|
* [core] Switch back to a more compact line attributes layout (#14851)Vladimir Agafonkin2019-06-1012-209/+216
| | | | | | * [core] switch back to a more compact line attributes layout * update mapbox-gl-js to point to master
* [core] TilePyramind uses TransformState::getScale()Mikhail Pozdnyakov2019-06-103-1/+5
|
* [core] TilePyramid::getRenderTiles -> getRenderedTilesMikhail Pozdnyakov2019-06-109-10/+10
|
* [core] Refactor tile pyramidMikhail Pozdnyakov2019-06-1011-115/+101
| | | | | | | 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] Inherit RenderAnnotationSource from RenderTileSourceMikhail Pozdnyakov2019-06-102-55/+4
|
* [core] Renamed to avoid collision with libcurlThiago Marcos P. Santos2019-06-101-2/+2
| | | | | Rename curlx_sltosi to mbgl_curlx_sltosi to avoid collision when liking with libcurl statically.
* [core] Use unique ID in hillshade and hillshade_prepare draw.Aleksandar Stojiljkovic2019-06-061-2/+2
|
* [core] Fix symbol rendering under opaque fill layersJuha Alanen2019-06-042-15/+4
|
* [core] Update comments for pattern atlasMikhail Pozdnyakov2019-06-042-5/+5
|
* [core] Introduce PatternAtlasMikhail Pozdnyakov2019-06-0412-168/+223
|
* [core] Remove ImageManager from upload parametersMikhail Pozdnyakov2019-06-047-21/+16
|
* [core] fix warnings with Xcode 11's updated Clang versionKonstantin Käfer2019-06-041-1/+1
|
* [core] Use fresh transform state for bucket vertices update in placementMikhail Pozdnyakov2019-06-037-16/+18
| | | | The transform state cached in placement might get stale and cannot be used for bucket vertices updates.
* [core] Avoid unneeded update of symbol dynamic vertex bufferMikhail Pozdnyakov2019-06-033-7/+18
|
* [core] Fix: fill-extrusion-vertical-gradient was ignored. #14784Aleksandar Stojiljkovic2019-05-313-9/+18
| | | | | | fill-extrusion-vertical-gradient "property-type": "data-constant" and it shouldn't be computed through property binders. Fixes: #14784