summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/layers/render_symbol_layer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Fix combination of icon-text-fit with text-variable-anchors and ↵Alexander Shalamov2019-08-201-3/+4
| | | | text-writing-mode
* [core] Fix layer impl cast in render layer implementationsMikhail Pozdnyakov2019-08-161-0/+1
| | | | | | This PR puts `impl()` functions definitions into a nameless namespace to provide internal linkage and to make sure that appropriate cast function is invoked.
* [core] SymbolBacket creates collision buffers optionallyMikhail Pozdnyakov2019-07-221-8/+8
| | | | sizeof(SymbolBucket) : 1024 -> 704
* [core] Symbol bucket uses shared layoutMikhail Pozdnyakov2019-07-221-2/+2
| | | | sizeof(SymbolBucket): 2296 -> 1024
* [core] Synchronize render passes and render tilesMikhail Pozdnyakov2019-07-111-3/+3
| | | | | | | | | | | | | | | | 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] Share render tiles lists between layersMikhail Pozdnyakov2019-07-091-15/+5
| | | | This helps to avoid unneeded allocations.
* [core] RenderSource creates render itemsMikhail Pozdnyakov2019-07-041-1/+1
|
* [core] Remove orchestration methods from RenderTileMikhail Pozdnyakov2019-07-041-2/+5
|
* [core] Remove RenderPass::UploadMikhail Pozdnyakov2019-06-251-1/+1
|
* [core] TilePyramid::getRenderTiles -> getRenderedTilesMikhail Pozdnyakov2019-06-101-1/+1
|
* [core] Fix symbol rendering under opaque fill layersJuha Alanen2019-06-041-12/+2
|
* [core] RenderTile returns textures by const referenceMikhail Pozdnyakov2019-05-281-4/+4
|
* [core] Encapsulate symbol bucket placement code in Placement::placeLayerBucket()Mikhail Pozdnyakov2019-05-281-5/+1
|
* [core] RenderTile does not expose TileMikhail Pozdnyakov2019-05-281-13/+9
| | | | | | 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 stageMikhail Pozdnyakov2019-05-241-152/+5
| | | | | | | | `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 Pozdnyakov2019-05-221-1/+1
| | | | render(PaintParameters)
* [core] RenderLayer::setRenderTiles(RenderTiles) -> ↵Mikhail Pozdnyakov2019-05-221-3/+4
| | | | | | | prepare(LayerPrepareParameters) RenderLayer::prepare() is responsible for the complete initialization of a render layer, so that it can render.
* [core] Remove RenderLayerSymbolInterfaceMikhail Pozdnyakov2019-05-191-25/+10
|
* [core] Placement accepts RenderLayer instancesMikhail Pozdnyakov2019-05-191-1/+5
|
* [core] RenderLayerSymbolInterface is not used in CrossTileSymbolIndexMikhail Pozdnyakov2019-05-191-0/+9
|
* [core] add gfx::UploadPass, split startRender into prepare and uploadKonstantin Käfer2019-05-151-99/+145
|
* [core] use unique IDs for DrawScopesKonstantin Käfer2019-05-151-8/+14
|
* [core] RenderTile shall never be created for a not renderable tileMikhail Pozdnyakov2019-05-141-2/+1
| | | | | | | | A RenderTile is already never created for a not renderable tile, guarantied by the checks in `updateRenderables()`. However, the client code had plenty of `isRenderable()` checks in the render path, which complicated the code and affected rendering performance. This patch removes the unneeded checks from the client code and puts an assertion to `TilePyramid::addRenderTile()`.
* [core] upgrade mapbox-gl-js pin to the most recent versionKonstantin Käfer2019-05-081-4/+4
|
* [core] Store type of renderable segment when sorting symbols by keyAlexander Shalamov2019-04-261-15/+31
|
* [core] Update `style::LayerProperties` instances in tilesMikhail Pozdnyakov2019-04-171-28/+36
|
* [core] Use `style::LayerProperties` in render layers, buckets and layouts.Mikhail Pozdnyakov2019-04-171-9/+16
|
* [core] Sort cross-tile symbol segments using symbol-sort-keyAlexander Shalamov2019-04-171-259/+366
|
* [core] clang-tidy fixesKonstantin Käfer2019-04-051-1/+1
|
* [core] introduce gfx::RenderPassKonstantin Käfer2019-04-051-0/+3
|
* [core] add getResource template to gfx::*Resource classesKonstantin Käfer2019-04-051-2/+2
|
* [core] Simplify render symbol layer initializationMikhail Pozdnyakov2019-04-021-5/+2
| | | | Obviate few extra calls from the renderer impl parts initializing symbol layers.
* [core] Introduce variable text placement for point labels - Placement partMikhail Pozdnyakov2019-03-291-2/+2
|
* [core] Introduce variable text placement for point labels - Render partAlexander Shalamov2019-03-291-5/+87
|
* [core] move ProgramMap to within the gl::Program objectKonstantin Käfer2019-03-201-5/+2
|
* [core] remove a_/u_ prefix from attribute/uniform typesKonstantin Käfer2019-03-201-7/+7
|
* [core] remove gl/context.hpp from more files, cast where necessaryKonstantin Käfer2019-03-201-1/+0
|
* Merge pull request #14126 from mapbox/gfx-refactor-4Konstantin Käfer2019-03-151-7/+9
| | | Graphics refactor #4
* [core] Add possibility of overriding paint properties inside format ↵Alexander Shalamov2019-03-131-1/+1
| | | | | | | | | | | | | | | | | | expression #14062 * [core] Add format override expression and formatted section to evaluation context * [core] Add textColor to TaggedString's formatted section * [core] Add FormatSectionOverrides and introduce overridable properties * [core] Populate symbol layer paint properties for text sections * [core] Add benchmark for style that uses text-color override * [core] Add unit test for FormatOverrideExpression * [core] Add unit test for FormatSectionOverrides
* [core] add texture bindings to draw call instead of Context member fnKonstantin Käfer2019-03-121-9/+23
|
* [core] add texture bindings to draw call invocationsKonstantin Käfer2019-03-121-6/+15
|
* [core] move Texture related enums to gfx namespaceKonstantin Käfer2019-03-121-2/+2
|
* [core] Transform{State}: s/angle/bearing/Bruno de Oliveira Abinader2019-03-041-2/+2
|
* [core] move CullFaceMode to gfx namespaceKonstantin Käfer2019-03-011-3/+3
|
* [core] move StencilMode to gfx namespaceKonstantin Käfer2019-03-011-3/+3
|
* [core] move DepthMode to gfx namespaceKonstantin Käfer2019-03-011-4/+4
|
* [core] move draw mode and primitives to gfx namespaceKonstantin Käfer2019-03-011-3/+3
|
* [core] extract attribute structs and gl::Vertex to separate namespaceKonstantin Käfer2019-03-011-2/+2
|
* [core] Layer manager is responsible for buckets and layouts creationMikhail Pozdnyakov2019-02-251-19/+0
| | | | This is a step to stop using of render layers in tile worker thread.
* [core] SymbolBucket: use single map for paint properties dataMikhail Pozdnyakov2019-01-141-7/+9
| | | | Obviates unnecessary lookups, improves readability.