Apple Metal


#1

Hi Juce team !

I was wondering if there any plans to support Metal rendering ?

Thanks !


#2

Are you talking about creating a bare context or a Graphics backend?

For creating a context like the OpenGL component, I don’t see much point. Creating a Metal context requires very little boilerplate code, and it’s all native and fairly application specific. It would probably be a lot faster to whip up your own native Metal context and use it with a ComponentPeer.

When it comes to a backend, CoreGraphics already runs on Metal (pretty heavily abstracted, of course), and the Graphics implementation is a pretty thin layer. So there’s a pretty good chance there wouldn’t be a big benefit for a massive undertaking.


#3

I indeed meant backend.
I doubt your assertion regarding performance because it would mean that the CoreGraphics renderer is right now as fast as the opengl renderer for example and this is clearly not the case.
So why would this be true for Metal which is supposed to be faster than OpenGL ?