Add native2d feature: wgpu 2D viewport window inside Tauri process

Spawns a GTK-free winit window with its own wgpu surface from Tauri's
setup hook on a background thread, sidestepping the WebKitGTK surface
contention on Wayland. Reuses render2d's renderer via a shared demo
module. Opt-in behind the native2d cargo feature; default build
unaffected.
This commit is contained in:
2026-07-02 01:26:07 +02:00
parent e7ea1eeddd
commit f4cd16b7ac
9 changed files with 2254 additions and 162 deletions
+1787 -93
View File
File diff suppressed because it is too large Load Diff