Commit 4ae1ff5
committed
Add wasm/web support to agdk/na-winit-wgpu
Firstly this updates agdk-winit-wgpu (consistent with na-winit-wgpu):
- to Gradle 9 / AGP 9.1
- icons
- wgpu 0.16 -> 29
- winit 0.28 -> 0.30
This makes na-winit-wgpu and agdk-winit-wgpu into cross-platform
examples that can run on Android, Window, Linux, macOS and Web.
Although the primary goal of the examples in this repository is to show
how to write native Rust applications for Android, it's hopefully also
helpful to see how you can write Winit + wgpu based applications that
are portable to desktop OSs and Web, in addition to Android.
It's _possible_ that these also run on iOS but I haven't had a chance to
test that.1 parent 4d05cab commit 4ae1ff5
46 files changed
Lines changed: 3968 additions & 2033 deletions
File tree
- agdk-winit-wgpu
- .vscode
- app
- src/main
- java/com/github/rust_mobile/agdkwinitwgpu
- res
- drawable-v24
- drawable
- layout
- mipmap-anydpi-v26
- mipmap-hdpi
- mipmap-mdpi
- mipmap-xhdpi
- mipmap-xxhdpi
- mipmap-xxxhdpi
- values-night
- values
- gradle/wrapper
- src
- na-winit-wgpu
- .vscode
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
0 commit comments