Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] move draw mode and primitives to gfx namespace | Konstantin Käfer | 2019-03-01 | 48 | -124/+138 |
| | |||||
* | [core] include what you use | Konstantin Käfer | 2019-03-01 | 8 | -9/+9 |
| | |||||
* | [core] extract attribute structs and gl::Vertex to separate namespace | Konstantin Käfer | 2019-03-01 | 49 | -457/+390 |
| | |||||
* | [core] rename gl::AttributeType to gl::Attribute to free up the name | Konstantin Käfer | 2019-03-01 | 4 | -29/+29 |
| | |||||
* | [core] disallow subtyping of gl::Attributes<> and use type aliases instead | Konstantin Käfer | 2019-03-01 | 10 | -82/+79 |
| | |||||
* | [core] extract uniform type lists from gl namespace | Konstantin Käfer | 2019-03-01 | 27 | -150/+178 |
| | |||||
* | [core] remove Tag from gl::Uniform | Konstantin Käfer | 2019-03-01 | 2 | -11/+11 |
| | |||||
* | [core] Move Map::Impl to its own def/impl files | Bruno de Oliveira Abinader | 2019-02-27 | 3 | -213/+246 |
| | |||||
* | [core] Use unwrapped longitude for bounds check | Bruno de Oliveira Abinader | 2019-02-26 | 3 | -44/+62 |
| | |||||
* | [core] Ensure 'isPanning' is true when panning a full round | Bruno de Oliveira Abinader | 2019-02-26 | 1 | -1/+1 |
| | |||||
* | [core] remove DrawMode from VertexVector/Buffer | Konstantin Käfer | 2019-02-25 | 4 | -20/+11 |
| | |||||
* | [core] Layer manager is responsible for buckets and layouts creation | Mikhail Pozdnyakov | 2019-02-25 | 32 | -139/+94 |
| | | | | This is a step to stop using of render layers in tile worker thread. | ||||
* | [build] Use the correct define on Windows | Thiago Marcos P. Santos | 2019-02-19 | 2 | -2/+2 |
| | | | | https://blog.kowalczyk.info/article/j/guide-to-predefined-macros-in-c-compilers-gcc-clang-msvc-etc..html | ||||
* | [core] Switch to the new OpenGL abstraction | Thiago Marcos P. Santos | 2019-02-12 | 18 | -123/+31 |
| | | | | | | 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] Abstract the OpenGL implementation | Thiago Marcos P. Santos | 2019-02-12 | 2 | -0/+192 |
| | | | | | | | | | | | The platform will be responsible to load the OpenGL implementation and give the function pointers to Mapbox GL Core. The platform might load OpenGL by linking against some OpenGL implementation, load it dynamically, etc. It doesn't matter as long as it is a valid implementation. Also adds the `::platform` namespace where all the missing symbols and interfaces expected to be implemented by the platforms will live. | ||||
* | [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 | 8 | -54/+5 |
| | | | | | | | PatternLayout can directly access layer's `evaluated` field. Besides, obviates accessing of moved `evaluatedProps` inside PatternLayout constructor. | ||||
* | [core] change loop variable type to auto | Konstantin Käfer | 2019-01-30 | 1 | -1/+1 |
| | | | | We used `const std::pair<T, std::shared_ptr<Expression>>`, but the actual type is `const std::pair<const T, std::shared_ptr<Expression>>` which resulted in an implicit copy | ||||
* | [core] Remove tile sorting from the clip and mask algorithms | Mikhail Pozdnyakov | 2019-01-18 | 3 | -7/+9 |
| | | | | | | | | | | The tile sorting can be now removed from the algorithms, which calculate tile mask and clip ids, because their client code provides tiles being already sorted (in `TilePyramid`). This patch brings significant improvements to the Tile-related performance tests results, for example the `TileMaskGeneration` benchmark test runs 33 times faster with these changes applied. | ||||
* | [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 | 4 | -27/+30 |
| | | | | Obviates unnecessary lookups, improves readability. | ||||
* | [core] return constexpr strings from functions to avoid ODR compile failures | Konstantin Käfer | 2019-01-11 | 4 | -43/+43 |
| | |||||
* | [core] Split layer type specific code in mbgl::Programs | Mikhail Pozdnyakov | 2019-01-11 | 22 | -91/+256 |
| | | | | | | | | | | | 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 | 8 | -53/+73 |
| | | | | | | | | | 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] Updated script detection for Unicode 11 | Minh Nguyễn | 2019-01-07 | 1 | -0/+11 |
| | | | | Updated script detection code to reflect changes in Unicode 11. | ||||
* | [core] fix deduping rings in querying, #11357 | Ansis Brammanis | 2019-01-04 | 1 | -1/+2 |
| | |||||
* | [core] Drop LayerType | Mikhail Pozdnyakov | 2019-01-04 | 21 | -101/+100 |
| | | | | | Drop LayerType and its remaining usages. The generic code should be layer type agnostic. | ||||
* | [core] Support for excluding ideographic glyphs from offline downloads. | Chris Loer | 2018-12-21 | 1 | -0/+2 |
| | |||||
* | [core] Remove fnv_hash.hpp | Mikhail Pozdnyakov | 2018-12-20 | 1 | -11/+0 |
| | |||||
* | [core] Use eternal::hash_map in style::Layers | Mikhail Pozdnyakov | 2018-12-19 | 10 | -1214/+311 |
| | |||||
* | [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 | 4 | -15/+15 |
| | |||||
* | [core] Expose getChildren, getLeaves, getClusterExpansionZoom on ↵ | Alexander Shalamov | 2018-12-12 | 2 | -0/+35 |
| | | | | SuperclusterData | ||||
* | [core] Avoid divide-by-zero when transition duration is 0.. | Chris Loer | 2018-12-11 | 1 | -2/+5 |
| | | | | Fixes issue #13506 -- transition duration of 0 would cause symbol flickering. | ||||
* | [docs] EnterIdle -> BecomeIdle | Chris Loer | 2018-12-11 | 1 | -1/+1 |
| | |||||
* | [core, darwin, android] Add onDidEnterIdle to MapObserver. | Chris Loer | 2018-12-11 | 1 | -0/+2 |
| | | | | didEnterIdle fires whenever render completes and no repaint is scheduled. | ||||
* | [core]Disable RenderAnnotationSource when annotations are disabled | Mikhail Pozdnyakov | 2018-12-11 | 2 | -1/+11 |
| | | | | | | This patch disables creation of `RenderAnnotationSource` instances and thus saves extra 4Ki on Android when `LayerManager::annotationsEnabled` is `false`. | ||||
* | [core, android, darwin] Move layer factories to separate files | Mikhail Pozdnyakov | 2018-12-10 | 21 | -257/+287 |
| | |||||
* | [android] expose Formatted text-field setter | Łukasz Paczos | 2018-12-04 | 1 | -3/+57 |
| | |||||
* | [core] convert CompoundExpressionRegistry to constexpr hash map | Konstantin Käfer | 2018-12-04 | 3 | -110/+420 |
| | |||||
* | [core] use constexpr map using eternal for expression lookups | Konstantin Käfer | 2018-12-04 | 2 | -39/+44 |
| | |||||
* | Add basic shader minification (#13500) | Vladimir Agafonkin | 2018-12-04 | 27 | -1612/+944 |
| | | | | | | * add basic shader minification (same GL JS does) * don't remove line break at shader end | ||||
* | [core] layermanager folder | Mikhail Pozdnyakov | 2018-11-30 | 9 | -59/+86 |
| | | | | 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 | 2 | -9/+5 |
| | |||||
* | [core] Support fill-extrusion-vertical-gradient | Bruno de Oliveira Abinader | 2018-11-29 | 16 | -1572/+1660 |
| | |||||
* | [core] LayerManager can disable annotations | Mikhail Pozdnyakov | 2018-11-28 | 5 | -18/+65 |
| | | | | | | | | | | | | | 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] Cleanup Transform, use {jump,ease}To() instead | Bruno de Oliveira Abinader | 2018-11-27 | 4 | -203/+42 |
| | |||||
* | [core] Remove error-prone setlatLng overload | Bruno de Oliveira Abinader | 2018-11-27 | 3 | -17/+3 |
| | |||||
* | [core][Android][Darwin] LayerManager creates RenderLayer instances | Mikhail Pozdnyakov | 2018-11-27 | 50 | -272/+298 |
| | | | | | | | | `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] Camera center and anchor points are mutually exclusive | Bruno de Oliveira Abinader | 2018-11-26 | 1 | -1/+3 |
| |