Commit Graph

279 Commits

Author SHA1 Message Date
Wei Chen
3b6d4c5a97 implement fill extrusion pattern shader for metal (#1729)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-08 10:13:48 +08:00
Bart Louwers
7cdac9e4cd Line SDF gradient
Line sdf gradient rebase
2023-10-06 14:04:41 +02:00
Bart Louwers
aeaaced81b Merge remote-tracking branch 'origin' into linux-ci 2023-10-05 09:33:52 +00:00
Bart Louwers
34a29ef061 Fix offscreen texture filter type, ignore one render test 2023-10-05 09:28:14 +00:00
pre-commit-ci[bot]
effba06e35 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-10-04 16:48:08 +00:00
Tim Sylvester
80e194fbe1 new static declaration style 2023-10-04 09:45:57 -07:00
alan wei chen
9ff5d6fcbd Implement metal line sdf shader. 2023-10-04 09:21:01 -07:00
Tim Sylvester
8db744918f Merge branch 'topic/metal-sep25' into metal-sep25-merge 2023-10-04 09:20:03 -07:00
Alex Cristici
4001b1bb4d Fixed offscreen unit tests (#1723) 2023-10-04 19:12:38 +03:00
Bart Louwers
655e12a5b6 Remove clear() method 2023-10-04 14:00:40 +00:00
Bart Louwers
63720145e6 move renderTileIDs 2023-10-04 12:50:18 +00:00
Bart Louwers
0a81468939 Make StringIndexer not a singleton 2023-10-04 12:47:17 +00:00
Tim Sylvester
a8f6a3b6af More build issues 2023-10-03 22:34:55 +00:00
Tim Sylvester
ec3f927f83 Fix Linux build issues 2023-10-03 22:24:45 +00:00
Tim Sylvester
a9ead54d73 Fix line properties on Metal 2023-10-03 14:15:59 -07:00
Tim Sylvester
9173a1141f Merge branch 'topic/metal-sep25' into metal-sep25-merge
# Conflicts:
#	include/mbgl/renderer/layer_tweaker.hpp
#	src/mbgl/renderer/layer_tweaker.cpp
#	src/mbgl/renderer/layers/circle_layer_tweaker.cpp
#	src/mbgl/renderer/layers/fill_layer_tweaker.cpp
#	src/mbgl/renderer/layers/heatmap_layer_tweaker.cpp
#	src/mbgl/renderer/layers/line_layer_tweaker.cpp
#	src/mbgl/renderer/layers/render_circle_layer.cpp
#	src/mbgl/renderer/layers/render_fill_extrusion_layer.cpp
#	src/mbgl/renderer/layers/render_fill_layer.cpp
#	src/mbgl/renderer/layers/render_heatmap_layer.cpp
#	src/mbgl/renderer/layers/render_hillshade_layer.cpp
#	src/mbgl/renderer/layers/render_line_layer.cpp
#	src/mbgl/renderer/layers/render_raster_layer.cpp
#	src/mbgl/renderer/layers/render_symbol_layer.cpp
#	src/mbgl/renderer/layers/symbol_layer_tweaker.cpp
#	src/mbgl/renderer/render_layer.cpp
2023-10-03 13:25:02 -07:00
Bart Louwers
43bafd2819 renderTileIDs.clear() 2023-10-03 17:38:45 +00:00
Bart Louwers
82feff83da Fix detected use after move 2023-10-03 12:14:55 +00:00
Bart Louwers
86675fbf38 Remove duplicate include 2023-10-03 12:14:19 +00:00
Bart Louwers
8cbb49ce23 Use range based for loop 2023-10-03 12:14:07 +00:00
Bart Louwers
536e577f54 remove redundant static and move after free triggered 2023-10-03 11:49:17 +00:00
Bart Louwers
de2c42403c fix unused variable 2023-10-03 11:47:49 +00:00
Bart Louwers
eebbaf3b0b Fix unneeded use of operator[] 2023-10-03 11:30:47 +00:00
Bart Louwers
3032723ba3 remove redundant static 2023-10-03 11:27:23 +00:00
Bart Louwers
0594fdc0a6 fix use after move 2023-10-03 11:16:06 +00:00
Bart Louwers
23d521eb11 fix overshadowed member 2023-10-03 11:15:57 +00:00
Bart Louwers
fff996d7cb remove duplicate include, remove redundant static 2023-10-03 11:14:27 +00:00
Alex Cristici
ef351964a1 Metal sep25 - Fixed compilation error (#1718) 2023-10-02 22:02:47 +03:00
Alex Cristici
4e65763bc1 OpenGL float support (#1717) 2023-10-02 21:20:30 +03:00
Tim Sylvester
44b5af7c4a Topic/metal cache (#1704) 2023-10-02 09:47:17 -07:00
Tim Sylvester
59a5edb1ea Handle updated evaluated properties in the fill layer tweaker instead of replacing it on every update (#1707) 2023-10-02 08:29:57 -07: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
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
Tim Sylvester
810be67fa2 Issue/1687 (#1697)
Co-authored-by: Bart Louwers <bart@emeel.net>
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
2023-09-28 11:18:42 -07:00
Bart Louwers
2d8cde8abf Update Boost to 1.83, replace Boost Locale with deprecated codecvt STL (#1660)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
2023-09-27 22:41:50 +02:00
Bart Louwers
34a2097bdd Update Boost to 1.83, replace Boost Locale with deprecated codecvt STL (#1660)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
2023-09-27 10:02:15 +00:00
Wei Chen
4768a85798 implement line pattern shader for Metal (#1669)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-25 10:25:52 +08: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
fc73b16a73 Issue/1648 (#1668) 2023-09-21 15:52:33 +00:00
Stefan Karschti
2e36dcfcb4 Cache metal pipeline state (#1658)
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
2023-09-21 16:31:10 +03:00
Stefan Karschti
5900d69e92 Fix string indexer reallocation bug (#1666) 2023-09-20 19:04:19 +03:00
mwilsnd
c6737e8df1 Fix build/fill UBO padding on Windows (#1649)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-19 22:51:18 +00:00
Stefan Karschti
48b9804ca9 String Indexer refactor (#1644)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-19 15:25:13 +02: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
Tim Sylvester
881d221788 Fix duplicate layer entries when addLayerGroup was called between `… (#1629)
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 17:05:32 +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
Tim Sylvester
2d71683feb Add checks for zero indexes on fill patterns to match fills. (#1638)
Co-authored-by: Bart Louwers <bart@emeel.net>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-14 23:10:56 +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