Files
wgpu/wgpu-core/src
bors[bot]andHeroesGrave 306554600a Merge #540
540: Add serialization to more types r=kvark a=HeroesGrave

With these changes, pretty much everything in wgpu-types can be serialized with the exception of BufferDescriptor, CommandEncoderDescriptor, and TextureDescriptor which contain a `*const c_char`.

Options for dealing with those:
- Leave these types as not de/serializable
- Skip when serializing, deserialize as nullptr
- Serialize as a string, deserialize as nullptr

AFAICT there's not really a way to allow a full roundtrip for these fields because nul-terminated strings don't play nicely with serde. Maybe it could serialize as a byte array?

Co-authored-by: HeroesGrave <heroesgrave@gmail.com>
2020-03-28 14:44:08 +00:00
..
2020-03-27 23:26:17 -02:30
2020-03-28 14:44:08 +00:00
2020-03-27 00:54:01 -04:00
2020-03-27 23:26:17 -02:30
2020-03-27 23:26:17 -02:30
2020-03-27 00:54:01 -04:00
2020-02-09 20:15:55 -05:00
2020-03-27 00:54:01 -04:00