summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* [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
* [core] Introduce RenderTileSourceMikhail Pozdnyakov2019-05-2913-358/+150
| | | | | | | RenderTileSource is a base class for the render sources that provide render tiles. * Removes repeated code * Simplifies render source code refactoring and improves readability
* [core] end the RenderPass/CommandEncoder before sending eventsKonstantin Käfer2019-05-282-7/+12
|
* [core] ensure gfx::DrawScopes are uniqueKonstantin Käfer2019-05-283-16/+22
|
* [core] refactor program object creationKonstantin Käfer2019-05-2845-158/+72
|
* [core] Remove priority from the constructorThiago Marcos P. Santos2019-05-282-21/+12
| | | | Make the constructor less verbose and set good defaults.
* [core] RenderTile returns textures by const referenceMikhail Pozdnyakov2019-05-286-17/+19
|
* [core] Placement::placeLayerBucket() -> placeBucket()Mikhail Pozdnyakov2019-05-283-3/+3
|
* [core] Encapsulate symbol bucket placement code in Placement::placeLayerBucket()Mikhail Pozdnyakov2019-05-287-91/+71
|
* [core] RenderTile does not expose TileMikhail Pozdnyakov2019-05-2834-92/+189
| | | | | | 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] Offset viewport center when edge insets are specifiedAleksandar Stojiljkovic2019-05-287-71/+79
| | | | | | | | | | | | | | | | | | | | | The change is implemented in TransformState::getProjMatrix, the rest of the code is making sure that existing API contracts stay and there are tests verifyingrendering and render query processing only items within screen and given tolerance around screen edges. MapView: don't bake edge insets into relalculated camera center. Keep edge insets as property of camera in TransformState (similar to pitch, zoom, bearing) independent from specified camera center. Interpolate edge insets in animation. iOS Demo app: "Turn On/Off Content Insets" pitch the camera and navigate to convenient location in Denver, where streets are parallel to cardinal directions, to illustrate viewport center offset when edge insets are set. Tests: ViewFrustumCulling: although Annotations are deprecated, queryRenderedFeatures related tests in Annotations would need to get ported and decided to add the edge insets related query tests next to them. Verify frustum culling (render+queryRenderedFeatures) With different camera and edge insets setups. TODO: port Annotations tests. Transform.Padding: Verify that coordinates take proper place on screen after applying edge insets. LocalGlyphRasterizer: verify text rendering when applying padding. Related to #11882: both use projection matrix elements [8] and [9]. Alternative approach to this was to increase and offset map origin so that the screen would be a sub-rectangle in larger map viewport. This approach has a drawback of unecessary processing the items that are outside screen area. Fixes #12107, #12728, navigation-sdks/issues/120
* FillBucket::triangles could be empty: skip creating buffer and draw. (#14761)Aleksandar Stojiljkovic2019-05-242-12/+14
|
* [core] Prefer breaking lines at zero width space (ZWSP)Alexander Shalamov2019-05-242-11/+26
|
* [core] SymbolBucket updates complete at placement stageMikhail Pozdnyakov2019-05-2411-194/+143
| | | | | | | | `RenderSymbolLayer` does not have to update dynamic vertices of its buckets, this logic is moved to placement (which is already updates opacity vertices). * fixes clustering of labels when text variable placement enabled - as assignes `usesVariablePlacement` per bucket * simplifies the code in `RenderSymbolLayer` (the `RenderSymbolLayer::upload()` is now omitted). * symbol buckets are not modified after orchestration finishes