Here’s some helpful info from one of the Premiere Pro engineers:
“Our multithreaded rendering isn't really the same as what AE does. They spawn multiple processes and will only call effects single threaded from each process. Premiere Pro has multithreaded rendering in a single process. A common approach for OpenGL plugins in PPro is to create a new single thread to serialize the calls onto.”
Still can't make my plugin work in Premiere Pro CS6 using AE CS6 sdk...
I recreated my plugin to only have local variables - it helped to solve some problems with AE multiprocessing rendering. Now, when I'm in the Render function in Premiere pro (Premiere doesn't support SmartRender) I call my function to create an OpenGL context in Objective-C, but it crashes every time... In AE it works great. So, here's my question:
What do I have to do to avoid crashing? You wrote something about creating a new single thread - is there any help in AE SDK on how to do that or could you give me some tip about it? Also, when I create my hidden window with NSOpenGL context I use [[someContext openGLContext] makeCurrentContext] to draw something on it - should I somehow stop or disable Premiere Context? If so, how can I do that?