I have a GLSurfaceView in my Activity and call onPause/onResume when
my Activity is paused or resumed respectively.

When I launch an opaque Activity on top of my GLsurfaceView calling
onPause/onResume seems reasonable, but suppose I launch a transparent
Activity on top on my GLSurfaceView, I don't want to call onPause
because I want any animations running to be seen. Also since onPause
deletes the context, reconstructing onResume may cause visual
artifacts like textures going from blank (since they got cleaned up)
to actual texture.

It is ok to call GLSurfaceview.onPause/onresume in onStop and
onRestart, since we are guaranteed that in onStop that the
GLSurfaceView won't be "visible"?

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