301: Raw window handle support instead of winit r=grovesNL a=kvark
This removes `winit` and paves the way for https://github.com/gfx-rs/wgpu-rs/issues/64
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
299: Rename buffer to encoder in wgpu_command_buffer_copy_* functions r=kvark a=yanchith
This also regenerates `wgpu.h` and updates uses of `wgpu_command_buffer_copy_buffer_to_buffer` in `compute/main.c`.
EDIT: all good...
~Note that I couldn't regenerate `wgpu-remote.h` because of the following cbindgen error:~
```
ERROR: Cannot find a mangling for generic path GenericPath { path: Path { name: "Adapter" }, export_name: "Adapter", generics: [Path(GenericPath { path: Path { name: "Backend" }, export_name: "Backend", generics: [], ctype: None })], ctype: None }. This usually means that a type referenced by this generic was incompatible or not found.
```
Should we investigate before merging? Maybe I am just using an unlucky nightly?
Closes: #250
Co-authored-by: yanchith <yanchi.toth@gmail.com>
297: Update rendy-memory and rendy-descriptor to 0.4 from crates.io r=kvark a=yanchith
I also locally tested for regressions in `wgpu-rs` on the metal backend (only have macOS today) and the examples seemed ok.
Co-authored-by: yanchith <yanchi.toth@gmail.com>
291: Fix sample_mask field r=kvark a=rukai
Looks like it was just missed in https://github.com/gfx-rs/wgpu/pull/285
Co-authored-by: Rukai <rubickent@gmail.com>
285: Update API according to the upstream spec r=grovesNL a=kvark
Includes changes in texture view creation, enumeration mapping,
binding types, and more.
This would be a nice target for our 0.3 release.
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
284: Add start_slot parameter r=kvark a=danaugrs
A first attempt to fix https://github.com/gfx-rs/wgpu/issues/215.
Co-authored-by: Daniel Salvadori <danaugrs@gmail.com>
280: Remove pod add read_spirv r=kvark a=rukai
Looks like Pod is no longer used by wgpu-rs so I removed it.
read_spirv is needed in wgpu-rs now so I added it.
Co-authored-by: Rukai <rubickent@gmail.com>
267: Use extend_from_slice instead of copy_from_slice r=kvark a=kocsis1david
`copy_from_slice` gives an error because it expects the lengths to be the same.
Co-authored-by: David <kocsis1david@windowslive.com>
264: update README.md r=kvark a=Napokue
Changes:
- Add supported platforms table
- Remove example docs here, and referencing the user to the wiki
Co-authored-by: Timo de Kort <dekort.timo@gmail.com>
261: streamline Makefile r=kvark a=Napokue
Changes:
- Streamlining the Make commands to make it look better
- Introduced two new variables: `WILDCARD_WGPU_NATIVE` & `WILDCARD_WGPU_NATIVE_AND_REMOTE` to reduce duplicate code. Will continue to reduce duplicate after my compute example is merged, to avoid unnecessary merge conflicts
Maybe I am not too familiar with the concept FFI, but wouldn't it be easier to understand that we just generate headers and not foreign function interfaces. Basically the same, but the latter one sounds a lot more complex. We want to reach as much as possible people, so maybe renaming this would be beneficial?
So I was thinking to have the commands: `header-wgpu` and `header-wgpu-remote`, instead of `ffi-wgpu` and `ffi-wgpu-remote`.
Co-authored-by: Timo de Kort <dekort.timo@gmail.com>