3 ms·
This is awesome! I was hoping someone would take WebGPU/Dawn and package it up in a form that is usable outside Chromium. Building it yourself is nontrivial. P
by modeless 5y ago
This is awesome! I was hoping someone would take WebGPU/Dawn and package it up in a form that is usable outside Chromium. Building it yourself is nontrivial.
Portable graphics has always been a big issue. Back in the day OpenGL was kinda sorta portable, but in practice that never worked out very well. Drivers were buggy, platforms came with different versions and different extensions, Windows didn't come with GL drivers by default, mobile had OpenGL ES which was different. And now Apple has deprecated OpenGL so the dream of portable graphics at the OS level is truly dead.
WebGL is the most portable graphics API that exists today, and it's actually possible to use it from native code if you want (using the ANGLE library) but I don't think anyone does, and that's understandable. WebGPU should be different. I think there are a lot of good reasons that native apps should consider using WebGPU.
- skocznymroczny 5y agowgpu-native is easy to use. It's written in Rust, but it exposes a C API, so it's simple to use it from other languages. And building it yourself is also simple because it's a single cargo build away.