Commit Graph

101 Commits

Author SHA1 Message Date
Stefan Karschti
b63074407f Render tests fix for Symbol (#1370) 2023-08-31 15:36:19 +02:00
Tim Sylvester
4a4389ab9b Bug/fill attributes (#1359) 2023-08-31 15:36:19 +02:00
Tim Sylvester
95f0cbed33 shared data-driven attributes (#1325) 2023-08-31 15:36:19 +02:00
mwilsnd
a288b1ffad Drawable CI Fixes (#1319)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-31 15:36:19 +02:00
Alex Cristici
3f42e59ad5 Legacy 3d pass fix (#1332)
Co-authored-by: Alex Cristici <alex@skoon.energy>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-31 15:36:19 +02:00
Stefan Karschti
a42b559fbe Drawable Renderer (#1570), Custom layer (issue #1272) 2023-08-31 15:36:19 +02:00
Tim Sylvester
8d9fe37a6b Topic/drawable extrusion (#1288)
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
2023-08-31 15:36:19 +02:00
Alex Cristici
813ddb024a Heatmap layer (#1230)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-31 15:36:19 +02:00
mwilsnd
1963697687 Selectable renderer implementation (#1247)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-31 15:36:19 +02:00
Stefan Karschti
d590ea97a8 Raster Layer (images) (#1223)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
0b2eae8a3a Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-31 15:36:19 +02:00
Tim Sylvester
826f17b659 Drawable Renderer (#1570), Fix rendering problems due to tile clip masks being limited by split-view by clearing the state after changing the view.
Somewhat less verbose typing in clip mask tile ID handling.
2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
2e489ebd3e Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-31 15:36:19 +02:00
mwilsnd
9a2543b218 Drawable Renderer (#1570), warnings 2023-08-31 15:36:19 +02:00
Stefan Karschti
7f33ddfef4 Raster layer (Tiles) #1168 (#1195)
Co-authored-by: Bart Louwers <bart@emeel.net>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Tim Sylvester <tim@wetdogweather.com>
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
2023-08-31 15:36:19 +02:00
Tim Sylvester
4cac8a8dfb Topic/atlas tex 2d (#1194)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
2023-08-31 15:36:19 +02:00
Tim Sylvester
c10616aec6 Drawable Renderer (#1570), Remove layer index from drawables.
Add debug GL groups for uploads.
Enable GL debug groups only in debug builds.
2023-08-31 15:36:19 +02:00
Tim Sylvester
4527d18a67 Drawable Renderer (#1570), Refactor tile matrix handling to account for translations 2023-08-31 15:36:19 +02:00
mwilsnd
f63fa49152 Drawable LayerGroup sorting, depth buffer, split view (#1173)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-31 15:36:19 +02:00
Alex Cristici
2c53c138c8 Circle layer (#1153) 2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
722900a0f3 Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-31 15:36:19 +02:00
Tim Sylvester
f51c0820d3 Drawable Renderer (#1570), Move rendering into layer groups 2023-08-31 15:36:19 +02:00
mwilsnd
57c165e604 Refactor shaders for drawables (#1132) 2023-08-31 15:36:19 +02:00
Tim Sylvester
81461bc357 Drawable Renderer (#1570), warnings 2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
43a05515e9 Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-31 15:36:19 +02:00
Tim Sylvester
af39aca061 Drawable Renderer (#1570), first cut at layer groups 2023-08-31 15:36:19 +02:00
Alex Cristici
d8ea91de98 Uniform buffer objects (#1127)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
041acbaf0e Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-31 15:36:19 +02:00
Tim Sylvester
b052cb904e Drawable Renderer (#1570), Apply render pass to drawables 2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
9a4e0f14d0 Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-31 15:36:19 +02:00
Tim Sylvester
375083b6cf Drawable Renderer (#1570), work on fill drawables 2023-08-31 15:36:19 +02:00
Tim Sylvester
aaf5758034 Drawable Renderer (#1570), build issues 2023-08-31 15:36:19 +02:00
Tim Sylvester
4af4491626 Drawable Renderer (#1570), order drawables 2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
caee9cc12f Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-31 15:36:19 +02:00
Tim Sylvester
010b8f9280 Drawable Renderer (#1570), Evaluate and apply color 2023-08-31 15:36:19 +02:00
Tim Sylvester
b8c0b1a97c Drawable Renderer (#1570), Move layer update to where more state is available.
Evaluate properties and use actual style color.
Fix problems with attribute bindings and depth modes.
2023-08-31 15:36:19 +02:00
Tim Sylvester
3122f81328 Drawable Renderer (#1570), Rebase on main.
Fix drawable ordering issue that was leading to rendering without setting up the VAO
2023-08-31 15:36:19 +02:00
Tim Sylvester
107a4ef467 Drawable Renderer (#1570), Fix duplicate drawable and vertex state bug 2023-08-31 15:36:19 +02:00
Tim Sylvester
5a9b4c3422 Drawable Renderer (#1570), Drawable per tile 2023-08-31 15:36:19 +02:00
Tim Sylvester
92ce58db86 Rework attributes (#1048) 2023-08-31 15:36:19 +02:00
Tim Sylvester
a646cbf938 Topic/drawable 2 (#1047)
uniforms
2023-08-31 15:36:19 +02:00
Tim Sylvester
aceb0394ba Topic/drawable 2 (#1032)
More vertex attribute work
Move drawables above existing layer rendering. 
Use context for the actual draw call.
Fake the vertexes in the shader to get something actually showing up.
Simplify shader state management
2023-08-31 15:36:19 +02:00
Tim Sylvester
e2bc75289c Topic/drawable 2 (#1029) 2023-08-31 15:36:19 +02:00
Tim Sylvester
14b53e54ec First cut at Drawable fundamentals (#983)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
2023-08-31 15:36:19 +02:00
Bart Louwers
71f6da2722 Add clang-format (#1086)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
2023-05-01 16:57:37 +02:00
mwilsnd
f207aee091 Migrate shaders to the registry (#964)
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
2023-04-04 21:00:12 +02:00
mwilsnd
1d8c4b527f Add shader registry (#924) 2023-03-27 19:41:38 +02:00
Bart Louwers
15ad65dd3d Use std::optional instead of mbgl::optional (#911) 2023-03-17 13:51:59 +02:00
Justas Brazauskas
cfcbc62fad Feature - Bring back node support (#217)
This PR brings back support for node.js later versions, as well as actually making it work. Maps now render, properly, using node v10, v12, and v16.
2022-02-08 20:40:19 +01:00
Tadej Novak
fe041b80ca [msvc] Fix compilation errors and warnings (#141) 2021-08-29 22:53:42 +02:00