Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Implement platform::Factory::sharedFileSource()upstream/map-refactor | Bruno de Oliveira Abinader | 2019-03-08 | 4 | -13/+18 |
| | |||||
* | [core] Make the BackgroundScheduler a singleton | Thiago Marcos P. Santos | 2019-03-08 | 4 | -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 it | Konstantin Käfer | 2019-03-06 | 1 | -8/+8 |
| | |||||
* | [core] move BufferUsage enum to gfx namespace | Konstantin Käfer | 2019-03-06 | 1 | -8/+8 |
| | |||||
* | [core] move VertexBuffer<> to gfx namespace | Konstantin Käfer | 2019-03-06 | 11 | -34/+34 |
| | |||||
* | [core] move IndexBuffer to gfx namespace | Konstantin Käfer | 2019-03-06 | 10 | -25/+25 |
| | |||||
* | [core] unify *Buffer/Vector naming | Konstantin Käfer | 2019-03-06 | 9 | -30/+30 |
| | |||||
* | [core] make vertex descriptors constexpr | Konstantin Käfer | 2019-03-06 | 1 | -16/+15 |
| | |||||
* | [core] remove unused template parameter from gl::IndexBuffer | Konstantin Käfer | 2019-03-06 | 10 | -15/+15 |
| | |||||
* | [core] move VertexVector/IndexVector to gfx namespace | Konstantin Käfer | 2019-03-06 | 12 | -45/+45 |
| | |||||
* | update shaders | Molly Lloyd | 2019-03-05 | 1 | -1/+2 |
| | |||||
* | remove unused dem memory | Molly Lloyd | 2019-03-05 | 1 | -3/+3 |
| | |||||
* | [core] Transform{State}: s/angle/bearing/ | Bruno de Oliveira Abinader | 2019-03-04 | 8 | -10/+10 |
| | |||||
* | [core] move CullFaceMode to gfx namespace | Konstantin Käfer | 2019-03-01 | 13 | -21/+21 |
| | |||||
* | [core] move StencilMode to gfx namespace | Konstantin Käfer | 2019-03-01 | 12 | -30/+30 |
| | |||||
* | [core] move DepthMode to gfx namespace | Konstantin Käfer | 2019-03-01 | 15 | -34/+34 |
| | |||||
* | [core] move GL enum conversions to separate file | Konstantin Käfer | 2019-03-01 | 1 | -2/+2 |
| | |||||
* | [core] move ColorMode to gfx namespace | Konstantin Käfer | 2019-03-01 | 6 | -18/+18 |
| | |||||
* | [core] move draw mode and primitives to gfx namespace | Konstantin Käfer | 2019-03-01 | 25 | -55/+56 |
| | |||||
* | [core] include what you use | Konstantin Käfer | 2019-03-01 | 2 | -1/+3 |
| | |||||
* | [core] extract attribute structs and gl::Vertex to separate namespace | Konstantin Käfer | 2019-03-01 | 25 | -66/+88 |
| | |||||
* | [core] rename gl::AttributeType to gl::Attribute to free up the name | Konstantin Käfer | 2019-03-01 | 1 | -1/+1 |
| | |||||
* | [core] extract uniform type lists from gl namespace | Konstantin Käfer | 2019-03-01 | 4 | -9/+12 |
| | |||||
* | [core] remove Tag from gl::Uniform | Konstantin Käfer | 2019-03-01 | 1 | -1/+1 |
| | |||||
* | [core] Layer manager is responsible for buckets and layouts creation | Mikhail Pozdnyakov | 2019-02-25 | 22 | -135/+4 |
| | | | | This is a step to stop using of render layers in tile worker thread. | ||||
* | [core] Switch to the new OpenGL abstraction | Thiago Marcos P. Santos | 2019-02-12 | 1 | -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' option | Mikhail Pozdnyakov | 2019-02-04 | 5 | -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 layers | Mikhail Pozdnyakov | 2019-01-31 | 7 | -50/+1 |
| | | | | | | | PatternLayout can directly access layer's `evaluated` field. Besides, obviates accessing of moved `evaluatedProps` inside PatternLayout constructor. | ||||
* | [core] TilePyramid has sorted render tiles | Mikhail Pozdnyakov | 2019-01-16 | 8 | -20/+29 |
| | | | | Thus we obviate unneeded extra sorting of render tiles at each render layer. | ||||
* | [core] SymbolBucket: use single map for paint properties data | Mikhail Pozdnyakov | 2019-01-14 | 3 | -24/+27 |
| | | | | Obviates unnecessary lookups, improves readability. | ||||
* | [core] Split layer type specific code in mbgl::Programs | Mikhail Pozdnyakov | 2019-01-11 | 10 | -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 layer | Mikhail Pozdnyakov | 2019-01-11 | 6 | -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 LayerType | Mikhail Pozdnyakov | 2019-01-04 | 18 | -95/+95 |
| | | | | | Drop LayerType and its remaining usages. The generic code should be layer type agnostic. | ||||
* | [core] Introduce Renderer::queryFeatureExtension API | Alexander Shalamov | 2018-12-12 | 6 | -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 ptr | Alexander Shalamov | 2018-12-12 | 2 | -8/+8 |
| | |||||
* | [core]Disable RenderAnnotationSource when annotations are disabled | Mikhail Pozdnyakov | 2018-12-11 | 1 | -1/+8 |
| | | | | | | This patch disables creation of `RenderAnnotationSource` instances and thus saves extra 4Ki on Android when `LayerManager::annotationsEnabled` is `false`. | ||||
* | [core] layermanager folder | Mikhail Pozdnyakov | 2018-11-30 | 2 | -0/+3 |
| | | | | Move `LayerManager` and `LayerFactory` abstract classes to a dedicated folder. | ||||
* | [core] Do not consider X axis when constraining scale | Bruno de Oliveira Abinader | 2018-11-29 | 1 | -4/+3 |
| | |||||
* | [core] Support fill-extrusion-vertical-gradient | Bruno de Oliveira Abinader | 2018-11-29 | 1 | -1/+2 |
| | |||||
* | [core] LayerManager can disable annotations | Mikhail Pozdnyakov | 2018-11-28 | 2 | -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 instances | Mikhail Pozdnyakov | 2018-11-27 | 15 | -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 Abinader | 2018-11-21 | 1 | -2/+2 |
| | | | | allow disabling them entirely | ||||
* | [core] Let property evaluation transitions use the transition duration, if set | Bruno de Oliveira Abinader | 2018-11-21 | 1 | -2/+6 |
| | |||||
* | [core] Construct RenderItem objects in-place and remove unused headers | Alexander Shalamov | 2018-11-19 | 1 | -9/+5 |
| | |||||
* | [core] Remove RenderLayer's is<> as<> methods | Alexander Shalamov | 2018-11-19 | 11 | -65/+0 |
| | |||||
* | [core] Replace RenderSymbolLayer downcast with symbol interface | Alexander Shalamov | 2018-11-19 | 6 | -36/+87 |
| | |||||
* | [core] Remove casts in buckets | Alexander Shalamov | 2018-11-19 | 7 | -24/+18 |
| | |||||
* | [core] Add use LayerTypeInfo::Layout for the layers that require Layout | Alexander Shalamov | 2018-11-19 | 5 | -5/+9 |
| | |||||
* | [core] Remove casts where expected type is part of the contract | Alexander Shalamov | 2018-11-19 | 5 | -2/+14 |
| | |||||
* | [core] Remove casts for Custom and Background render layers | Alexander Shalamov | 2018-11-19 | 5 | -15/+26 |
| |