Commit Graph

57 Commits

Author SHA1 Message Date
Bart Louwers
88fd774e67 Remove legacy renderer from source, build files and CI (#3384) 2025-04-15 19:48:31 +02:00
Adrian Cojocaru
7339fb91fd Custom drawable layer v3 (#3210) 2025-02-28 21:49:20 +00:00
Alex Cristici
f582327191 UBO consolidation (#3089)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-08 17:41:29 +02:00
alasram
b850c257a3 Correct and revise OpenGL texture pooling (#2709) 2024-08-29 23:13:26 +02:00
Alex Cristici
6a7bf2f7fb Add semicolon after Tracy preprocessor macros (#2753)
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
2024-08-27 13:02:13 +02:00
Tim Sylvester
04d8a1105f Avoid style warnings on trace points (#2656) 2024-07-26 07:04:23 -07:00
Tim Sylvester
b6884e0d65 Don't unbind texture units in release builds (#2630) 2024-07-18 16:41:19 +02:00
mwilsnd
c4c75452b6 Add TaggedScheduler, couple lifetime of tasks and orchestrator (#2398) 2024-06-28 23:20:03 +02:00
alasram
4f0f3bac51 Add Tracy instrumentation for CPU and GPU in OpenGL mode. (#2417) 2024-06-17 19:20:14 +02: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
mwilsnd
4fff8a5d33 Asynchronous GeometryTile deletion (#2051)
Co-authored-by: Tim Sylvester <tim@wetdogweather.com>
2024-02-28 22:18:08 +00: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
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
Tim Sylvester
fa9712cd8f Shared attributes (#1898) 2023-11-29 02:57:51 +00:00
Tim Sylvester
ffcf132f20 Replace rather than update Metal buffers (#1842) 2023-11-20 21:58:19 +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
Tim Sylvester
1a1c826fa4 Metal stats (#1781) 2023-10-20 15:45:08 -07:00
Tim Sylvester
6a8be9a221 Further stencil optimizations (#1750)
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-10-11 23:25:02 +00: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
Alex Cristici
0e95f66094 Metal render target (#1484)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Tim Sylvester <tim@wetdogweather.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: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: mwilsnd <53413200+mwilsnd@users.noreply.github.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>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 16:49:31 +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
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
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
mwilsnd
1963697687 Selectable renderer implementation (#1247)
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
Alex Cristici
52b9e099e5 Circle layer final (#1227) 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
4cac8a8dfb Topic/atlas tex 2d (#1194)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
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
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
pre-commit-ci[bot]
c873570987 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
b5abc33c4b Drawable Renderer (#1570), Add renderable size uniform for fill layer 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
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
pre-commit-ci[bot]
9a4e0f14d0 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
375083b6cf Drawable Renderer (#1570), work on fill 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
c7299eaf20 Drawable Renderer (#1570), Move generic shader lookup to context virtual 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
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
3122f81328 Drawable Renderer (#1570), Rebase on main.
Fix drawable ordering issue that was leading to rendering without setting up the VAO
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
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
e2bc75289c Topic/drawable 2 (#1029) 2023-08-31 15:36:19 +02:00
Bart Louwers
71f6da2722 Add clang-format (#1086)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
2023-05-01 16:57:37 +02:00
mwilsnd
2e4e963d89 ES 3: Use sized internal formats for half float textures (#1015)
Co-authored-by: Alex Cristici <alex.cristici@gmail.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-04-15 14:14:42 +03:00
Alex Cristici
8ff6704fc4 API links for OpenGL ES 3.0 (#1007)
Co-authored-by: mwilsnd <mwilsnd@gmail.com>
2023-04-14 22:48:53 +02:00