So is this supposed to be like a WebVulkan?
No it's WebGPU like it shows in the code. Vulkan is a competing standard and technology.
Apple proposes new web 3D graphics API
11–20 of 650 posts
Re: Apple proposes new web 3D graphics API
#12Re: Apple proposes new web 3D graphics API
#13Hey Apple, how about developing your browsers to support modern web technologies first?
Re: Apple proposes new web 3D graphics API
#14Re: Apple proposes new web 3D graphics API
#15As someone whos knows almost nothing about 3d graphics and its APIs, how does Vulkan play into all of this? Why should this new API be used instead of adding Vulkan's API to the browser?
In general, Vulkan was not designed with the web in mind. For example: Vulkan's design intentionally has a whole lot of undefined behavior. Instead of strictly specifying what happens in all possible accidental cases, they strictly specify what is defined and provide debug layers that help you identify during development when you are unknowingly stepping into bizarro land.
Also, I expect Vulkan was designed with the expectation of process-level isolation being the end-all of security concerns. That's not sufficient for single-process, multi-tab browsers.
Re: Apple proposes new web 3D graphics API
#16Re: Apple proposes new web 3D graphics API
#171. What is the (proposed) backward compatibility across devices?
2.Given that it is structured for Metal shaders, what are the plans for other, non-apple devices? I see the hat tip to D3D and Vulkan, but I assume they need to get on board first - any early takers? After all common standard means cross-platform hardware support, something Apple has never really embraced.
Re: Apple proposes new web 3D graphics API
#18Re: Apple proposes new web 3D graphics API
#19As someone whos knows almost nothing about 3d graphics and its APIs, how does Vulkan play into all of this? Why should this new API be used instead of adding Vulkan's API to the browser?
It does allow you to create pipeline state objects ahead of time like Vulkan and D3D12 but they only include a subset of state (shader + antialiasing state + color/depth attachment state). The rest of the state is set when recording the command buffer.
Re: Apple proposes new web 3D graphics API
#20Anything that's not based on the Vulkan spec is just a land-grab by Apple to push their own technologies. As someone who spends a lot of time in that space I don't really see what this is solving, WebGL is good enough and anyone serious about performance/compute are going to drop down to native anyway.