News for hackers. Stuff that matters.
Re:Use.GPU by boppo1 on Friday September 09, 2022 @09:30AM (#32778978)
Is it a replacement? It looks more like a framework that lives on top of webgl.
Re:Use.GPU by danielvaughn on Friday September 09, 2022 @10:24AM (#32779638)
You shouldn't be downvoted, your question is reasonable even if it demonstrates a misunderstanding. So it's not a wrapper over WebGL, it's a more modern, lower-level GPU programming model. There are equivalent efforts in native environments to replace OpenGL - notably Vulkan and (Apple's) Metal.

As far as I understand, the approach allows far more flexibility, at the expense of higher complexity. It's less "stateful" than WebGL, which basically gives you a big class that manages everything OOP-style.

Re:Use.GPU by msk-lywenn on Friday September 09, 2022 @09:36AM (#32779039)
It's the other way around. WebGPU is to Vulkan what WebGL is to OpenGL. It's less low level than vulkan though.
Re:Use.GPU by incrudible on Friday September 09, 2022 @09:35AM (#32779029)
WebGPU is to WebGL as Vulkan is to OpenGL, a lower level, low overhead graphics API.