site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Thread-topic: analysis pass question User-agent: Microsoft-MacOutlook/14.7.6.170621 Hey Darrin, et al., So I'm writing a plugin that is doing an analysis pass on a sequence. I do this in response to a user clicking a UI button in our plug-in interface. When I get CPU memory images using [FxTemporalImageAPI getBitmap] everything works just fine. However, if I try to get GPU texture, using [FxTemporalImageAPI getInputTexture], then I can't get the bits because the current OpenGL context is not set up. If I call [FxTexture textureID] and [FxTexture getTextureCoords], etc. I get the proper values. Calling –bind or –enable doesn't work either. Darrin, is there a way I can successfully use GPU textures if I'm not in –renderOutput? I presume I would need the OpenGL context and set the current context to that, but that is not something I've been able to successfully retrieve. Pete _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Peter Litwinowicz