summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer
Commit message (Collapse)AuthorAgeFilesLines
* [core] Implement platform::Factory::sharedFileSource()upstream/map-refactorBruno de Oliveira Abinader2019-03-084-13/+18
|
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-03-084-10/+2
| | | | | | | | | | - 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] introduce gfx::Context and move Buffer creation/update methods to itKonstantin Käfer2019-03-061-8/+8
|
* [core] move BufferUsage enum to gfx namespaceKonstantin Käfer2019-03-061-8/+8
|
* [core] move VertexBuffer<> to gfx namespaceKonstantin Käfer2019-03-0611-34/+34
|
* [core] move IndexBuffer to gfx namespaceKonstantin Käfer2019-03-0610-25/+25
|
* [core] unify *Buffer/Vector namingKonstantin Käfer2019-03-069-30/+30
|
* [core] make vertex descriptors constexprKonstantin Käfer2019-03-061-16/+15
|
* [core] remove unused template parameter from gl::IndexBufferKonstantin Käfer2019-03-0610-15/+15
|
* [core] move VertexVector/IndexVector to gfx namespaceKonstantin Käfer2019-03-0612-45/+45
|
* update shadersMolly Lloyd2019-03-051-1/+2
|
* remove unused dem memoryMolly Lloyd2019-03-051-3/+3
|
* [core] Transform{State}: s/angle/bearing/Bruno de Oliveira Abinader2019-03-048-10/+10
|
* [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
|