Hi,

I have a problem with GLSufaceView rotation performance.  After the
screen is rotated, it sometimes takes a few seconds for the OpenGL
view to be updated in new layout.

I have Activity, which has a FrameLayout.  The GLSurfaceView is one
child of the FrameLayout.

I found the problem is that the onSurfaceChanged() method of the
Render object is called sometimes a few seconds later after the
onConfigurationChanged() method of the Activity is called.  I use
RENDERMODE_WHEN_DIRTY mode.

Is there a way to trigger the Render.onSurfaceChanged() to be called
immediately after the onConfigurationChanged() is called? I tried to
call requestRender(), it does cause redraw, but sometimes the redraw
happens before onSurfaceChanged() is called.

Any hints are appreciated.

Thanks,
Stephen


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

Reply via email to