Commit Graph

173 Commits

Author SHA1 Message Date
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
Tim Sylvester
9e7f1cc3a5 Use TinyUnorderedMap for render tile sets (#1792)
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-11-01 07:14:01 -07:00
Tim Sylvester
1a1c826fa4 Metal stats (#1781) 2023-10-20 15:45:08 -07:00
Stefan Karschti
89b9c3945c Custom Drawable Layer v1 + DrawableBuilder thick lines (#1699) 2023-10-13 16:24:36 +03:00
Tadej Novak
ff2fdcbf85 Update minimum CMake version to 3.19 (#1643)
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-10-09 12:35:25 +02:00
Bart Louwers
aeaaced81b Merge remote-tracking branch 'origin' into linux-ci 2023-10-05 09:33:52 +00:00
Bart Louwers
c873b4db42 disable MLN_LEGACY_RENDERER when MLN_DRAWABLE_RENDERER 2023-10-03 11:15:30 +00:00
Alex Cristici
3f1807a11a Metal headless backend (#1690)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-02 18:21:59 +03:00
Alex Cristici
4eb941980e Metal hillshade layer (#1546)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
Co-authored-by: Tim Sylvester <tim@wetdogweather.com>
Co-authored-by: mwilsnd <53413200+mwilsnd@users.noreply.github.com>
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
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>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-22 12:47:40 +03:00
Tim Sylvester
a7f5d565d8 Topic/metal symbol rebase (#1640)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
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-09-19 01:32:24 +00:00
Alex Cristici
0e95f66094 Metal render target (#1484)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Tim Sylvester <tim@wetdogweather.com>
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com>
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: mwilsnd <53413200+mwilsnd@users.noreply.github.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>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:49:31 +00:00
Tim Sylvester
25c1f3c7a6 Rebase fill-extrusion work to eliminate dependence on render target branch (#1618)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
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-09-15 16:02:26 -07: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
Tim Sylvester
82ec59a2b0 Metal setup merge (#1616)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
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-09-13 18:35:20 +00:00
mwilsnd
03be4ed400 Remove split view debugging (#1571) 2023-08-31 15:36:19 +02: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
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
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
Stefan Karschti
a42b559fbe Drawable Renderer (#1570), Custom layer (issue #1272) 2023-08-31 15:36:19 +02:00
mwilsnd
d755e40619 Drawable Renderer (#1570), CMake syntax 2023-08-31 15:36:19 +02:00
mwilsnd
00a7bdb4ed Drawable Renderer (#1570), Add -Wno-error=pragmas to clang-tidy CMake command 2023-08-31 15:36:19 +02:00
mwilsnd
8b814fe769 Drawable Renderer (#1570), gcc12 warnings, fix CMake 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
5a9946733b Drawable Renderer (#1570), fix build issues 2023-08-31 15:36:19 +02:00
Stefan Karschti
8f6bab98c1 Line Layer (#1142)
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: mwilsnd <mwilsnd@gmail.com>
2023-08-31 15:36:19 +02:00
Tim Sylvester
9ba646e962 Topic/drawable symbol (#1249) 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
Alex Cristici
52b9e099e5 Circle layer final (#1227) 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
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
83882e1b73 Topic/vao per segment (#1188) 2023-08-31 15:36:19 +02:00
Alex Cristici
2c53c138c8 Circle layer (#1153) 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
c505d3077e apply color attributes, refactor (#1148) 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
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
Tim Sylvester
5a9b4c3422 Drawable Renderer (#1570), Drawable per tile 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
Siarhei Fedartsou
09f17c0fc4 Implement slice expression (#1133)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-08-26 18:32:45 +02:00
mwilsnd
20d9e1028c Platform flattening overhaul (#1393)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-07-26 17:50:34 +02:00
Siarhei Fedartsou
379b1fc606 Implement index-of expression (#1113) 2023-05-09 00:16:58 +02:00
Birk Skyum
403a12bd1b Update paths from maplibre-gl-native to maplibre-native (#1090) 2023-05-01 09:41:26 +02:00
Tadej Novak
95c7e3818d [cmake] Use MLN prefix instead of MBGL (#1054)
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-04-28 00:34:38 +02:00
Alex Cristici
19b84464a3 Fix render tests failing on Xcode 14.3 (#1046) 2023-04-24 17:45:09 +02:00
Siarhei Fedartsou
99167b9116 Remove Mapbox::Base::optional dependency from CMake (#1050) 2023-04-22 19:02:37 +02:00