Hi!

In an application I would like to update the contents of a texture in
each frame. In short, in each frame I need to render to a Bitmap and
then use that Bitmap as a texture in a 3D context.

I tried to use the  GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, image,
0) call, but it seems that it keeps eating memory (after a while the
app is killed due to out of memory).

Also, I wonder if this is the fastest solution?

And a third question: is it possible to render into a texture with
opengl?

Thank you in advance!
/Pal Szasz

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to