127 points · by ingve · 13y ago · 91 comments
For a very long time, for example, OGL 2.1 was the only thing supported by Apple, despite numerous extensions to bring it up to feature-parity with modern OGL. Vendor extensions made programming code a mess, and many of the core concepts as embodied in the API are minefields for developers.
Don't hate on DX just because it's from Microsoft--an open re-implementation would actually help everyone.
There was a post here a few weeks ago (some dude dug up some old content of a 3D mesh of a cow in a Java viewer). And the old OpenGL and Java code "just worked".
"... and in their death throes, they gave onto us, technologies to last more than 2 years at a time. Sights and wonders never before seen only told, far outreaching the merciless grasp of the Holder of Shares."
RIP - SGI Vpro.
It's not my area of expertise but it does ring true to me - whenever I see people complain about OpenGL they always seem to be confusing API surface with implementation details. I.e. the "legacy" parts can be shimmed to the "modern" parts without harming anyone very much.
There are plenty of reasons developers go to DirectX, support and tooling being two of them.
On the game consoles, outside Microsoft, regardless what is spread around, game consoles don't support OpenGL, just variations thereof or similar APIs.
For example the PS3 has OpenGL ES 1.0 combined with Cg, not GLSL. In the end most developers use Libcgm anyway.
As for the other consoles they are also other type of APIs.
In the end, the best approach is to have an API agnostic middlelayer and be independent of the underlying API.
Let's see if there is any noticeable improvement on lesser or older GPUs.
1. Only in developer preview and subject to change (for better and for worse).
2. Under NDA.
This does not show that Apple as a company does not really care if you are publishing a very short comparison of one tiny tiny aspect of something that is still under NDA but I doubt they do.
NDAs are overrated in general.
(In fact, I read a theory somewhere that the NDA is really just about corporate competitive advantage for some legal reason. I forget what it was; it might have been something with the date a technology becomes public re: patent law.)
That said, more than almost anything else, I'd be wary about posting benchmarks. Performance is subject to change wildly between the developer betas and the final product. It could get better with optimizations and taking out debug code; it could get worse if some optimizations are found to be unstable.
If it was just, "Hey, this is awesome! They've implemented through OpenGL 4.1 and their implemenation is significantly faster across all OGL versions!" I'd be less worried. I can imagine a graphics programmer getting twitchy about early numbers.
(Just saying this to support what you said)
I’m not sure whether that would actually hold up legally – but that’s the theory.
(Also, Apple doesn’t seem to be very interested in actually stopping sites like Macrumors – which are filled to the brim with every tiny detail about the iOS and OS X DP – from actually publishing that. So I guess they are even less interested in going after people who do not even show videos or screenshots.)
That’s correct. When you buy a Mac, you don’t need to download extra drivers. Only if you buy a Mac Pro and later install a different (or additional) PCI graphics card, you may need to download drivers.
Nominally these are to support higher end cards for things like CUDA and OpenCL. Interestingly, though, the official drivers contained in updates from Apple have evolved support for pretty much every nVidia card since 2010, and recently starting gaining support for the AMD 7xxx series. For example I run a hackintosh with a fully enabled GTX 470. In Snow Leopard days I had use the nVidia supplied drivers for their workstation cards, these days it Just Works.
Yes, I'm sticking to Mac OS X
For example, OSX has really bad (read: no) support for hardware slightly deviating outside of its niche. It also uses an arguably-broken UI metaphor, and has no truly good package management story.
While it is well known that Linux supports the most hardware devices out there (in absolute terms) and Windows is most likely to support currently common hardware, neither allows one to rely on a recent version of OpenGL being available.
On Windows one must install drivers to get OpenGL support because GPU manufacturers focus on the very platform-specific Direct3D at the expense of everything else, on Linux support is spotty and only through binary blobs because the same GPU manufacturers don't provide full open source drivers for the hardware their customers paid for.
I was lamenting the state of standards compliance in general and OpenGL in particular; in this particular case OS X does pretty well.
The intent of the Mac Pro, when you look at it, is to be a small, lightweight, ridiculously powerful OpenCL workstation. It has a single Xeon to handle systems tasks, two FirePros (one of which does graphics and computation, the other does only computation), and PCIe SSDs to keep the OpenCL cores fed and store their data.
It seems OpenGL, didn't move or improve much at all in recent years and OpenCL has had much news.
The more people that request it the more resources they throw at things. So if they keep this yearly update schedule maybe mountain mavericks or whatever the hell they name the next release might have it.
I submitted a bug report to help things along. I don't find posting non useful replies on Hacker News to be very productive at getting change to occur. Apple is far from perfect, but they do pay attention to how many people complain about the same thing in their bug tracker.
Would it be ideal if Apple did everything HN commentators wanted? Well no, most of the requests here can be a bit ludicrous. But if you're a developer on Apple and you do not file a bug report specifying the need for up to date OpenGL, complaining here isn't productive. I will leave the hyperbole about "far from perfect" aside as all human endeavors are far from perfect and hate the platform wars that proliferate here.
Maybe OpenGL is better with apple, but C++ is not. Shoving Nextstep under programmer's throats is really a weird strategy.
No, it is like any vendor that makes developers stick with their own technology. This has been happening in commercial software since the dawn of computing.
And honestly, right clicking with mac, what a nightmare, always bringing the throbber. When I think about it, apple delivers the software that works with the hardware, but the soft is just cool, it's not really nice to work with. Most features comes from unix anyway. While microsoft was hardware agnostic and allowed the computer industry to grow, Apple just comes in with apparatus and just want people to forget the pain of what allowed the computer industry to grow by delivering both soft and hardware.
You can't make programmers learn a language which works in so many different ways, and expect to create a monopoly on such apps. Or maybe it will take time for crowds to forgets C++ and use cocoa.
C++ is great at a lot of things, but interface glue is not one of them.
All C++ compilers have vendor extensions.
congressmen ! Seriously ?
> [your preferred development stack] sucks
I don't prefer anything, but making things work between systems is a pain, and I thought portable languages were the thing that allowed those systems to run the same programs.
I just think that trashing portions of technologies that worked on other systems, is debatable.
> Clearly, [vendor of your preferred development stack] should go spend many years rewriting everything so that my mind can continue living comfortably in the box it's in, safe from the pain of having to learn something different.
Yeah, maybe. At the time I adopted Ogre3D, I thought its code would run on any OS. I would really like to know the good reasons that push companies to break backward compatibility. Carbon comes to mind. Most other OSes think backward compatibility is important. But now, we move faster than light, screw the weak ones who won't learn all the new stuff !