当EGL上下文丢失时,所有OpenGL资源(例如纹理) 与该上下文关联的内容将被自动删除. When the EGL context is lost, all OpenGL resources (such as textures) that are associated with that context will be automatically deleted.一些有用的链接: Android:何时会销毁OpenGL上下文? 在Android暂停时丢失OpenGL上下文的解决方法? 防止Android GL上下文丢失 恢复后在Android中丢失OpenGL纹理 从活动返回时当前没有openGL上下文吗? 防止破坏OpenGL上下文的onPauseAndroid: When is OpenGL context destroyed?Workaround to losing the OpenGL context when Android pauses?Preventing Android GL Context lossLosing OpenGL Textures in Android after a resumeNo current openGL context when returning from activity?Prevent onPause from trashing OpenGL Context 这篇关于Android Opengl图形故障的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-01 15:27