summaryrefslogtreecommitdiff
path: root/src/mbgl/programs
Commit message (Collapse)AuthorAgeFilesLines
* [core] Fix performance-noexcept-move-constructor in header filesThiago Marcos P. Santos2020-04-171-0/+5
| | | | As reported by clang-tidy-8.
* [core] Fix performance-type-promotion-in-math-fn errors in header filesThiago Marcos P. Santos2020-04-171-2/+2
| | | | As reported by clang-tidy-8.
* [core] Fix readability-avoid-const-params-in-decls errors in header filesThiago Marcos P. Santos2020-04-174-44/+41
| | | | As reported by clang-tidy-8.
* Enable 'circle-sort-key' layout propertyAndrew Hay Kurtz2020-04-141-0/+41
|
* [core] Fix modernize-return-braced-init-list errorsThiago Marcos P. Santos2020-03-231-13/+12
| | | | As reported by clang-tidy-8.
* [core] Adjust mapbox-gl-native for the updated debug shader semanticsMikhail Pozdnyakov2020-03-112-12/+12
|
* Bump mapbox-gl-jsMikhail Pozdnyakov2020-03-1119-353/+365
|
* Backport https://github.com/mapbox/mapbox-gl-js/pull/9333zmiao2020-02-265-440/+426
|
* Bump GL-JSzmiao2020-02-115-426/+440
| | | | Backport GL-JS fix 'Hide glyphs behind the camera'(https://github.com/mapbox/mapbox-gl-js/pull/9229)
* [core] Upgrade shaders and add new vertices to SymbolLayoutKonstantin Käfer2020-01-158-463/+482
|
* [core] Turn off clang format for generated shaded codeAlexander Shalamov2019-12-021-3/+2
|
* [core] Use new 'SymbolTextAndIcon' program to draw icons in textAlexander Shalamov2019-12-0233-599/+1009
|
* [core] Store 'sdf' flag in vertex attributeAlexander Shalamov2019-12-021-19/+17
|
* [core] Fix performance-move-const-argThiago Marcos P. Santos2019-09-252-17/+15
|
* [core] Fix bugprone-use-after-moveThiago Marcos P. Santos2019-09-251-15/+14
| | | | Luckily this is an enum and was being copied.
* [core] DEMData: do decode on GPU (port mapbox/mapbox-gl-js#8694)Aleksandar Stojiljkovic2019-08-3012-468/+473
| | | | | | | | | | | This is first part of work on porting mapbox/mapbox-gl-js#8694 - in follow up patch(es) it is required to remove CPU side copy using 2d canvas support on all supported platforms, similar to approach taken in gl.js https://github.com/mapbox/mapbox-gl-js/pull/8694/files#diff-34dbe5f7de34dc4b9a8745dcde9bdc37R48 Decoding on CPU removed. Padding is still done in DEMData() but, instead od doing it wwhile decoding, it is using memcpy to pad original values. Rebase to latest mapbox-gl-js master and re-generate shaders. Partly fixes: #15503
* [core] Remove programCacheDir parameter from ProgramParametersAnder Conselvan de Oliveira2019-08-272-23/+3
| | | | | | Binary shader support has been removed in commit c2f974f2a573 ([core] Remove binary shader support). This left-over parameter is not used anywhere anymore.
* [core] Fix combination of icon-text-fit with text-variable-anchors and ↵Alexander Shalamov2019-08-201-1/+1
| | | | text-writing-mode
* [core] Switch back to a more compact line attributes layout (#14851)Vladimir Agafonkin2019-06-1012-209/+216
| | | | | | * [core] switch back to a more compact line attributes layout * update mapbox-gl-js to point to master
* [core] Fix: fill-extrusion-vertical-gradient was ignored. #14784Aleksandar Stojiljkovic2019-05-312-7/+14
| | | | | | fill-extrusion-vertical-gradient "property-type": "data-constant" and it shouldn't be computed through property binders. Fixes: #14784
* [core] refactor program object creationKonstantin Käfer2019-05-2839-103/+50
|
* [core] Offset viewport center when edge insets are specifiedAleksandar Stojiljkovic2019-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | | The change is implemented in TransformState::getProjMatrix, the rest of the code is making sure that existing API contracts stay and there are tests verifyingrendering and render query processing only items within screen and given tolerance around screen edges. MapView: don't bake edge insets into relalculated camera center. Keep edge insets as property of camera in TransformState (similar to pitch, zoom, bearing) independent from specified camera center. Interpolate edge insets in animation. iOS Demo app: "Turn On/Off Content Insets" pitch the camera and navigate to convenient location in Denver, where streets are parallel to cardinal directions, to illustrate viewport center offset when edge insets are set. Tests: ViewFrustumCulling: although Annotations are deprecated, queryRenderedFeatures related tests in Annotations would need to get ported and decided to add the edge insets related query tests next to them. Verify frustum culling (render+queryRenderedFeatures) With different camera and edge insets setups. TODO: port Annotations tests. Transform.Padding: Verify that coordinates take proper place on screen after applying edge insets. LocalGlyphRasterizer: verify text rendering when applying padding. Related to #11882: both use projection matrix elements [8] and [9]. Alternative approach to this was to increase and offset map origin so that the screen would be a sub-rectangle in larger map viewport. This approach has a drawback of unecessary processing the items that are outside screen area. Fixes #12107, #12728, navigation-sdks/issues/120
* [core] add gfx::UploadPass, split startRender into prepare and uploadKonstantin Käfer2019-05-151-0/+1
|
* [core] use float for storing opacity attributeKonstantin Käfer2019-05-152-2/+2
|
* [core] use unique IDs for DrawScopesKonstantin Käfer2019-05-152-3/+3
|
* [core] upgrade mapbox-gl-js pin to the most recent versionKonstantin Käfer2019-05-0830-651/+678
|
* [core] render extrusions directly in the main framebufferKonstantin Käfer2019-05-0818-593/+481
|
* [core] Sort cross-tile symbol segments using symbol-sort-keyAlexander Shalamov2019-04-171-22/+56
|
* [core] Add optional sortKey to segmentAlexander Shalamov2019-04-171-2/+6
|
* [core] introduce gfx::RenderPassKonstantin Käfer2019-04-053-0/+12
|
* [core] Remove RenderLinePaintPropertiesMikhail Pozdnyakov2019-04-022-13/+13
| | | | | | | This patch removes the `RenderLinePaintProperties` by making `LineFloorWidth` part of the `style::LinePaintProperties`. It normalizes paint properties evaluation for the line layer.
* [core] Introduce variable text placement for point labels - Placement partMikhail Pozdnyakov2019-03-291-13/+5
|
* [core] Introduce variable text placement for point labels - Render partAlexander Shalamov2019-03-292-1/+8
|
* [core] move ProgramMap to within the gl::Program objectKonstantin Käfer2019-03-2040-168/+610
|
* [core] use constexpr string concatenation for uniform/attribute namesKonstantin Käfer2019-03-2017-506/+508
|
* [core] remove a_/u_ prefix from attribute/uniform typesKonstantin Käfer2019-03-2023-389/+389
|
* [core] remove gl/context.hpp from more files, cast where necessaryKonstantin Käfer2019-03-201-1/+0
|
* Merge pull request #14126 from mapbox/gfx-refactor-4Konstantin Käfer2019-03-1580-594/+5184
| | | Graphics refactor #4
* [core] add texture bindings to draw call instead of Context member fnKonstantin Käfer2019-03-1220-59/+93
|
* [core] add texture bindings to draw call invocationsKonstantin Käfer2019-03-123-2/+14
|
* [core] add place for specifying textures/samplers separately from uniformsKonstantin Käfer2019-03-1216-0/+28
|
* [core] use abstract Context interface where possibleKonstantin Käfer2019-03-121-1/+0
|
* Update mapbox-gl-js submodule to v0.53.0Mikhail Pozdnyakov2019-03-063-2/+12
|
* [core] move VertexBuffer<> to gfx namespaceKonstantin Käfer2019-03-063-8/+8
|
* [core] move IndexBuffer to gfx namespaceKonstantin Käfer2019-03-063-4/+4
|
* [core] unify *Buffer/Vector namingKonstantin Käfer2019-03-062-3/+3
|
* [core] make vertex descriptors constexprKonstantin Käfer2019-03-061-1/+1
|
* [core] remove unused template parameter from gl::IndexBufferKonstantin Käfer2019-03-063-4/+4
|
* [core] Transform{State}: s/angle/bearing/Bruno de Oliveira Abinader2019-03-041-1/+1
|
* [core] move CullFaceMode to gfx namespaceKonstantin Käfer2019-03-013-4/+4
|