summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/layers/render_background_layer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Enable opaque pass for background layer. fix heatmap+background test.upstream/astojilj-backgroundAleksandar Stojiljkovic2019-08-011-3/+17
| | | | | | Follow the approach from mapbox-gl-js for enabling opaque pass for background layer (same as for fill layer). Fix combinations/heatmap-translucent--background-opaque render test.
* [core] Synchronize render passes and render tilesMikhail Pozdnyakov2019-07-111-3/+4
| | | | | | | | | | | | | | | | 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] Update comments for pattern atlasMikhail Pozdnyakov2019-06-041-1/+2
|
* [core] Introduce PatternAtlasMikhail Pozdnyakov2019-06-041-6/+17
|
* [core] Remove ImageManager from upload parametersMikhail Pozdnyakov2019-06-041-12/+9
|
* [core] ensure gfx::DrawScopes are uniqueKonstantin Käfer2019-05-281-4/+6
|
* [core] RenderLayer::render(PaintParameters, RenderSource*) -> ↵Mikhail Pozdnyakov2019-05-221-1/+1
| | | | render(PaintParameters)
* [core] add gfx::UploadPass, split startRender into prepare and uploadKonstantin Käfer2019-05-151-3/+16
|
* [core] Render layers use synchronized buckets and paint propertiesMikhail Pozdnyakov2019-04-171-1/+1
| | | | Actual for layers rendering the geometry tile data: line, fill, fill-extrusion, heatmap, circle, symbol (was updated in previous commits).
* [core] Use `style::LayerProperties` in render layers, buckets and layouts.Mikhail Pozdnyakov2019-04-171-13/+20
|
* [core] introduce gfx::RenderPassKonstantin Käfer2019-04-051-0/+1
|
* [core] remove a_/u_ prefix from attribute/uniform typesKonstantin Käfer2019-03-201-4/+4
|
* [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-2/+3
| | | Graphics refactor #4
* [core] add texture bindings to draw call instead of Context member fnKonstantin Käfer2019-03-121-5/+5
|
* [core] add texture bindings to draw call invocationsKonstantin Käfer2019-03-121-3/+6
|
* [core] move CullFaceMode to gfx namespaceKonstantin Käfer2019-03-011-1/+1
|
* [core] move StencilMode to gfx namespaceKonstantin Käfer2019-03-011-1/+1
|
* [core] move DepthMode to gfx namespaceKonstantin Käfer2019-03-011-1/+1
|
* [core] move draw mode and primitives to gfx namespaceKonstantin Käfer2019-03-011-1/+1
|
* [core] extract attribute structs and gl::Vertex to separate namespaceKonstantin Käfer2019-03-011-1/+2
|
* [core] extract uniform type lists from gl namespaceKonstantin Käfer2019-03-011-1/+1
|
* [core] Layer manager is responsible for buckets and layouts creationMikhail Pozdnyakov2019-02-251-6/+0
| | | | This is a step to stop using of render layers in tile worker thread.
* [core] Split layer type specific code in mbgl::ProgramsMikhail Pozdnyakov2019-01-111-2/+2
| | | | | | | | | | | 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][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] Remove casts for Custom and Background render layersAlexander Shalamov2018-11-191-0/+8
|
* [core] Add face culling mode parameter to Program::drawBruno de Oliveira Abinader2018-09-131-0/+1
| | | | | | 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] Implement CrossFadedDataDrivenProperty to add support for feature ↵Molly Lloyd2018-08-311-4/+9
| | | | expressions in `*-pattern` properties
* Merge branch 'release-boba' into masterupstream/fabian-merge-release-4.0.1-masterFabian Guerra2018-05-171-28/+35
|\ | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # mapbox-gl-js # platform/android/CHANGELOG.md # platform/android/MapboxGLAndroidSDK/gradle.properties # platform/android/gradle/dependencies.gradle # platform/darwin/src/MGLVectorTileSource.mm # platform/darwin/src/MGLVectorTileSource_Private.h # platform/ios/CHANGELOG.md # src/mbgl/style/expression/compound_expression.cpp
| * [core] Don't crash when attribute count is exceededKonstantin Käfer2018-05-031-28/+35
| |
* | [core] Streaming TileCover for polygonal regions (#11267)Asheem Mamoowala2018-04-261-0/+1
|/ | | A per-tile streaming algorithm for tile cover on points, lines, and polygons. Works for individual zoom levels, and not zoom ranges.
* [core] Use separate shaders for background and clippingLauren Budorick2018-01-091-15/+12
|
* [core] Refactor Painter awayJohn Firebaugh2017-07-191-27/+27
|
* [core] Inline Painter::renderBackgroundJohn Firebaugh2017-07-191-1/+74
|
* [core] Eliminate Bucket::renderJohn Firebaugh2017-07-191-0/+5
|
* [core] Don't transition new layers on a setStyle operationJohn Firebaugh2017-06-261-2/+3
|
* [core] cascade ⇢ transition / cascading ⇢ transitionableJohn Firebaugh2017-05-151-2/+2
|
* [core] *LayerImpl::cascading ⇢ paintJohn Firebaugh2017-05-151-1/+1
|
* [core] Move renderer/* files into sub-folders (#8983)Asheem Mamoowala2017-05-121-0/+36
Move renderer/* files into sub-folders