|
|
That said, the Rist implementation of WebGPU is still slower than OpenGL and consumes much more memory. So it’s still early to see an advantage over OpenGL. Its advantage is that it’s getting support from browsers which will only support webgl and webgpu. Also with Apple deprecating OpenGL, it’s unclear how long it’s gonna last. Sent from my iPhone On 4 Jun 2023, at 18:22, Mohammed <may642.2000@gmail.com> wrote:
Hi I was able to get FLTK to run with WebGPU using the wgpu crate (Rust). It’s an implementation of the WebGPU api in Rust. It actually doesn’t require anything but passing the window’s raw handle to wgpu, then using wgpu calls to eventually draw.
This also uses wgpu:
I haven’t tried doing it in C++, mainly because the most mature WebGPU implementation (Dawn by Google) requires depot_tools (another build system by google) and I can’t really be bothered to try to set it up and learn to use it.
Mohammed Sent from my iPhone On 4 Jun 2023, at 07:57, Lauri Kasanen <cand@gmx.com> wrote:
On Sat, 3 Jun 2023 20:28:45 -0300Gonzalo Garramuño <ggarra13@gmail.com> wrote:Kitware (of CMake fame among others) is starting experimenting with
WebGPU as a replacement to OpenGL in their VTK library.
https://www.kitware.com/vtk-webgpu-on-the-desktop/
Is this on anyone's radar? If this ends up working, it could be the
answer to the mess Apple, Microsoft and the Khronos group made with all
their competing APIs and it could bring the web and the desktop together
at last.
I don't really see the point. "We have to use translation libraries forWebGPU" is little improvement over "we have to use translationlibraries for opengl". At least opengl is standard and has wide support.- Lauri-- You received this message because you are subscribed to the Google Groups "fltk.coredev" group.To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/20230604080008.fcdce7195f34b78cb3c1d526%40gmx.com.
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/C23A906A-DB9C-4741-A515-0715D88CA6C1%40gmail.com.
|
[ Direct Link to Message ] | |
|
| |