I'd like to know if my opengl app can be modified to render to an
offscreen CVOpenGLBuffer, then is it possible to have another
application grab the contents of this Opengl buffer somehow by using
Quartz Composer?
My goal is to use hardware accelerated opengl to render to an
offscreen buffer, and have another application read/display this
buffer, but have the pixels stay on the GPU.
If this is possible then can anyone provide some direction/help on
how this could be implemented ?
You'll want to look into OpenGL Context Sharing. This works for intra-
application resource sharing (i.e. within the same program), but maybe
not for inter-app sharing (i.e. across different applications). I've
never really seen trans-app texture sharing, so I don't know if that's
possible or not -- if not, why not just wrap the two applications into
one, and make it multithreaded? (This, of course, isn't practical if
you don't have the ability to rewrite parts of the applications...)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden
This email sent to email@hidden