Commit Graph

116 Commits

Author SHA1 Message Date
Tim Sylvester
6b4f28d5f4 Drawable Renderer (#1570), CI warnings 2023-08-31 15:36:19 +02:00
Tim Sylvester
e7a82f78bc Drawable Renderer (#1570), CI warnings 2023-08-31 15:36:19 +02:00
Tim Sylvester
5e97b31d71 Drawable Renderer (#1570), CI warnings 2023-08-31 15:36:19 +02:00
Tim Sylvester
2c422a973b Update fill shaders, rework fill uniforms and attributes. (#1234) 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
Alex Cristici
52b9e099e5 Circle layer final (#1227) 2023-08-31 15:36:19 +02:00
Tim Sylvester
b060abeb92 Topic/fill pass (#1225) 2023-08-31 15:36:19 +02:00
mwilsnd
02e598861a Fix Texture2D upload unpack alignment, filtering (#1219) 2023-08-31 15:36:19 +02:00
mwilsnd
199145784f Fix drawable segment VAO leak (#1212)
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
00d6bdd2ae Refactor clipping mask rendering (#1209) 2023-08-31 15:36:19 +02:00
Stefan Karschti
7f33ddfef4 Raster layer (Tiles) #1168 (#1195)
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: Tim Sylvester <tim@wetdogweather.com>
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
2023-08-31 15:36:19 +02:00
Tim Sylvester
d7e00ff1c4 Drawable Renderer (#1570), warnings 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
mwilsnd
2f4be630c2 Drawable Renderer (#1570), Texture2D storage allocation fixes, async image transfer 2023-08-31 15:36:19 +02:00
mwilsnd
0f321fb11e Update existing UBOs instead of replacing (#1198) 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
pre-commit-ci[bot]
e771363d4b 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
ee7f57fcb4 Drawable Renderer (#1570), Improve handling of multiple drawables per tile 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
8986bce151 Drawable Renderer (#1570), warnings 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
a06145fe92 Drawable Renderer (#1570), warnings 2023-08-31 15:36:19 +02:00
Tim Sylvester
83882e1b73 Topic/vao per segment (#1188) 2023-08-31 15:36:19 +02:00
mwilsnd
c4416a4ed0 Fix LayerTweaker warning on CI (#1179) 2023-08-31 15:36:19 +02:00
Tim Sylvester
f2cc744710 Drawable Renderer (#1570), Add uniform buffer destructor 2023-08-31 15:36:19 +02:00
mwilsnd
fc1f65e8ef Drop author & timestamp from generated shader code (#1178) 2023-08-31 15:36:19 +02:00
mwilsnd
f63fa49152 Drawable LayerGroup sorting, depth buffer, split view (#1173)
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
1c8304a609 ASAN fixes (#1147)
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
b823f036fe Setting up UBO for fill drawables (#1175) 2023-08-31 15:36:19 +02:00
mwilsnd
a76cec8689 Circle UBO fix (#1176) 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
ec45ef654e Drawable Renderer (#1570), Update shader sources 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
pre-commit-ci[bot]
1fa3502048 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
857cba59ee Drawable Renderer (#1570), warnings 2023-08-31 15:36:19 +02:00
Tim Sylvester
49a23db0cb Drawable Renderer (#1570), warnings 2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
89d3a7bae9 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
fffbfcfbb5 Drawable Renderer (#1570), rework attributes for fill 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
76b36d7437 Drawable Renderer (#1570), warnings 2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
722900a0f3 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
f51c0820d3 Drawable Renderer (#1570), Move rendering into layer groups 2023-08-31 15:36:19 +02:00