Add a bevy-texture example based on wgpu-texture (#4360)

* Add a bevy-texture example based on wgpu-texture

* Use git branch of Blitz

* Update existing code to new blitz

* Use Device from Dioxus for bevy

* Use ManualTextureView

Signed-off-by: Nico Burns <nico@nicoburns.com>

* Fix texture size on window resize

* Clean code

* Rename example to 'bevy-example' in 'bevy' directory

* Upgrade to blitz 0.1.0-alpha.5 and anyrender 0.4

* Install alsa in CI

Signed-off-by: Nico Burns <nico@nicoburns.com>

* Add libudev to CI

Signed-off-by: Nico Burns <nico@nicoburns.com>

---------

Signed-off-by: Nico Burns <nico@nicoburns.com>
Co-authored-by: Jerome Caucat <jerome.caucat@smartshape.com>
Co-authored-by: Nico Burns <nico@nicoburns.com>
This commit is contained in:
authored and GitHub committed 2025-07-04 22:01:00 +01:00
1 parent a66bffb487
commit 5495bcedb4
14 files changed
+2426 -79

No files matched your search

+7 -7
View File
@@ -21,13 +21,13 @@ autofocus = []
[dependencies]
# Blitz dependencies
anyrender = { version = "0.3", default-features = false }
anyrender_vello = { version = "0.3", default-features = false }
blitz-dom = { version = "=0.1.0-alpha.4", default-features = false }
blitz-net = { version = "=0.1.0-alpha.4", optional = true }
blitz-paint = { version = "=0.1.0-alpha.4", optional = true }
blitz-traits = { version = "=0.1.0-alpha.4" }
blitz-shell = { version = "=0.1.0-alpha.4", default-features = false }
anyrender = { version = "0.4", default-features = false }
anyrender_vello = { version = "0.4", default-features = false }
blitz-dom = { version = "=0.1.0-alpha.5", default-features = false }
blitz-net = { version = "=0.1.0-alpha.5", optional = true }
blitz-paint = { version = "=0.1.0-alpha.5", optional = true }
blitz-traits = { version = "=0.1.0-alpha.5" }
blitz-shell = { version = "=0.1.0-alpha.5", default-features = false }
# DioxusLabs dependencies
dioxus-core = { workspace = true }