Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Fix macOS clang exception error in expression-tests/to-number/2-ary | Bruno de Oliveira Abinader | 2019-06-25 | 1 | -1/+1 |
| | |||||
* | [core] DefaultFileSource dynamic support for cache-only requests | Bruno de Oliveira Abinader | 2019-06-25 | 1 | -0/+10 |
| | |||||
* | [core] Introduce RenderOrchestrator | Mikhail Pozdnyakov | 2019-06-25 | 6 | -705/+783 |
| | |||||
* | [core] Introduce RenderTree | Mikhail Pozdnyakov | 2019-06-25 | 6 | -93/+243 |
| | | | | Split orchestration from rendering in the `Renderer::Impl` implementation. | ||||
* | [core] PaintParameters do not need UpdateParameters | Mikhail Pozdnyakov | 2019-06-25 | 3 | -10/+17 |
| | |||||
* | [core] Remove RenderPass::Upload | Mikhail Pozdnyakov | 2019-06-25 | 5 | -8/+4 |
| | |||||
* | [core] Simplify RenderLayer::upload() | Mikhail Pozdnyakov | 2019-06-25 | 6 | -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. Santos | 2019-06-15 | 1 | -13/+13 |
| | | | | So it can be filtered by the SDKs using a Log::Observer. | ||||
* | [core] Keep the same sort index for all feature rings | Mikhail Pozdnyakov | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | [core] don't call glFlush on every frame | Konstantin Käfer | 2019-06-12 | 4 | -1/+12 |
| | |||||
* | [build] remove roundtrip through <experimental/optional> when using optional | Konstantin Käfer | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | [core] Remove unused OffscreenTexture variant with depth render target | Aleksandar Stojiljkovic | 2019-06-11 | 5 | -44/+2 |
| | |||||
* | [core] Switch back to a more compact line attributes layout (#14851) | Vladimir Agafonkin | 2019-06-10 | 12 | -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 Pozdnyakov | 2019-06-10 | 3 | -1/+5 |
| | |||||
* | [core] TilePyramid::getRenderTiles -> getRenderedTiles | Mikhail Pozdnyakov | 2019-06-10 | 9 | -10/+10 |
| | |||||
* | [core] Refactor tile pyramid | Mikhail Pozdnyakov | 2019-06-10 | 11 | -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 RenderTileSource | Mikhail Pozdnyakov | 2019-06-10 | 2 | -55/+4 |
| | |||||
* | [core] Renamed to avoid collision with libcurl | Thiago Marcos P. Santos | 2019-06-10 | 1 | -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 Stojiljkovic | 2019-06-06 | 1 | -2/+2 |
| | |||||
* | [core] Fix symbol rendering under opaque fill layers | Juha Alanen | 2019-06-04 | 2 | -15/+4 |
| | |||||
* | [core] Update comments for pattern atlas | Mikhail Pozdnyakov | 2019-06-04 | 2 | -5/+5 |
| | |||||
* | [core] Introduce PatternAtlas | Mikhail Pozdnyakov | 2019-06-04 | 12 | -168/+223 |
| | |||||
* | [core] Remove ImageManager from upload parameters | Mikhail Pozdnyakov | 2019-06-04 | 7 | -21/+16 |
| | |||||
* | [core] fix warnings with Xcode 11's updated Clang version | Konstantin Käfer | 2019-06-04 | 1 | -1/+1 |
| | |||||
* | [core] Use fresh transform state for bucket vertices update in placement | Mikhail Pozdnyakov | 2019-06-03 | 7 | -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 buffer | Mikhail Pozdnyakov | 2019-06-03 | 3 | -7/+18 |
| | |||||
* | [core] Fix: fill-extrusion-vertical-gradient was ignored. #14784 | Aleksandar Stojiljkovic | 2019-05-31 | 3 | -9/+18 |
| | | | | | | fill-extrusion-vertical-gradient "property-type": "data-constant" and it shouldn't be computed through property binders. Fixes: #14784 | ||||
* | [core] Introduce RenderTileSource | Mikhail Pozdnyakov | 2019-05-29 | 13 | -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 events | Konstantin Käfer | 2019-05-28 | 2 | -7/+12 |
| | |||||
* | [core] ensure gfx::DrawScopes are unique | Konstantin Käfer | 2019-05-28 | 3 | -16/+22 |
| | |||||
* | [core] refactor program object creation | Konstantin Käfer | 2019-05-28 | 45 | -158/+72 |
| | |||||
* | [core] Remove priority from the constructor | Thiago Marcos P. Santos | 2019-05-28 | 2 | -21/+12 |
| | | | | Make the constructor less verbose and set good defaults. | ||||
* | [core] RenderTile returns textures by const reference | Mikhail Pozdnyakov | 2019-05-28 | 6 | -17/+19 |
| | |||||
* | [core] Placement::placeLayerBucket() -> placeBucket() | Mikhail Pozdnyakov | 2019-05-28 | 3 | -3/+3 |
| | |||||
* | [core] Encapsulate symbol bucket placement code in Placement::placeLayerBucket() | Mikhail Pozdnyakov | 2019-05-28 | 7 | -91/+71 |
| | |||||
* | [core] RenderTile does not expose Tile | Mikhail Pozdnyakov | 2019-05-28 | 34 | -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 specified | Aleksandar Stojiljkovic | 2019-05-28 | 7 | -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 Stojiljkovic | 2019-05-24 | 2 | -12/+14 |
| | |||||
* | [core] Prefer breaking lines at zero width space (ZWSP) | Alexander Shalamov | 2019-05-24 | 2 | -11/+26 |
| | |||||
* | [core] SymbolBucket updates complete at placement stage | Mikhail Pozdnyakov | 2019-05-24 | 11 | -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 Paczos | 2019-05-22 | 1 | -1/+1 |
| | |||||
* | [core] option to perform platform specific operations when ↵ | Łukasz Paczos | 2019-05-22 | 2 | -0/+4 |
| | | | | creating/destroying core threads | ||||
* | [core] RenderLayer::render(PaintParameters, RenderSource*) -> ↵ | Mikhail Pozdnyakov | 2019-05-22 | 25 | -72/+90 |
| | | | | render(PaintParameters) | ||||
* | [core] RenderLayer::setRenderTiles(RenderTiles) -> ↵ | Mikhail Pozdnyakov | 2019-05-22 | 5 | -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 initialized | Mikhail Pozdnyakov | 2019-05-22 | 23 | -58/+84 |
| | |||||
* | [core] Forward ImageManagerObserver::onRemoveUnusedStyleImages to ↵ | Alexander Shalamov | 2019-05-21 | 4 | -0/+14 |
| | | | | MapObserver interface | ||||
* | [core] Add onRemoveUnusedStyleImages observer API | Alexander Shalamov | 2019-05-21 | 4 | -47/+76 |
| | |||||
* | [core] Remove binary shader support | Thiago Marcos P. Santos | 2019-05-21 | 12 | -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 code | Ander Conselvan de Oliveira | 2019-05-21 | 2 | -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 Oliveira | 2019-05-21 | 1 | -2/+2 |
| |