summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [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
* [core] round color string's alpha to 2 decimal placesŁukasz Paczos2019-05-221-1/+1
|
* [core] option to perform platform specific operations when ↵Łukasz Paczos2019-05-222-0/+4
| | | | creating/destroying core threads
* [core] RenderLayer::render(PaintParameters, RenderSource*) -> ↵Mikhail Pozdnyakov2019-05-2225-72/+90
| | | | render(PaintParameters)
* [core] RenderLayer::setRenderTiles(RenderTiles) -> ↵Mikhail Pozdnyakov2019-05-225-10/+18
| | | | | | | prepare(LayerPrepareParameters) RenderLayer::prepare() is responsible for the complete initialization of a render layer, so that it can render.
* [core] Prepare render sources before render layers are initializedMikhail Pozdnyakov2019-05-2223-58/+84
|
* [core] Forward ImageManagerObserver::onRemoveUnusedStyleImages to ↵Alexander Shalamov2019-05-214-0/+14
| | | | MapObserver interface
* [core] Add onRemoveUnusedStyleImages observer APIAlexander Shalamov2019-05-214-47/+76
|
* [core] Remove binary shader supportThiago Marcos P. Santos2019-05-2112-416/+0
| | | | | | | | | | | | | | | | | | | | | | The implementation is buggy and not worth maintaining anymore because performance benefits are not substantial or sometimes worse. Also, removing it saves about 150 ~ 180 KB in binary size. Below timings are averages of minimum 5 runs. ``` Device Init launch Average relaunch s10 1129.8 ms 700 ms s10 - binary 1346.75 ms 694 ms Pixel 1692 ms 723 ms Pixel - binary 1883 ms 1039 ms Kazam 17948 ms 1339 ms Kazam - binary 19157 ms 1564 ms Wiko 2060 ms 1278 ms Wiko - binary 3876 ms 1136 ms ``` Fixes #14294
* [core] Don't use optional unique_ptr in function coversion codeAnder Conselvan de Oliveira2019-05-212-22/+25
| | | | | Since unique_ptr is already nullable there is no need to wrap it in an optional<>.
* [core] Forward args in style::expression::dsl::compound()Ander Conselvan de Oliveira2019-05-211-2/+2
|