We've modified our Android 1.5r2 build to enable the Window.FEATURE_OPENGL flag in order to support a mixture of 2D and 3D effects in a single layout. In general, our activity is working fine, except for resume. We consistently crash or hang on resume.
I've been focusing on narrowing down the hang problem at the moment. The code consistently never returns from a call to glDeleteTextures() in SkGLDevice_SWLayer's destructor. SkGLDevice_SWLayer is being used due to a call to Canvas's saveLayer() in our modified version of TextView. With Window.FEATURE_OPENGL enabled, skia refuses to blit text unless an offscreen has been created This seemed like a reasonable workaround given that I didn't fully comprehend the recommended fixes in SkGLDevice::drawText(). I don't expect that fixing text rendering will solve my problems, because removing the saveLayer() call still yields problems in resume. I'm guessing that OpenGL needs to be reset in some way on resume. Does anyone have any suggestions? Thank you, Scott. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

