Commit Graph

53 Commits

Author SHA1 Message Date
Bart Louwers
550f64be22 core: rename mbgl namespace to mln (#4487)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-08-14 23:25:20 +02:00
Mike Taves
fba652eb72 fix: typos (#4202)
Co-authored-by: Bart Louwers <bart@emeel.net>
2026-07-13 15:08:27 +00:00
Stefan Karschti
c6bcb76818 Add wide vector shader option to Custom Drawable Layer (#2183) 2024-04-15 19:37:26 +02:00
Alex Cristici
7387bb8c02 Vertex attribute by index instead of map (#2116)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-02-16 18:29:53 +00:00
Alex Cristici
612b256821 Texture by index instead of map (#2107)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-02-15 21:28:20 +02:00
Tim Sylvester
fa9712cd8f Shared attributes (#1898) 2023-11-29 02:57:51 +00:00
Stefan Karschti
a73e88fee2 Custom drawable layer: Simple Fill (#1810)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
2023-11-06 19:43:58 +01:00
Stefan Karschti
40e283cdbb Custom drawable layer v2 (#1754) 2023-10-26 18:36:50 +00:00
Stefan Karschti
89b9c3945c Custom Drawable Layer v1 + DrawableBuilder thick lines (#1699) 2023-10-13 16:24:36 +03:00
mwilsnd
f4d3cb6b69 Merge branch 'topic/metal-sep21' into main (#1695)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Tim Sylvester <tim@wetdogweather.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com>
Co-authored-by: Alex Cristici <alex@skoon.energy>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
Co-authored-by: Wei Chen <alanchenboy@gmail.com>
Co-authored-by: Siarhei Fedartsou <siarhei.fedartsou@gmail.com>
Co-authored-by: tdcosta100 <tdcosta100@gmail.com>
2023-10-02 13:22:19 +00:00
Stefan Karschti
76469a0c22 Drawable performance fixes (2) (#1610)
Co-authored-by: Tim Sylvester <tim@wetdogweather.com>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
2023-09-15 14:30:07 +00:00
mwilsnd
642903fdb4 Merge branch 'topic/drawable-fixes' into topic/drawable (#1560)
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com>
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
Co-authored-by: Tim Sylvester <tim@wetdogweather.com>
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
7afd821720 Drawable PR 3 - Layers (#1501)
Co-authored-by: Tim Sylvester <tim@wetdogweather.com>
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
62deb02265 Drawable PR1 - Foundation (#1355)
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-31 15:36:19 +02:00
Tim Sylvester
7f862cd8ff Share bucket indices (#1358)
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com>
2023-08-31 15:36:19 +02:00
Alex Cristici
3056f28756 Hillshade layer (#1305)
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
95f0cbed33 shared data-driven attributes (#1325) 2023-08-31 15:36:19 +02:00
Tim Sylvester
5b3af77450 shared vertex buffers (#1310)
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.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
Tim Sylvester
fe165c8924 Eliminate special color attribute handling (#1266) 2023-08-31 15:36:19 +02:00
Tim Sylvester
2c18d579cb Isolated drawable/builder refactoring portion of the symbol work (#1252) 2023-08-31 15:36:19 +02:00
Tim Sylvester
f3247dd6aa Refactor texture location handling to simplify tweakers (#1246)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-31 15:36:19 +02:00
Tim Sylvester
6b4f28d5f4 Drawable Renderer (#1570), CI warnings 2023-08-31 15:36:19 +02:00
Tim Sylvester
e7a82f78bc Drawable Renderer (#1570), CI warnings 2023-08-31 15:36:19 +02:00
Tim Sylvester
b060abeb92 Topic/fill pass (#1225) 2023-08-31 15:36:19 +02:00
Tim Sylvester
00d6bdd2ae Refactor clipping mask rendering (#1209) 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
a745329eb1 Add Texture2D and use it in PatternAtlas (#1183)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-31 15:36:19 +02:00
Tim Sylvester
a06145fe92 Drawable Renderer (#1570), warnings 2023-08-31 15:36:19 +02:00
Tim Sylvester
83882e1b73 Topic/vao per segment (#1188) 2023-08-31 15:36:19 +02:00
Tim Sylvester
b8bdf0643c Drawable Renderer (#1570), Setting up for fill patterns.
Handle color and cull modes better.
Rename `DrawableBuilder::ColorMode` to `ColorAttrMode` to avoid confusion with `gfx::ColorMode`.
2023-08-31 15:36:19 +02:00
Tim Sylvester
c81c665538 Drawable Renderer (#1570), Add fill-outline drawables 2023-08-31 15:36:19 +02:00
Tim Sylvester
c505d3077e apply color attributes, refactor (#1148) 2023-08-31 15:36:19 +02:00
Tim Sylvester
fffbfcfbb5 Drawable Renderer (#1570), rework attributes for fill drawables 2023-08-31 15:36:19 +02:00
Tim Sylvester
76b36d7437 Drawable Renderer (#1570), warnings 2023-08-31 15:36:19 +02:00
Tim Sylvester
6a1b48bb45 Drawable Renderer (#1570), Reworking fill drawables into layer group 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
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
8c749d155a Drawable Renderer (#1570), warnings 2023-08-31 15:36:19 +02:00
Tim Sylvester
61da26fe14 Drawable Renderer (#1570), Eliminate GL drawable/builder dependencies from generic background layer 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