Commit Graph

252 Commits

Author SHA1 Message Date
Tim Sylvester
7f366a7583 Change naming in some platform files (#2452) 2024-05-30 22:55:38 +02:00
Tim Sylvester
33a1e162bc GPU Expressions (#2202) 2024-05-17 07:30:55 -07:00
Stefan Karschti
aff5693fb9 Fix Metal frame glitch on older devices (#2379) 2024-05-15 15:30:28 +03:00
Tim Sylvester
cd9727b06f Sanitizer fixes (#2280) 2024-04-29 15:33:08 +02:00
Alex Cristici
84ec4f8234 Symbol UBOs fixes (#2331) 2024-04-26 19:15:42 +03:00
Alex Cristici
d22362ab22 Global UBO (#2292)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-24 17:14:18 +03:00
Bart Louwers
54a07f4b9c Update clang-format (pre-commit) (#2312) 2024-04-24 07:56:10 +03:00
Alex Cristici
cca3adb375 Layer group uniforms (#2247)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-18 14:22:11 +03:00
Stefan Karschti
6919081030 Fix projection matrix for raster image drawables (#2242) 2024-04-17 16:11:08 +03:00
Alex Cristici
8264a1c86b Fill outline triangulated reorganized (#2266)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-16 20:04:06 +03:00
Stefan Karschti
c6bcb76818 Add wide vector shader option to Custom Drawable Layer (#2183) 2024-04-15 19:37:26 +02:00
Tim Sylvester
705bdfb3de add noexcepts (#2119)
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: Bart Louwers <bart.louwers@gmail.com>
2024-04-08 15:39:18 +00:00
Bart Louwers
e4a4b9ec67 macOS Metal + AppKit app (#2205)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-04-02 01:52:19 +02:00
pre-commit-ci[bot]
8bf3040da1 [pre-commit.ci] pre-commit autoupdate (#2192)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-13 12:39:57 +01:00
mwilsnd
4e9392ee29 Android/core: Couple a sequenced scheduler to the lifetime of a GeoJSON source (#2182) 2024-03-11 16:49:37 +00:00
Tim Sylvester
25678a4d99 Track expression dependencies (#2113) 2024-03-07 19:36:50 +01:00
mwilsnd
4fff8a5d33 Asynchronous GeometryTile deletion (#2051)
Co-authored-by: Tim Sylvester <tim@wetdogweather.com>
2024-02-28 22:18:08 +00: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
Stefan Karschti
d6db72e8ba Custom Drawable Layer: Symbol Icon (#1908) 2024-02-16 17:39:47 +02: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
Stefan Karschti
1d00e5b9ea MLNCustomStyleLayer + Metal example (#2041) 2024-02-15 18:43:40 +02:00
Tim Sylvester
f9c6c9c2be Use optional values in place of zero placeholders (#2089) 2024-02-06 07:13:13 -08:00
Alex Cristici
d2feec269e Android benchmark frame time (#1958)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2024-02-01 22:30:56 +02:00
Tim Sylvester
867e7cc813 Use enableDepth option (#2073) 2024-01-31 14:48:41 -08:00
Alex Cristici
61a6b66435 UBO by index instead of map (#1980)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-31 22:02:05 +02:00
Tim Sylvester
d7f2431524 Don't save an extra copy of properties-as-uniforms set with symbol da… (#2054) 2024-01-25 14:44:40 -08:00
Tim Sylvester
8ce238c857 Eliminate an extra vector allocation for many attributes (#2049) 2024-01-25 10:58:23 -08:00
Tim Sylvester
5c304614d6 Avoid redundant bindings/states based on Metal profiler feedback. (#2006) 2024-01-22 07:02:36 -08:00
mwilsnd
d6c2b148dd Metal layer depth range support (#2013)
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>
2024-01-16 09:31:44 -05:00
Nathan Gass
fe728ebdd8 add methods getTiles and setTiles to mimick maplibre-gl-js interface (#149) 2024-01-05 16:29:26 +00:00
mwilsnd
8b2c748341 OpenGL: Monotonic UBO allocator (#1911)
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-12-12 12:39:34 -05:00
Alex Cristici
9fbcb031f0 Line layer UBO improvements (#1946)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-12 19:32:20 +02:00
Tim Sylvester
de1bcd1665 Add explicit frame capture (#1934) 2023-12-09 06:22:43 +00:00
Alex Cristici
ea73a57a09 Device pixel ratio send as define instead of UBO field (#1936)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-12-09 07:48:57 +02:00
Alex Cristici
1c2faae52e Hillshade unused padding removed (#1935) 2023-12-09 07:48:42 +02:00
Tim Sylvester
18e6802973 Metal permutations 2 (#1923) 2023-12-07 08:21:24 -08:00
Tim Sylvester
f7666f4ad0 Use 64-bit hashes regardless of platform (#1918) 2023-12-05 13:35:20 -08:00
Tim Sylvester
d46a7c745d Metal permutations (#1903) 2023-12-05 01:15:35 +01:00
Tim Sylvester
fa9712cd8f Shared attributes (#1898) 2023-11-29 02:57:51 +00:00
Alex Cristici
db2e95a59b Symbol improve UBO (#1893) 2023-11-28 08:16:11 +02:00
mwilsnd
04d5695a0a Add ankerl::unordered_dense containers (#1881)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 14:06:01 -05:00
mwilsnd
71d4ceabcd Don't use std::function in the renderer hot paths (#1883)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-27 10:36:03 -05:00
Stefan Karschti
893c97f20e Triangulated fill outlines (Metal) (#1880) 2023-11-24 14:19:41 +02:00
Tim Sylvester
ffcf132f20 Replace rather than update Metal buffers (#1842) 2023-11-20 21:58:19 +01:00
Tim Sylvester
3df14ab59d Bug/stencil tiles (#1871) 2023-11-16 09:33:29 -08:00
Alex Cristici
127506c135 Metal debug shader (#1870) 2023-11-15 23:37:59 +02:00
Alex Cristici
15cfb3570c Fixed metal vertex attribute update render tests (#1867)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-15 17:36:21 +02:00
Stefan Karschti
1200046f0c Collision drawables shared buffers (#1859) 2023-11-15 17:33:41 +02:00
Alex Cristici
c68d8f2d37 Fixed metal fill color per vertex (#1865) 2023-11-15 09:06:10 +02:00
Alex Cristici
f24055a9f0 Fixed metal background render tests (#1864)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-15 08:14:54 +02:00