News for hackers. Stuff that matters.
Re:Vulkan and OpenCL will merge into a single API by infinisil on Saturday May 20, 2017 @03:18PM (#14383858)
I really hope they'll catch that train, it may be their last chance to get onto tomorrows graphics stack
Re:Vulkan and OpenCL will merge into a single API by MBCook on Saturday May 20, 2017 @04:10PM (#14384118)
I think Apple has made it abundantly clear they don't care. They've never released terribly good or performant open GL drivers on OS X. My understanding is they've always been quite behind on features.

Apple has an API they make that will be nice and fast and do everything they want and they can update anytime they want. And because it's the same one it's going to be used on iOS and other places it will have support and people use it. There will be tooling for it.

They tried open CL and lost, along with their approach on the Mac Pro, I don't really see them going forward with it. It seems pretty clear that CUDA is what people really want right now, that's another proprietary API.

I'm not sure what the big drive for having Vulcan on Apple platforms is other than to be on the "standard". That gives Apple some benefits but they don't seem to think it's worth it. I'm not entirely sure they're wrong, especially given that Apple can make an API that fits very well with their custom chip that they put in hundreds of millions of devices. The fact that Apple operates the whole stack lets them do some of the stuff they do faster than anyone else, using Vulcan wouldn't give them that.

Re:Vulkan and OpenCL will merge into a single API by pcwalton on Saturday May 20, 2017 @04:15PM (#14384133)
> The fact that Apple operates the whole stack lets them do some of the stuff they do faster than anyone else, using Vulcan wouldn't give them that.

There isn't anything I'm aware of that Metal can do faster than Vulkan can.

The situation is simply that Apple doesn't care, since they're invested in Metal and see no reason to switch. Developers are forced to use Metal because it's the only thing Apple supports, and Apple sees no reason to make it easier to port applications to competing platforms. This decision may or may not be a conscious effort to create lock-in, but whether malicious or not, it hurts developers like me who have to develop modern cross-platform graphics applications.

Re:Vulkan and OpenCL will merge into a single API by MBCook on Saturday May 20, 2017 @05:28PM (#14384442)
What I was referring to there is that since Apple makes the chips (for iOS only, for now) and Apple makes the API and Apple makes the drivers (even on the Mac side) then Apple can implement new features they come up with faster than others. For example if Apple makes a new bit of the A23 chip that is designed to do some Neville feature that's not currently in Vulkan or Metal ( to make up something stupid, something that accelerates replacing colors of an image with their square roots) Apple can put it in the shading language and the driver extremely fast. They can have it ready for announcement.

On the other hand with Vulkan Nvidia or someone else would have to do some other process (I'm assuming it has some sort of extension support the way OpenGL did) and it would only get standardized later, if at all.

Or maybe it's not a new feature that gets exposed to developers. Maybe it's something along the lines of because Apple knows how the chips work and the shading pipeline and all that other stuff they are able to get extra information out of it to help reduce power draw where if they were using someone else's API it wouldn't be nearly as easy to glean information necessary.

> This decision may or may not be a conscious effort to create lock-in, but whether malicious or not, it hurts developers like me who have to develop modern cross-platform graphics applications.

My read on thing is that Apple doesn't really try to CREATE lock-in anymore, they just do what's best for Apple and that is often a side effect.

It seems like a lot of cross platform stuff has gone to using intermediate frameworks (at least in gaming) so I guess they're just sort of counting on that to bridge the gap. Outside of that (professional things) I'm guessing they think they either have enough market that they can get people to follow (possibly with some help from Apple) or they just don't think it's important enough to bother with.

The way Apple has been letting professionals just sort of sit there hoping for updates for a couple of years has been well documented, that may be the case here too. But like I said earlier, it's not like they ever had very good OpenGL support either. Are they treating a bad implementation of an old API for a good implementation of their own? Assuming they don't want to make a good implementation of the standard API (because obviously they don't) is that a good trade off? I don't know enough to make any reasonable guess.

Re:Vulkan and OpenCL will merge into a single API by theparanoid on Saturday May 20, 2017 @07:23PM (#14384910)
Apparently what's best for Apple is having crappy graphics drivers. Cause that's what they have right now.
Re:Vulkan and OpenCL will merge into a single API by X86BSD on Saturday May 20, 2017 @10:59PM (#14385480)
Correction, that is what they have had for 20 years. Steve ignored and refused to push graphics technology and cook is doing the exact same thing. I can't count the years growing up I wanted Apple to have the latest games. This was back in the IIc days. Steve hated games. Apple never took a lead roll here. They never supported game tech. The graphic stack especially. You don't think games when you think Mac. You never have. And games are where graphic technology is pushed the hardest. I don't see this changing with Apple ever. It wasn't even a consideration with Steve and it's not with Tim either. It is what it is. Shrug.
Re:Vulkan and OpenCL will merge into a single API by ioquatix on Sunday May 21, 2017 @01:49AM (#14385882)
You can write platform/hardware specific extensions to Vulkan, it's very easy and anyone can do it.
Re:Vulkan and OpenCL will merge into a single API by pjmlp on Sunday May 21, 2017 @07:50AM (#14386860)
Oh the fun of writing and debugging multiple execution paths in OpenGL is back!
Re:Vulkan and OpenCL will merge into a single API by pcwalton on Sunday May 21, 2017 @02:10PM (#14388356)
> But like I said earlier, it's not like they ever had very good OpenGL support either.

Around 2005 or so, Apple had one of the best implementations of OpenGL in the entire industry. Sadly, in a decade, they went from the best implementation in the industry to the worst.