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...)
Anyway, here's a link: http://developer.apple.com/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_contexts/chapter_7_section_4.html -- [ christopher wright ] [EMAIL PROTECTED] http://kineme.net/
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

