Commit Graph

54 Commits

Author SHA1 Message Date
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
Tim Sylvester
44b5af7c4a Topic/metal cache (#1704) 2023-10-02 09:47:17 -07: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
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
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
Stefan Karschti
11d7206b9d Drawable performance fixes (#1592)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Tim Sylvester <tim@wetdogweather.com>
2023-09-02 19:55:50 +03:00
Stefan Karschti
e57c9e4695 Drawable Renderer (#1570), fix linux build 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
mwilsnd
62deb02265 Drawable PR1 - Foundation (#1355)
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com>
Co-authored-by: Bart Louwers <bart.louwers@gmail.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
Tim Sylvester
7f862cd8ff Share bucket indices (#1358)
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com>
2023-08-31 15:36:19 +02:00
Tim Sylvester
4a4389ab9b Bug/fill attributes (#1359) 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
Tim Sylvester
95f0cbed33 shared data-driven attributes (#1325) 2023-08-31 15:36:19 +02:00
Tim Sylvester
5b3af77450 shared vertex buffers (#1310)
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com>
2023-08-31 15:36:19 +02:00
Tim Sylvester
d094b9928e Render drawables in order (#1321) 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
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
9ba646e962 Topic/drawable symbol (#1249) 2023-08-31 15:36:19 +02:00
Tim Sylvester
fe165c8924 Eliminate special color attribute handling (#1266) 2023-08-31 15:36:19 +02:00
Tim Sylvester
f3247dd6aa Refactor texture location handling to simplify tweakers (#1246)
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
Tim Sylvester
b060abeb92 Topic/fill pass (#1225) 2023-08-31 15:36:19 +02:00
Tim Sylvester
00d6bdd2ae Refactor clipping mask rendering (#1209) 2023-08-31 15:36:19 +02:00
Tim Sylvester
dc5f6c4d69 Move background tile shader selection back to the render layer (#1200)
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
4cac8a8dfb Topic/atlas tex 2d (#1194)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
2023-08-31 15:36:19 +02:00
Tim Sylvester
51c270495b Drawable Renderer (#1570), Improve drawable interaction with opaquePassCutoff 2023-08-31 15:36:19 +02:00
Tim Sylvester
c10616aec6 Drawable Renderer (#1570), Remove layer index from drawables.
Add debug GL groups for uploads.
Enable GL debug groups only in debug builds.
2023-08-31 15:36:19 +02:00
Tim Sylvester
4527d18a67 Drawable Renderer (#1570), Refactor tile matrix handling to account for translations 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
pre-commit-ci[bot]
5df482b12e Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
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
b5abc33c4b Drawable Renderer (#1570), Add renderable size uniform for fill layer 2023-08-31 15:36:19 +02:00
Tim Sylvester
c81c665538 Drawable Renderer (#1570), Add fill-outline drawables 2023-08-31 15:36:19 +02:00
Tim Sylvester
c505d3077e apply color attributes, refactor (#1148) 2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
55077a83dd Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-31 15:36:19 +02:00
Tim Sylvester
76658d8717 Drawable Renderer (#1570), Fix color normalization problems, don't produce zero-alpha drawables 2023-08-31 15:36:19 +02:00
mwilsnd
cec22b8572 Revise background layer UBO size & padding (#1136) 2023-08-31 15:36:19 +02:00
Tim Sylvester
6a1b48bb45 Drawable Renderer (#1570), Reworking fill drawables into layer group 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
b052cb904e Drawable Renderer (#1570), Apply render pass to drawables 2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
434d90d939 Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-31 15:36:19 +02:00
Tim Sylvester
4af4491626 Drawable Renderer (#1570), order drawables 2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
caee9cc12f Drawable Renderer (#1570), [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-08-31 15:36:19 +02:00
Tim Sylvester
61da26fe14 Drawable Renderer (#1570), Eliminate GL drawable/builder dependencies from generic background layer 2023-08-31 15:36:19 +02:00
Tim Sylvester
010b8f9280 Drawable Renderer (#1570), Evaluate and apply color 2023-08-31 15:36:19 +02:00
Tim Sylvester
b8c0b1a97c Drawable Renderer (#1570), Move layer update to where more state is available.
Evaluate properties and use actual style color.
Fix problems with attribute bindings and depth modes.
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