wgpu windows (fixed) (#3257)

* Working triangle rendering with wgpu in examples. Resize needs work in order to not reinitialize everything but only the bits needed. Naming of variables and resources are wonky and not the greatest.

* The child window wasn't being resized along with the parent. This works. the abstractions in place should be passed the bounds rect down into the desktopservice to resize as opposed to in the app impl instead of how they are rn.

---------

Co-authored-by: Vineeth Yeevani <vineethyeevani@Vineeths-MacBook-Air.local>
Co-authored-by: Vineeth Yeevani <vineeth.yeevani@gmail.com>
This commit is contained in:
authored and GitHub committed 2024-11-26 18:44:53 +01:00
1 parent e1457744f0
commit 1e8693a0e8
8 files changed
+983 -289

No files matched your search

+2 -2
View File
@@ -101,12 +101,12 @@ objc = "0.2.7"
lazy-js-bundle = { workspace = true }
[features]
default = ["tokio_runtime", "exception", "devtools"]
default = ["tokio_runtime", "exception", "transparent", "devtools"]
tokio_runtime = ["dep:tokio"]
fullscreen = ["wry/fullscreen"]
transparent = ["wry/transparent"]
devtools = ["wry/devtools", "dep:dioxus-devtools", "dioxus-signals"]
exception = ["wry/objc-exception"]
transparent = ["wry/transparent"]
gnu = []
[package.metadata.docs.rs]