3 ms·
> As far as I'm aware, devs aren't too keen on it. Because of current market lock-in on DirectX. OpenGL isn't ideal, but it's not much behind. MS however doesn
by shmerl 12y ago
> As far as I'm aware, devs aren't too keen on it.
Because of current market lock-in on DirectX. OpenGL isn't ideal, but it's not much behind. MS however doesn't want it to become better and is scared of more competition from cross platform APIs. Not sure why though. These days lock-in with API is a very dumb method to compete.
I think Valve has a good potential to push things forward.
- pjmlp 12y agoThe same applies to other game consoles. Regardless of FOSS myths, no console has proper OpenGL[0] support. [0] Yes, not even the PS3.
- shmerl 12y agoSure, others aren't any better. So Valve has a good chance to give them all a kick. Will they succeed? I hope they will. Strong competition can force current consoles makers to support OpenGL, same as happened with WebGL and IE.
- pjmlp 12y agoHave you ever attended a GDC or used console devkits? Valve will have to do lots of work just to try to pull off the same quality of developer support console vendors offer.
- shmerl 12y ago>Valve will have to do lots of work just to try to pull off the same quality of developer support console vendors offer. Let them. Improving developers' tools around OpenGL was one of their key plans in this effort. So far they look serious about it.
- cwyers 12y agoOr because OpenGL is a relatively high-level API, and most console game developers don't want or need a high-level API that abstracts the underlying hardware, because every PS4 in the wild has the exact same hardware, so you can write two versions of the code and support every PS4 and Xbox One in existence with better performance than if you used OpenGL to write one version of the same code for both.
- shmerl 12y agoThings are moving forward. Modern day consoles aren't much different form a high end PC, yet on PC somehow using OpenGL is a norm and using low level APIs isn't required. Consoles shouldn't be any different these days really.
- cwyers 12y agoIt's not that using a low-level API isn't "required," it's that it's a lot more work -- a very prohibitive amount of work. Because on PC, you can have Nvidia cards, ATI cards, Intel on-board graphics... and of course it's not like an Nvidia Fermi-based card is the same as a Kepler-based card. What OpenGL or DirectX does is let you write to an abstraction of what the underlying graphics card does, and then every graphics card provides a driver that translates the OpenGL/DirectX calls into code that runs on that particular GPU. If you wanted to write a PC game that bypassed the API and ran like a console game, you'd have to write as many different code execution paths as there are graphics drivers available for PC. It's a logistic nightmare. And that doesn't even get into how you handle cards that haven't been released yet. But on the console, the target is constant, and every Xbox One or every Playstation 4 is identical to every other of the same console on the market. The overhead of the OpenGL/DirectX driver reduces performance, and unlike in the PC market it's no longer solving a problem -- you can very easily support two to three consoles without resorting to abstraction layers, and new consoles only come out sometime between five and ten years, so you don't have to do a lot of churn to keep up with hardware revisions. Valve isn't shipping consoles, they're shipping living room PCs -- with all the diversity of hardware that implies. Some Steam Boxes will use Nvidia, others Intel or ATI. Games designed to run on Steam Boxes need to support all of those. They need OpenGL. But current consoles don't, and no amount of OpenGL stumping by Valve will change that, because OpenGL solves a problem the consoles have never had.
- shmerl 12y ago> But on the console, the target is constant, and every Xbox One or every Playstation 4 is identical to every other of the same console on the market. That's exactly what should change. Such situation can exist only because of lack of competition. With increased competition the overhead of writing bare metal code to support many targets will become prohibitive on consoles as well, and console makers will be forced to support portable higher level APIs. Squeezing performance by being closer to bare hardware was more reasonable in the past, when it was too weak and extra abstraction introduced too much performance penalty. Modern day hardware should be already better in this regard. And modern OpenGL isn't introducing much overhead if used properly. > OpenGL solves a problem the consoles have never had. They always had that problem, except there were too few of them and the problem didn't become criticial. Increased competition will blow that problem into different proportions. Supporting 2 console APIs is possible. Supporting 10 is insane and developers should demand a portable layer in such situation.