FxPlug, Metal & FCPX 10.4.4

Hello!


FCPX 10.4.4 has just been released and my question is - what's the best way to write the plugin for it? With the OpenGL & OpenCL deprecation I still see that FxPlug SDK hasn't been updated and the only way to use GPU acceleration is through OpenGL texture... so what would be the best way to implement a GPU accelerated plugin?

Is there any example that shows how to use Metal framework for FCPX plugin development?


Thanks in advance,

Tom

Replies

I have the same question. None of the FXPlug documentation seems to be updated, and I can only find depricated OpenGL sample code. Apple should provide some sample code for running Metal plugins.

Starting with Fx‍Plug 4 you can now use Metal in your Fx‍Plugs. Fx‍Plug 4 plug-ins run out-of-process from the host application and are passed an FxImageTile which contains an IOSurface that can be turned into an id<MTLTexture>, an OpenGL texture, or a CPU-based bitmap.