Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Fix performance-unnecessary-value-param errors | Thiago Marcos P. Santos | 2020-03-23 | 1 | -9/+5 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Remove programCacheDir parameter from ProgramParameters | Ander Conselvan de Oliveira | 2019-08-27 | 1 | -4/+2 |
| | | | | | | Binary shader support has been removed in commit c2f974f2a573 ([core] Remove binary shader support). This left-over parameter is not used anywhere anymore. | ||||
* | [core] Export symbol placement update status from MapObserver | Mikhail Pozdnyakov | 2019-08-23 | 1 | -1/+2 |
| | |||||
* | Fix layers rendering after fill-extrusion | Aleksandar Stojiljkovic | 2019-07-09 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | 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] Introduce RenderOrchestrator | Mikhail Pozdnyakov | 2019-06-25 | 1 | -601/+12 |
| | |||||
* | [core] Introduce RenderTree | Mikhail Pozdnyakov | 2019-06-25 | 1 | -90/+156 |
| | | | | Split orchestration from rendering in the `Renderer::Impl` implementation. | ||||
* | [core] PaintParameters do not need UpdateParameters | Mikhail Pozdnyakov | 2019-06-25 | 1 | -1/+3 |
| | |||||
* | [core] Remove RenderPass::Upload | Mikhail Pozdnyakov | 2019-06-25 | 1 | -4/+1 |
| | |||||
* | [core] Simplify RenderLayer::upload() | Mikhail Pozdnyakov | 2019-06-25 | 1 | -7/+2 |
| | | | | | | Now `RenderLayer::upload()` accepts only `uploadPass`, similar to other uploadable objects. Few simplifications were made in the `LineLayer` prepare stage. | ||||
* | [core] don't call glFlush on every frame | Konstantin Käfer | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | [core] Introduce PatternAtlas | Mikhail Pozdnyakov | 2019-06-04 | 1 | -4/+10 |
| | |||||
* | [core] Remove ImageManager from upload parameters | Mikhail Pozdnyakov | 2019-06-04 | 1 | -5/+1 |
| | |||||
* | [core] Use fresh transform state for bucket vertices update in placement | Mikhail Pozdnyakov | 2019-06-03 | 1 | -1/+1 |
| | | | | The transform state cached in placement might get stale and cannot be used for bucket vertices updates. | ||||
* | [core] end the RenderPass/CommandEncoder before sending events | Konstantin Käfer | 2019-05-28 | 1 | -6/+11 |
| | |||||
* | [core] RenderTile does not expose Tile | Mikhail Pozdnyakov | 2019-05-28 | 1 | -17/+8 |
| | | | | | | 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] SymbolBucket updates complete at placement stage | Mikhail Pozdnyakov | 2019-05-24 | 1 | -5/+2 |
| | | | | | | | | `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] RenderLayer::render(PaintParameters, RenderSource*) -> ↵ | Mikhail Pozdnyakov | 2019-05-22 | 1 | -3/+3 |
| | | | | render(PaintParameters) | ||||
* | [core] RenderLayer::setRenderTiles(RenderTiles) -> ↵ | Mikhail Pozdnyakov | 2019-05-22 | 1 | -2/+1 |
| | | | | | | | 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 | 1 | -15/+11 |
| | |||||
* | [core] Forward ImageManagerObserver::onRemoveUnusedStyleImages to ↵ | Alexander Shalamov | 2019-05-21 | 1 | -0/+4 |
| | | | | MapObserver interface | ||||
* | [core] Add onRemoveUnusedStyleImages observer API | Alexander Shalamov | 2019-05-21 | 1 | -4/+7 |
| | |||||
* | [core] Remove RenderLayerSymbolInterface | Mikhail Pozdnyakov | 2019-05-19 | 1 | -11/+10 |
| | |||||
* | [core] Placement accepts RenderLayer instances | Mikhail Pozdnyakov | 2019-05-19 | 1 | -2/+2 |
| | |||||
* | [core] Avoid unneeded proj matrix calculations in renderer | Mikhail Pozdnyakov | 2019-05-19 | 1 | -3/+2 |
| | |||||
* | [core] RenderLayerSymbolInterface is not used in CrossTileSymbolIndex | Mikhail Pozdnyakov | 2019-05-19 | 1 | -11/+10 |
| | |||||
* | [core] add gfx::UploadPass, split startRender into prepare and upload | Konstantin Käfer | 2019-05-15 | 1 | -7/+40 |
| | |||||
* | [core] add gfx::CommandEncoder::present() | Konstantin Käfer | 2019-05-15 | 1 | -0/+4 |
| | |||||
* | [core] Create glyph manager at renderer construction time | Mikhail Pozdnyakov | 2019-05-14 | 1 | -5/+2 |
| | | | | Avoid unnecessary glyph manager presence check in `Renderer::Impl::()`. | ||||
* | [core] Make the BackgroundScheduler a singleton | Thiago Marcos P. Santos | 2019-05-10 | 1 | -3/+0 |
| | | | | | | | | | | - 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] Less strict rules for adding render layers to sources | Mikhail Pozdnyakov | 2019-04-29 | 1 | -5/+9 |
| | |||||
* | [core] change approach to stencil clipping to (almost) match JS | Konstantin Käfer | 2019-04-29 | 1 | -57/+5 |
| | |||||
* | [core] RendererImpl::dumDebugLogs() -> dumpDebugLogs() | Mikhail Pozdnyakov | 2019-04-25 | 1 | -1/+1 |
| | |||||
* | [core] Create ImageManager at renderer construction | Mikhail Pozdnyakov | 2019-04-25 | 1 | -17/+12 |
| | |||||
* | [core] Track missing style images that were provided by client | Alexander Shalamov | 2019-04-25 | 1 | -0/+3 |
| | | | | | | - Track images provided by client thruough onStyleImageMissing API - Handle reduceMemoryUsage in ImageManager, via Renderer API - Release client provided images when no tiles are using them | ||||
* | [core] Simplify RenderLayer interface. | Mikhail Pozdnyakov | 2019-04-17 | 1 | -8/+4 |
| | |||||
* | [core] Introduce `LayerRenderData`. Source::update() accepts layer properties. | Mikhail Pozdnyakov | 2019-04-17 | 1 | -2/+2 |
| | |||||
* | Use emplace_hint for inserting render items | Mikhail Pozdnyakov | 2019-04-12 | 1 | -3/+3 |
| | |||||
* | [core] Order render items properly across several sources | Mikhail Pozdnyakov | 2019-04-12 | 1 | -21/+30 |
| | |||||
* | [core] Pass only visible render layers to source in renderer | Mikhail Pozdnyakov | 2019-04-09 | 1 | -5/+3 |
| | | | | | | | 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 | 1 | -1/+1 |
| | |||||
* | [core] introduce gfx::RenderPass | Konstantin Käfer | 2019-04-05 | 1 | -19/+15 |
| | |||||
* | [core] move depth/stencil buffer debug viz to gfx::Context | Konstantin Käfer | 2019-04-05 | 1 | -47/+4 |
| | |||||
* | [core] remove Renderer::flush | Konstantin Käfer | 2019-04-05 | 1 | -7/+0 |
| | |||||
* | [core] move GLContextMode to RendererBackend | Konstantin Käfer | 2019-04-05 | 1 | -8/+4 |
| | |||||
* | [core] move RenderParameters creation to a later stage | Konstantin Käfer | 2019-04-05 | 1 | -24/+30 |
| | |||||
* | [core] refactor RendererBackend | Konstantin Käfer | 2019-04-05 | 1 | -8/+8 |
| | |||||
* | [core] move BackendScope to gfx namespace | Konstantin Käfer | 2019-04-05 | 1 | -6/+6 |
| | |||||
* | [core] move debug groups to gfx::CommandEncoder | Konstantin Käfer | 2019-04-05 | 1 | -12/+9 |
| | |||||
* | [core] introduce CommandEncoder object | Konstantin Käfer | 2019-04-05 | 1 | -9/+10 |
| | |||||
* | [core] prefer static_cast for casts to derived classes | Konstantin Käfer | 2019-04-05 | 1 | -1/+1 |
| |