At last year’s WWDC, Apple introduced their Metal API for iOS 8. A low-level graphics API, Metal was originally designed to bring the benefits of low-level graphics programming to Apple’s mobile operating system. And while we typically don’t think of mobile devices as being GPU-bound, in reality Apple has been packing some relatively powerful GPUs like GXA6850 with what are relatively speaking still fairly weak CPUs, which means Apple has ended up in a situation where they can be CPU-bottlenecked on draw calls.

Metal, despite being the 3rd such low-level API to be introduced, was the first to reach production status. Microsoft’s DirectX 12 is arguably not there yet (Windows 10 is still in testing), and Khronos’s Vulkan was still in its primordial Mantle form at this point in 2014. What this means is that out of all of the vendors, it’s arguably Apple who has the lead time advantage in low-level API development. Which is why for the last year we have been wondering if Metal would stay on iOS, or make the jump to OS X.

Yesterday we got our answer, with the announcement from Apple that Metal would be coming to OS X “10.11” El Capitan, and that it would be part of a larger investment into Metal for the company. Along with bringing Metal to OS X, Apple is going to be releasing new API kits that interface with Metal to simplify development, and internally Apple is now using Metal (when available) for parts of the desktop composition rendering chain. At this point it’s fair to say that Apple has gone all-in on Metal.

Consequently the fact that Metal is now over on OS X is not unexpected, but whether it has been planned for or not, it means that we now have 3 low-level APIs on the desktop as well as mobile. OS X’s Metal will be going head-to-head with Microsoft’s DirectX 12 and Khronos’s Vulkan, and this is the first time in a very long that we have seen a viable and competitive 3rd graphics API on the desktop, as DirectX and OpenGL have been the reigning APIs since the turn of the millennium.


Metal's Introduction At WWDC 2014 (Image Courtesy Apple Insider)

As for what this means for Mac users, in the short run it’s a good thing. With Vulkan still in development, had Apple not implemented Metal on OS X, OS X would have needed to stick with classic OpenGL for another year until OS X 10.12. Going with their own API, as was the case with mobile, gets a low-level API on OS X sooner. Furthermore because it’s been on iOS for the last year, Apple gets to leverage all of the developer experience and code already written for Metal, and bring that over to OS X. Which is why developers like Epic are able to show off engines using Metal on OS X so early.

In the long run however there are some big unknowns left to answer, which could have a big impact on how things play out. Apple has not yet released the complete documentation for the newest version of Metal – specifically, we don’t have feature lists – so how the Mac and iOS versions compare feature-wise remains to be seen. My biggest concern here is that Apple will put OS X and iOS at parity, essentially limiting the features available to the lowest common denominator of iOS, leading to Macs in general being behind the curve in graphics features. The other big question is whether Apple will support Vulkan next year once it’s done, or whether they will stick with Metal, essentially turning OS X’s graphics stack proprietary. Which for users could lead to a reduction in game ports to the Mac if developers have to go write against a Mac-specific graphics API.


Apple iOS Metal Thread Model

One thing that is a pretty sure bet at this point is the GPUs that will support Metal. In short, don’t expect to see anything that can’t support Vulkan support Metal due to a lack of necessary features. So I’m expecting Metal compatibility to start with Intel’s Haswell (Gen 7.5) iGPUs, AMD’s GCN dGPUs, and NVIDIA’s Fermi/Kepler dGPUs. El Capitan works on a much wider range of machines of course, so this means only a fraction of those machines get to experience Metal. Though this was the same situation on mobile as well.

As for developers, things will be interesting. As I mentioned before Apple seems to be going all-in on Metal, starting with the fact that they will have Metal back-ends for their Core Graphics and Core Animation frameworks. And actually I’m a bit surprised by this, as basic compositing is not something that is draw call limited. Apple is claiming upwards of 50% performance increases here, so I’m curious just how this works out, but I suspect these are based on low-level benchmarks. Draw call performance is not the only benefit of Metal, but it is the most immediate, so Apple may be leveraging the harder to get GPU benefits here, or just wringing every last Joule of power out by getting to an API that isn't doing high-level state checking.


OS X Metal Performance Improvements: From Apple's Promotional Materials

In any case, by building Core frameworks off of Metal, Apple is in a position where they have to ensure Metal drivers are working well, which is to the benefit of developers. Meanwhile Apple is going one step past Metal on iOS 8 with the release of MetalKit, which is a set of utility functions for Metal to help speed Metal development. As we’ve mentioned before one of the few real pitfalls of low-level APIs is that to best utilize them you need guru-level programmers – after all, the API doesn’t have high-level safety nets to keep developers out of trouble – and with MetalKit Apple is at least partially resolving this issue by providing some base functionality for programmers.

Wrapping things up, though not an unexpected move from Apple, it will none the less be interesting to see how their efforts with Metal go. As a tightly integrated vendor they have the advantage of being able to move quickly when they choose to, which is why we’re seeing Metal come to OS X so soon and to get used by Core OS components so soon. Metal is just a graphics API, but due to Apple’s timing OS X will be the real test for low-level APIs on the desktop, and not just for gaming. Apple is in an interesting position to take advantage of these new APIs like no one else can, so in several ways they are going to be the pathfinder on just what can be done with these APIs.

Comments Locked

63 Comments

View All Comments

  • Adding-Color - Wednesday, June 10, 2015 - link

    They get there from Yosemite - the big mountain you see on the desktop background image is called "El Capitan", it's famous for rock climbing.
    For more info Look for "el Capitan Yosemite" on Wikipedia/google
  • tipoo - Wednesday, June 10, 2015 - link

    I wonder how much improvement in performance non-Metal compatible Macs will see, since most of the improvements seem directly tied to Metal. It requires an Intel HD 4000 and up, GT 400 and up, or Radeon HD 7000 and up. So with those requirements, a few macs compatible with El Capitan are not compatible with Metal.

    Sadly the same ones that could use the improvement the most, Yosemite is pretty chunky on a 320M for instance. Same with iOS on A5 chips, which don't get metal either, nor do A6 chips.
  • tipoo - Wednesday, June 10, 2015 - link

    I really hope they adopt Vulkan later too, with Metal being adopted now just to bring the speed improvements to the OS, and Vulkan for easier cross platform game porting later when it's out. Metal would also bring easier iOS Metal to OSX Metal game porting.
  • id4andrei - Wednesday, June 10, 2015 - link

    Just because Metal is a low level API doesn't make it an equal to DX both in capability and efficiency. Metal is good for fringe cases that involve CPU bottlenecks and OSX' atrocious GUI lags.
  • blazeoptimus - Wednesday, June 10, 2015 - link

    Your of course correct, there's no guarantee that it will be better (or worse for that matter) than DirectX 12. DirectX 12 has the benefit of years of graphics API coding experience behind it. That being said, this is the first time in OS X history that there has been a reasonable chance at possibly matching Windows Graphics performance. Thats no small thing for OS X users. I'm personally hoping to see better performance parity with windows. Anytime I've ran games on a Mac, I usually load bootcamp to get a 30% frame rate boost.
  • id4andrei - Wednesday, June 10, 2015 - link

    Apple introducing Metal to OSX means nothing right now. You do realize that games must be coded with metal in mind. DX12 availability means nothing without DX12 games and DX12 hardware. Current GPU hardware is DX12 compliant but not fully. Hardware design around the spec is paramount.

    Usually games are either DX or OGL. On the top of my head I can only imagine Blizzard targeting Metal. I doubt Valve's(or any other) going to do OSX exclusive games at the detriment of OpenGL - they are big pushers of Vulkan.
  • bernstein - Wednesday, June 10, 2015 - link

    FYI : essentially all games using unity & unreal engine will be targeting Metal...
  • taigebu - Wednesday, June 10, 2015 - link

    In their slide they did announce Blizzard as supporting Metal on the Mac. But Unity, Unreal engine, Aspyr, Feral and Campo Santo as well. See slide here: http://weblogit.net/wp-content/uploads/2015/06/wbi...
  • dusk007 - Wednesday, June 10, 2015 - link

    Those, the 1.4x app launch, 2x app swtiching and so on optimizations they brought up in the keynote before they talked about Metal. Those are just optimizations they did in OSX and are not related to Metal at all.
    You mixed up something there.
    The only thing they said about Metal is the 40% reduction in CPU overhead and the up to 50% rendering performance, which really could mean anything. Likely just some inefficient OpenGL implementation that got fixed and maybe no changes about most things. The 40% cpu overhead reduction is the only really worthwhile hint at benefits.
  • Ryan Smith - Thursday, June 11, 2015 - link

    "Those, the 1.4x app launch, 2x app swtiching and so on optimizations they brought up in the keynote before they talked about Metal. Those are just optimizations they did in OSX and are not related to Metal at all.
    You mixed up something there."

    You're right. I uploaded the wrong screenshot. It has been corrected.

Log in

Don't have an account? Sign up now