(I'm not vade, of course) > 1. I am using same OpenGLContext object in all my QCRenderer objects and the > Main Renderer but doing CGLLockContext to make sure that drawing is synced. > Is it ok to use same object or should I create new shared context using > CGLCreateContext API?
If both threads properly lock/unlock then you should be ok. But creating a shared context will remove the need to lock at all (at the cost of an extra context). > 2. I am creating a new FBO in every render pass of my QCRenderer's object. > Can I keep the same FBO object and attach a new texture in every rendering > pass? You should be able to do this. It might even be a non-trivial performance win for some drivers, because you'll skip running through their allocators. -- Christopher Wright christopher_wri...@apple.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com