Jump to content

Metal (API)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Comp.arch (talk | contribs) at 12:24, 28 January 2015 (Was it ever used for others (pre-Nov, 2014)? date formats per MOS:DATEFORMAT by script). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Metal is a low-level, low-overhead hardware-accelerated graphics API that debuted in iOS 8. It is intended to bring to iOS some of the performance benefits of similar APIs on other platforms, such as AMD's Mantle and Microsoft's DirectX 12. Since November 27, 2014, Metal is available for devices using the Apple A7, Apple A8, and Apple A8X. Metal also further improves the capabilities of GPGPU programming by introducing compute shaders.

Metal uses a new shading language based on C++11; this is implemented using clang and LLVM.[1]

Apple used the mobile multiplayer online battle arena game Vainglory (Halcyon Fold map pictured) to demonstrate Metal's graphics capabilities at the iPhone 6's September 2014 announcement event.[2]

Performance improvements

Metal should have better performance than his predecessor, OpenGL, for several reasons:

Some of these points remove the amount of work the CPU is required to do to successfully execute commands on the GPU. This can lead to overall performance gain because the CPU can be then used to compute other tasks.

References

  1. ^ "Metal Shading Language Guide". September 8, 2014. Retrieved September 10, 2014.
  2. ^ McWhertor, Michael (September 9, 2014). "This is the game Apple used to show off iPhone 6". Polygon. Vox Media. Archived from the original on September 9, 2014. Retrieved September 9, 2014. {{cite web}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)
  3. ^ http://blogs.unity3d.com/2014/07/03/metal-a-new-graphics-api-for-ios-8/