Commit Graph

331 Commits

Author SHA1 Message Date
Tim Sylvester
a479c84b9b Stencil clear (#1994) 2024-01-05 11:56:16 -08: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
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
Bart Louwers
a92bc67f99 Fix order_independent_hash on 32-bit platforms (#1914) 2023-12-05 15:42:48 +02: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
Stefan Karschti
178454bdba Metal debug lines (#1888) 2023-11-28 07:51:18 +02:00
mwilsnd
634ce8089b Symbol Tweaker: Redundant update inside inner loop (#1891) 2023-11-27 20:14:42 +00: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
mwilsnd
09e16d78d8 Fill: Don't query UBOs to determine shader variant (#1885)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-22 19:03:37 +00:00
mwilsnd
287f202525 Mark layer renderability inline, don't copy render items (#1882)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-22 12:26:19 -05:00
mwilsnd
5dbe89dea1 Hoist symbol dynamic UBO out of drawable loop (#1884)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-22 11:35:58 -05:00
Tim Sylvester
ffcf132f20 Replace rather than update Metal buffers (#1842) 2023-11-20 21:58:19 +01:00
Tim Sylvester
9c9d0dd5bd Consistently use no-throw new in noexcept layer create methods (#1875) 2023-11-18 00:30:25 +00:00
Tim Sylvester
4150c8b851 Handle the case where styles update without a bucket change, fixing `… (#1874) 2023-11-17 09:44:00 -08: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
08f24a68c8 Fixed metal line render tests (#1868)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-15 17:36:35 +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
Tim Sylvester
37a9c089a2 Separate properties-as-uniforms per drawable (#1856) 2023-11-14 15:43:56 -08:00
Alex Cristici
9884b1e40f Fixed metal heatmap render tests (#1860) 2023-11-14 22:17:42 +02:00
Alex Cristici
028bec0f69 Fixed metal circle render tests (#1854)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-10 00:10:47 +02:00
Alex Cristici
9faa155546 Fixed metal symbol render tests (#1853)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-11-09 23:32:10 +02:00
Tim Sylvester
a880247e14 Make the StringIndexer default constructor protected (#1852) 2023-11-09 11:19:44 -08:00
Tim Sylvester
c8010dba7d Fix tile collection update (#1849) 2023-11-08 01:46:57 +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
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
1a1c826fa4 Metal stats (#1781) 2023-10-20 15:45:08 -07:00
Stefan Karschti
0461e6976e Eliminate duplicate calls to updateRenderTileIDs (#1788) 2023-10-20 16:10:14 +00:00
Tim Sylvester
d43c52b9d8 Disable stencil instancing (#1778) 2023-10-18 17:22:14 -07: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