Re:Apple proposes new web 3D graphics API
by andreyf on Tuesday February 07, 2017 @06:42PM
(#13594167)
Why so combative? How is a JavaScript API standard going to benefit from Vulkan support on Apple platforms? More specifically, how will a JS API benefit from being built exclusively for Vulkan, instead of multiple "APIs that have nuanced architectural differences", to borrow Dean's phrase?
[ Parent
| on HN ]
Re:Apple proposes new web 3D graphics API
by modeless on Tuesday February 07, 2017 @06:47PM
(#13594215)
To the extent that Vulkan has capabilities or features that don't map perfectly to Metal capabilities and features, native Apple Vulkan support would increase the performance and capabilities, and reduce the complexity and bugginess, of a hypothetical WebVulkan implementation on Apple platforms. And by reducing the compromises that have to be made for platform compatibility it would benefit the API design on all platforms.
Re:Apple proposes new web 3D graphics API
by shmerl on Tuesday February 07, 2017 @07:43PM
(#13594567)
You can simplify the design and reduce bloat if you don't need to address multiple APIs as backend.
Re:Apple proposes new web 3D graphics API
by corysama on Tuesday February 07, 2017 @09:19PM
(#13595127)
To play devil's advocate: Isn't a big focus of web tech the goal of supporting multiple backends for everything? If a new platform wants to support WebGPU but not Vulkan (ex: XBone or PS4) it should be not just theoretically possible, but actively supported by the design of the Web spec.
Re:Apple proposes new web 3D graphics API
by ioquatix on Wednesday February 08, 2017 @02:20AM
(#13596470)
Good point.
But, that's assuming that it's not possible to write a wrapper on top of DX (for Xbone) that proves a Vulkan API. It's already been shown to be possible to do something similar, with MoltenVK.
The ball would be in Microsoft's court for this one.
Re:Apple proposes new web 3D graphics API
by corysama on Wednesday February 08, 2017 @02:30AM
(#13596518)
"it should be not just theoretically possible, but actively supported by the design of the Web spec."
Re:Apple proposes new web 3D graphics API
by douche on Wednesday February 08, 2017 @05:31AM
(#13597247)
> But, that's assuming that it's not possible to write a wrapper on top of DX (for Xbone) that proves a Vulkan API.
Is this not how Vulkan on Windows works? Given how many OpenGL drivers were just shims over DirectX in the past, I wouldnt be surprised if the same course was charted there.