summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [core] consolidate Axonometric rendering APIupstream/nagineni-projection_modeSudarsana Babu Nagineni2019-03-074-48/+17
| | | | | | | Instead of having individual APIs for setting axonometric and skew options, create ProjectionMode struct that holds all the relevant options for Axonometric rendering and introduce setter/getter on the Map for those options.
* Update mapbox-gl-js submodule to v0.53.0Mikhail Pozdnyakov2019-03-0623-860/+873
|
* [core] introduce gfx::Context and move Buffer creation/update methods to itKonstantin Käfer2019-03-065-50/+83
|
* [core] move BufferUsage enum to gfx namespaceKonstantin Käfer2019-03-066-26/+42
|
* [core] rename gl/*_buffer.hpp to gl/*_buffer_resource.hppKonstantin Käfer2019-03-066-6/+6
|
* [core] move VertexBuffer<> to gfx namespaceKonstantin Käfer2019-03-0623-68/+100
|
* [core] move IndexBuffer to gfx namespaceKonstantin Käfer2019-03-0621-49/+85
|
* [core] unify *Buffer/Vector namingKonstantin Käfer2019-03-0617-52/+52
|
* [core] make vertex descriptors constexprKonstantin Käfer2019-03-069-152/+310
|
* [core] remove unused template parameter from gl::IndexBufferKonstantin Käfer2019-03-0616-24/+23
|
* [core] move VertexVector/IndexVector to gfx namespaceKonstantin Käfer2019-03-0620-107/+158
|
* update shadersMolly Lloyd2019-03-0511-448/+456
|
* remove unused dem memoryMolly Lloyd2019-03-053-25/+18
|
* [core] Organize Map::{move,pitch,scale,rotate}ByBruno de Oliveira Abinader2019-03-041-17/+9
|
* [core] Remove map coordinate setters/gettersBruno de Oliveira Abinader2019-03-041-19/+1
|
* [core] Transform{State}: s/angle/bearing/Bruno de Oliveira Abinader2019-03-0417-56/+53
|
* [core] Remove map bearing setters/gettersBruno de Oliveira Abinader2019-03-041-20/+0
|
* [core] Remove map pitch setters/gettersBruno de Oliveira Abinader2019-03-041-18/+4
|
* [core] Remove map zoom setters/gettersBruno de Oliveira Abinader2019-03-041-34/+5
|
* [core] Added Map::pitchBy()Bruno de Oliveira Abinader2019-03-041-0/+6
|
* [core] Added Map::scaleBy()Bruno de Oliveira Abinader2019-03-041-0/+5
|
* [core] move CullFaceMode to gfx namespaceKonstantin Käfer2019-03-0127-110/+126
|
* [core] move StencilMode to gfx namespaceKonstantin Käfer2019-03-0126-147/+192
|
* [core] move DepthMode to gfx namespaceKonstantin Käfer2019-03-0130-123/+140
|
* [core] move GL enum conversions to separate fileKonstantin Käfer2019-03-019-133/+173
|
* [core] move ColorMode to gfx namespaceKonstantin Käfer2019-03-0117-115/+135
|
* [core] move draw mode and primitives to gfx namespaceKonstantin Käfer2019-03-0149-126/+141
|
* [core] include what you useKonstantin Käfer2019-03-018-9/+9
|
* [core] extract attribute structs and gl::Vertex to separate namespaceKonstantin Käfer2019-03-0150-457/+391
|
* [core] rename gl::AttributeType to gl::Attribute to free up the nameKonstantin Käfer2019-03-014-29/+29
|
* [core] disallow subtyping of gl::Attributes<> and use type aliases insteadKonstantin Käfer2019-03-0110-82/+79
|
* [core] extract uniform type lists from gl namespaceKonstantin Käfer2019-03-0128-150/+179
|
* [core] remove Tag from gl::UniformKonstantin Käfer2019-03-012-11/+11
|
* [core] Move Map::Impl to its own def/impl filesBruno de Oliveira Abinader2019-02-274-213/+248
|
* [core] Use unwrapped longitude for bounds checkBruno de Oliveira Abinader2019-02-263-44/+62
|
* [core] Ensure 'isPanning' is true when panning a full roundBruno de Oliveira Abinader2019-02-261-1/+1
|
* [core] remove DrawMode from VertexVector/BufferKonstantin Käfer2019-02-254-20/+11
|
* [core] Layer manager is responsible for buckets and layouts creationMikhail Pozdnyakov2019-02-2532-139/+94
| | | | This is a step to stop using of render layers in tile worker thread.
* [build] Use the correct define on WindowsThiago Marcos P. Santos2019-02-192-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 abstractionThiago Marcos P. Santos2019-02-1219-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 implementationThiago Marcos P. Santos2019-02-122-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' 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-318-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 autoKonstantin Käfer2019-01-301-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 algorithmsMikhail Pozdnyakov2019-01-183-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 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-144-27/+30
| | | | Obviates unnecessary lookups, improves readability.
* [core] return constexpr strings from functions to avoid ODR compile failuresKonstantin Käfer2019-01-114-43/+43
|
* [core] Split layer type specific code in mbgl::ProgramsMikhail Pozdnyakov2019-01-1123-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 layerMikhail Pozdnyakov2019-01-118-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.