summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer
Commit message (Collapse)AuthorAgeFilesLines
* [core] move CullFaceMode to gfx namespaceKonstantin Käfer2019-03-0113-21/+21
|
* [core] move StencilMode to gfx namespaceKonstantin Käfer2019-03-0112-30/+30
|
* [core] move DepthMode to gfx namespaceKonstantin Käfer2019-03-0115-34/+34
|
* [core] move GL enum conversions to separate fileKonstantin Käfer2019-03-011-2/+2
|
* [core] move ColorMode to gfx namespaceKonstantin Käfer2019-03-016-18/+18
|
* [core] move draw mode and primitives to gfx namespaceKonstantin Käfer2019-03-0125-55/+56
|
* [core] include what you useKonstantin Käfer2019-03-012-1/+3
|
* [core] extract attribute structs and gl::Vertex to separate namespaceKonstantin Käfer2019-03-0125-66/+88
|
* [core] rename gl::AttributeType to gl::Attribute to free up the nameKonstantin Käfer2019-03-011-1/+1
|
* [core] extract uniform type lists from gl namespaceKonstantin Käfer2019-03-014-9/+12
|
* [core] remove Tag from gl::UniformKonstantin Käfer2019-03-011-1/+1
|
* [core] Layer manager is responsible for buckets and layouts creationMikhail Pozdnyakov2019-02-2522-135/+4
| | | | This is a step to stop using of render layers in tile worker thread.
* [core] Switch to the new OpenGL abstractionThiago Marcos P. Santos2019-02-121-3/+3
| | | | | | This patch will make Mapbox GL Core never use OpenGL directly. We should consider locking into OpenGL ES 2.0 to simplify the code path and remove #ifdefs.
* [core] Reduce presence of the 'useIntegerZoom' optionMikhail Pozdnyakov2019-02-045-36/+23
| | | | | | | | The `useIntegerZoom` presence is now limited: it is removed from `PossiblyEvaluatedPropertyValue` class specializations (was never used there!) and from the `PropertyEvaluationParameters` class, so we do not have to copy `PropertyEvaluationParameters` instance at `RenderLineLayer::evaluate`.
* [core] Remove paintProperties() method from some render layersMikhail Pozdnyakov2019-01-317-50/+1
| | | | | | | PatternLayout can directly access layer's `evaluated` field. Besides, obviates accessing of moved `evaluatedProps` inside PatternLayout constructor.
* [core] TilePyramid has sorted render tilesMikhail Pozdnyakov2019-01-168-20/+29
| | | | Thus we obviate unneeded extra sorting of render tiles at each render layer.
* [core] SymbolBucket: use single map for paint properties dataMikhail Pozdnyakov2019-01-143-24/+27
| | | | Obviates unnecessary lookups, improves readability.
* [core] Split layer type specific code in mbgl::ProgramsMikhail Pozdnyakov2019-01-1110-26/+29
| | | | | | | | | | | 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-116-47/+71
| | | | | | | | | 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] Drop LayerTypeMikhail Pozdnyakov2019-01-0418-95/+95
| | | | | Drop LayerType and its remaining usages. The generic code should be layer type agnostic.
* [core] Introduce Renderer::queryFeatureExtension APIAlexander Shalamov2018-12-126-0/+127
| | | | | | New interface allows it's users to query additional information about feature that was provided by qRF interface. This is particularly useful for clustered features.
* [core] Share GeoJSONData pointer as weak_ptr instead of raw ptrAlexander Shalamov2018-12-122-8/+8
|
* [core]Disable RenderAnnotationSource when annotations are disabledMikhail Pozdnyakov2018-12-111-1/+8
| | | | | | This patch disables creation of `RenderAnnotationSource` instances and thus saves extra 4Ki on Android when `LayerManager::annotationsEnabled` is `false`.
* [core] layermanager folderMikhail Pozdnyakov2018-11-302-0/+3
| | | | Move `LayerManager` and `LayerFactory` abstract classes to a dedicated folder.
* [core] Do not consider X axis when constraining scaleBruno de Oliveira Abinader2018-11-291-4/+3
|
* [core] Support fill-extrusion-vertical-gradientBruno de Oliveira Abinader2018-11-291-1/+2
|
* [core] LayerManager can disable annotationsMikhail Pozdnyakov2018-11-282-2/+13
| | | | | | | | | | | | | At the moment, the annotations implementation in the `mapbox-gl-native` core is creating concrete layer instances apart from `LayerManager/LayerFactory` code path. So, annotations must be disabled if the `LayerManager` implementation does not provide line, fill or symbol layers (those, used by the annotations). Note: in future, annotations implementation will be moved from the core to the platform SDK level(see https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation) and `LayerManager` won't need to disable it.
* [core][Android][Darwin] LayerManager creates RenderLayer instancesMikhail Pozdnyakov2018-11-2715-64/+17
| | | | | | | | `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] Let placement transitions use the transition duration, if set, and ↵Bruno de Oliveira Abinader2018-11-211-2/+2
| | | | allow disabling them entirely
* [core] Let property evaluation transitions use the transition duration, if setBruno de Oliveira Abinader2018-11-211-2/+6
|
* [core] Construct RenderItem objects in-place and remove unused headersAlexander Shalamov2018-11-191-9/+5
|
* [core] Remove RenderLayer's is<> as<> methodsAlexander Shalamov2018-11-1911-65/+0
|
* [core] Replace RenderSymbolLayer downcast with symbol interfaceAlexander Shalamov2018-11-196-36/+87
|
* [core] Remove casts in bucketsAlexander Shalamov2018-11-197-24/+18
|
* [core] Add use LayerTypeInfo::Layout for the layers that require LayoutAlexander Shalamov2018-11-195-5/+9
|
* [core] Remove casts where expected type is part of the contractAlexander Shalamov2018-11-195-2/+14
|
* [core] Remove casts for Custom and Background render layersAlexander Shalamov2018-11-195-15/+26
|
* [core] Move layer specific color ramp updates behind common update() methodAlexander Shalamov2018-11-197-12/+26
|
* [core] Move RenderTile filtering / sorting logic to render layersAlexander Shalamov2018-11-195-51/+71
|
* [core] Move markContextDestroyed() to the RenderLayerAlexander Shalamov2018-11-195-10/+15
|
* [core] Remove downcasts for layers that require 3D render passAlexander Shalamov2018-11-191-7/+2
|
* [core] Add RendererState::{pixelForLatLng,latLngForPixel}Bruno de Oliveira Abinader2018-11-141-4/+19
|
* [build] Update to geometry v1.0.0Bruno de Oliveira Abinader2018-11-131-4/+3
|
* [core] Added RendererState::has{Image,Layer,Source}Bruno de Oliveira Abinader2018-10-251-0/+32
|
* [core] remove some uses of <iostream> and <sstream>Konstantin Käfer2018-10-231-1/+0
|
* [core] Introduce mbgl::RendererStateBruno de Oliveira Abinader2018-10-191-0/+10
|
* [core] only generate clip ids for clipped layersMolly Lloyd2018-10-031-2/+5
|
* [core] don't prefetch AnnotationTilesMolly Lloyd2018-10-031-1/+1
|
* [core] prevent crash when expression for pattern evaluates to "" (#12896)Molly Lloyd2018-09-181-2/+11
| | | when a source-expression like `["get", "property"]` evaluates to null and the default pattern value (empty string) is used, make sure attribute buffers get populated to avoid crashing the app
* [core] Enable face culling for fill extrusion layersBruno de Oliveira Abinader2018-09-132-4/+10
| | | | | Use face culling for fill extrusion layers. Winding order is changed to ensure correct rendering.