Monday, December 3, 2012

Re: [android-developers] how to play a video on an OpenGL texture

On 30/11/2012 21:13, bob wrote:
> I've been baffling my brain with this some more.
>
> I suspect the solution to the problem lies in this text.
>
> /**
> * Update the texture image to the most recent frame from the image
> stream. This may only be
> * called while the OpenGL ES context that owns the texture is current
> on the calling thread.
> * It will implicitly bind its texture to the GL_TEXTURE_EXTERNAL_OES
> texture target.
> */
> public void updateTexImage() {
> nativeUpdateTexImage();
> }
>
>
> I suspect the key is figuring out what "while the OpenGL ES context that
> owns the texture is current on the calling thread" means.
>
> Anyone have some Advil and a Babel fish?
>
You may call it in OnDrawFrame().
-
Fabien

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment