Commit Graph

7 Commits

Author SHA1 Message Date
Sebastian Emanuel Dawid
1471e07ceb Partially Revert "Remove function to pass address of wgpuInstanceCreateSurface."
This reverts commit 8c2f255906.
2025-09-29 15:30:00 +02:00
Sebastian Emanuel Dawid
044774dcee Provide weak default implementation for wgpuInstanceCreateSurface 2025-09-29 14:40:31 +02:00
Sebastian Emanuel Dawid
8c2f255906 Remove function to pass address of wgpuInstanceCreateSurface.
I use an extern function with the `weak` attribute and an assert
to ensure that the function is available at runtime instead.

I also started to add an example using WebGPU.
2025-09-29 11:35:26 +02:00
Sebastian Emanuel Dawid
54fcbc8220 Adjust formatting of new code to fit in with the rest of the code 2025-08-27 00:46:35 +02:00
Sebastian Emanuel Dawid
37812b7e36 Revert "Try loading surface creation function via dlsym instead"
This reverts commit cb0c28908f.
2025-08-15 23:39:30 +02:00
Sebastian Emanuel Dawid
cb0c28908f Try loading surface creation function via dlsym instead 2025-08-15 23:38:04 +02:00
Sebastian Emanuel Dawid
2f44430536 Added native support for creating WebGPU surfaces
Note that this commit only adds support when running on Wayland.
2025-08-15 23:08:51 +02:00