Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update mapbox-gl-js submodule to v0.53.0 | Mikhail Pozdnyakov | 2019-03-06 | 23 | -860/+873 |
| | |||||
* | [core] introduce gfx::Context and move Buffer creation/update methods to it | Konstantin Käfer | 2019-03-06 | 5 | -50/+83 |
| | |||||
* | [core] move BufferUsage enum to gfx namespace | Konstantin Käfer | 2019-03-06 | 6 | -26/+42 |
| | |||||
* | [core] rename gl/*_buffer.hpp to gl/*_buffer_resource.hpp | Konstantin Käfer | 2019-03-06 | 6 | -6/+6 |
| | |||||
* | [core] move VertexBuffer<> to gfx namespace | Konstantin Käfer | 2019-03-06 | 23 | -68/+100 |
| | |||||
* | [core] move IndexBuffer to gfx namespace | Konstantin Käfer | 2019-03-06 | 21 | -49/+85 |
| | |||||
* | [core] unify *Buffer/Vector naming | Konstantin Käfer | 2019-03-06 | 17 | -52/+52 |
| | |||||
* | [core] make vertex descriptors constexpr | Konstantin Käfer | 2019-03-06 | 9 | -152/+310 |
| | |||||
* | [core] remove unused template parameter from gl::IndexBuffer | Konstantin Käfer | 2019-03-06 | 16 | -24/+23 |
| | |||||
* | [core] move VertexVector/IndexVector to gfx namespace | Konstantin Käfer | 2019-03-06 | 20 | -107/+158 |
| | |||||
* | update shaders | Molly Lloyd | 2019-03-05 | 11 | -448/+456 |
| | |||||
* | remove unused dem memory | Molly Lloyd | 2019-03-05 | 3 | -25/+18 |
| | |||||
* | [core] Organize Map::{move,pitch,scale,rotate}By | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -17/+9 |
| | |||||
* | [core] Remove map coordinate setters/getters | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -19/+1 |
| | |||||
* | [core] Transform{State}: s/angle/bearing/ | Bruno de Oliveira Abinader | 2019-03-04 | 17 | -56/+53 |
| | |||||
* | [core] Remove map bearing setters/getters | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -20/+0 |
| | |||||
* | [core] Remove map pitch setters/getters | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -18/+4 |
| | |||||
* | [core] Remove map zoom setters/getters | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -34/+5 |
| | |||||
* | [core] Added Map::pitchBy() | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -0/+6 |
| | |||||
* | [core] Added Map::scaleBy() | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -0/+5 |
| | |||||
* | [core] move CullFaceMode to gfx namespace | Konstantin Käfer | 2019-03-01 | 27 | -110/+126 |
| | |||||
* | [core] move StencilMode to gfx namespace | Konstantin Käfer | 2019-03-01 | 26 | -147/+192 |
| | |||||
* | [core] move DepthMode to gfx namespace | Konstantin Käfer | 2019-03-01 | 30 | -123/+140 |
| | |||||
* | [core] move GL enum conversions to separate file | Konstantin Käfer | 2019-03-01 | 9 | -133/+173 |
| | |||||
* | [core] move ColorMode to gfx namespace | Konstantin Käfer | 2019-03-01 | 17 | -115/+135 |
| | |||||
* | [core] move draw mode and primitives to gfx namespace | Konstantin Käfer | 2019-03-01 | 49 | -126/+141 |
| | |||||
* | [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 | 50 | -457/+391 |
| | |||||
* | [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 | 28 | -150/+179 |
| | |||||
* | [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 | 4 | -213/+248 |
| | |||||
* | [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 | 19 | -125/+34 |
| | | | | | | 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 | 23 | -91/+257 |
| | | | | | | | | | | | 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. | ||||
* | [build] generate header maps instead of -files.txt | Konstantin Käfer | 2019-01-09 | 1 | -0/+756 |
| |