summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/layers/render_symbol_layer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [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.
* [core] Split layer type specific code in mbgl::ProgramsMikhail Pozdnyakov2019-01-111-7/+7
| | | | | | | | | | | Progams code for a certain layer type is encapsulted within a dedicated `<layer type>Programs` class, inherited from the generic base `LayerTypePrograms` class. `mbgl::Programs::get<layer type>Programs()` lazily initializes the layer type-specific programs code using pointer to the base class, which allows LTO to remove this code from binaries (if the corresponding `get<layer type>Programs()` method can never be invoked).
* [core] shader program must always match bucket in render symbol layerMikhail Pozdnyakov2019-01-111-34/+44
| | | | | | | | | Before this change, `RenderSymbolLayer` with updated style was trying to render symbols using the previous bucket (with paint property binders that matched a previous program). Now, symbol bucket caches the latest corresponding paint properties (caching is happening on complete tiles only). As a result, `RenderSymbolLayer` always picks the shader program and its parameters in sync with the obtained bucket.
* [core][Android][Darwin] LayerManager creates RenderLayer instancesMikhail Pozdnyakov2018-11-271-1/+1
| | | | | | | | `LayerManager` is now responsible for `RenderLayer` instances creation, so that there is a single entry point for creating of objects, which correspond to a certain layer type. The `LayerType type` field is dropped from `Layer::Impl`.
* [core] Replace RenderSymbolLayer downcast with symbol interfaceAlexander Shalamov2018-11-191-0/+16
|
* [core] Add use LayerTypeInfo::Layout for the layers that require LayoutAlexander Shalamov2018-11-191-1/+2
|
* [core] Move RenderTile filtering / sorting logic to render layersAlexander Shalamov2018-11-191-0/+19
|
* [core] Add face culling mode parameter to Program::drawBruno de Oliveira Abinader2018-09-131-0/+3
| | | | | | Add a parameter to Program::draw to control whether face culling should be enabled. This will be used in a follow up commit to enable face culling for fill extrusion layers.
* [core] simplify dependency layout process and refactor data structuresMolly Lloyd2018-08-311-1/+1
|
* [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵Molly Lloyd2018-08-311-7/+11
| | | | expressions in `*-pattern` properties
* [core] Replace remaining dynamic_cast with static_castBruno de Oliveira Abinader2018-08-081-1/+1
|
* [core] Use hand-rolled RTTIJohn Firebaugh2018-07-241-1/+1
|
* [core] Check all bucket dynamic_castsJohn Firebaugh2018-07-241-2/+5
| | | | A mismatch can occur when a layer changes from one type to another.
* [core] Add `symbol-placement: line-center`Chris Loer2018-07-231-18/+4
| | | | | - Remove unused/vestigial 'maxCameraDistance' - Create a single collision circle for line labels that are less than half the width of a collision circle
* [core] don't use floating point versions of pow/logKonstantin Käfer2018-06-041-2/+2
| | | | | | GLIBC 2.27 added new versioned symbols of powf and logf, while the double versions of pow and log remained stable. Prefer the double version to avoid introducing a dependency on a newer version of GLIBC than strictly necessary. See https://lists.gnu.org/archive/html/info-gnu/2018-02/msg00000.html
* [core] Don't crash when attribute count is exceededKonstantin Käfer2018-05-031-9/+22
|
* [core] Account for overscaling in debug collision circles.Chris Loer2018-02-061-1/+2
| | | | | Fixes issue #11116. Port of GL JS issue $6041.
* [core] Split MapMode::Still into Static and TileAnsis Brammanis2017-11-171-6/+1
| | | | | `Tile` makes sure the symbols in the resulting tile are tileable while symbols in `Still` match rendering in `Continuous` mode.
* [core] Remove dead codeChris Loer2017-11-171-3/+0
| | | | | | - CollisionTile - FrameHistory - PlacementConfig
* [core] Update shaders/tests from GL JS.Chris Loer2017-11-171-18/+56
|
* [core] Refactor Painter awayJohn Firebaugh2017-07-191-34/+34
|
* [core] Inline Painter::renderSymbolJohn Firebaugh2017-07-191-8/+195
|