Wednesday, August 3, 2011

[android-developers] NDK EGLsurface native window resize

Hi all,

My aplication uses NDK to draw in a GLSurfaceView, when the Renderer
receives onDrawFrame() I call C++ routines to draw in the EGLSurface.
Now I want to resize the native window attached to the EGLSurface in
the C++ code and after a lot of attempts I didn't find the solution.

I know it can be done resizing the View in Java but I want to do it in
the native code. Modifying the view port is not enough for me I need
to resize the View.

Anybody can help, please?
Thanks for your time.
Goyo.

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate