Commit Graph

197 Commits

Author SHA1 Message Date
Tim Sylvester
ef69472f56 Refactor bindings to allow for eliminating duplicates... (#1831)
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-11-06 10:12:34 -08:00
Alex Cristici
8ad5f9c1fd Benchmark app frame time improvements (#1776)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-03 23:03:52 +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
5a17559523 Mark tile ID methods noexcept (#1828) 2023-10-31 07:21:05 -07:00
Stefan Karschti
40e283cdbb Custom drawable layer v2 (#1754) 2023-10-26 18:36:50 +00:00
Tim Sylvester
da45706601 Warnings (#1791) 2023-10-20 23:23:26 +00:00
Tim Sylvester
1a1c826fa4 Metal stats (#1781) 2023-10-20 15:45:08 -07:00
Tim Sylvester
d43c52b9d8 Disable stencil instancing (#1778) 2023-10-18 17:22:14 -07:00
Martin d'Allens
f39c7b6587 Fix some inconsistencies and typos in docs and comments (#1773) 2023-10-17 23:41:01 +02:00
Tim Sylvester
565136f509 Fix a bug with buffer reuse. Simplify stencil clearing. (#1763)
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-10-17 07:18:23 -07:00
Tim Sylvester
ca8893690d More stencil caching (#1755) 2023-10-16 07:22:54 -07:00
Tadej Novak
a3e3290d68 Fixes for GCC 13 and LLVM 17 (#1749) 2023-10-14 10:48:59 +02:00
Stefan Karschti
89b9c3945c Custom Drawable Layer v1 + DrawableBuilder thick lines (#1699) 2023-10-13 16:24:36 +03:00
Tim Sylvester
6a8be9a221 Further stencil optimizations (#1750)
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-10-11 23:25:02 +00:00
Tim Sylvester
ce0096aab0 Metal Optimizations (#1748) 2023-10-11 01:34:44 +00:00
Tim Sylvester
e23aca5e9b Refactor readDataDrivenPaintProperties into smaller methods (#1742) 2023-10-09 21:17:20 +00:00
Alex Cristici
74995925ee Line gradient fixes (#1741) 2023-10-09 19:37:54 +03:00
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
Tim Sylvester
80e194fbe1 new static declaration style 2023-10-04 09:45:57 -07:00
alan wei chen
dd114b26c3 remove line gradient 2023-10-04 09:21:01 -07:00
pre-commit-ci[bot]
b60e4afae5 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-10-04 09:21:01 -07:00
alan wei chen
9ff5d6fcbd Implement metal line sdf shader. 2023-10-04 09:21:01 -07:00
Bart Louwers
655e12a5b6 Remove clear() method 2023-10-04 14:00:40 +00:00
Bart Louwers
0a81468939 Make StringIndexer not a singleton 2023-10-04 12:47:17 +00:00
pre-commit-ci[bot]
bdf043b913 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-10-03 21:47: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
6f7e9f44e7 make disabled member public 2023-10-03 11:15:42 +00:00
Tim Sylvester
44b5af7c4a Topic/metal cache (#1704) 2023-10-02 09:47:17 -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
5252f349d1 Rebase render tests' expected images (#1633) 2023-09-19 15:25:06 +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