My app switches between a SurfaceView and 10 GLSurfaceViews. It can swith to the GLSurfaceViews without problem, but sometimes the displayed GLSurfaceView freezes when I try to switch back to the SurfaceView, I assume this is a threading issue.
I used suspend() and resume() to control the SurfaceView before, but then I read this can result in deadlocks. So I changed it to yield(),but the problem remained. I use onResume() and onPause to control the GLSurfaceViews. I can't find any yield method that I can use for the GLSurfaceView thread. Is there a better way to control the GLSurfaceView? Can onResume() and onPause result in deadlocks? -- 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

