Commit Graph

33 Commits

Author SHA1 Message Date
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
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
40e283cdbb Custom drawable layer v2 (#1754) 2023-10-26 18:36:50 +00:00
Stefan Karschti
89b9c3945c Custom Drawable Layer v1 + DrawableBuilder thick lines (#1699) 2023-10-13 16:24:36 +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
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
7f862cd8ff Share bucket indices (#1358)
Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com>
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
2c18d579cb Isolated drawable/builder refactoring portion of the symbol work (#1252) 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
83882e1b73 Topic/vao per segment (#1188) 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
c505d3077e apply color attributes, refactor (#1148) 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]
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
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
17d997d395 Drawable Renderer (#1570), revert 2023-08-31 15:36:19 +02:00
Tim Sylvester
aafd1ecf04 Drawable Renderer (#1570), remove const 2023-08-31 15:36:19 +02:00
pre-commit-ci[bot]
730c9c0712 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
a391847682 Drawable Renderer (#1570), convert issue 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
8c749d155a Drawable Renderer (#1570), warnings 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
8a42b2fa5f Drawable Renderer (#1570), warnings 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
107a4ef467 Drawable Renderer (#1570), Fix duplicate drawable and vertex state bug 2023-08-31 15:36:19 +02:00
Tim Sylvester
e7d32a613a Topic/drawable (#1052) 2023-08-31 15:36:19 +02:00
Tim Sylvester
92ce58db86 Rework attributes (#1048) 2023-08-31 15:36:19 +02:00
Tim Sylvester
aceb0394ba Topic/drawable 2 (#1032)
More vertex attribute work
Move drawables above existing layer rendering. 
Use context for the actual draw call.
Fake the vertexes in the shader to get something actually showing up.
Simplify shader state management
2023-08-31 15:36:19 +02:00
Tim Sylvester
14b53e54ec First cut at Drawable fundamentals (#983)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
2023-08-31 15:36:19 +02:00