We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
业务层调用pag渲染环节出现显存泄漏,并偶现黑屏,日志如上所示。
libpag 版本:-android(v3.3.0.166)
The text was updated successfully, but these errors were encountered:
原因:资源释放顺序问题; 业务层GLSurfaceView 先释放了,后续在进行释放pag资源的时候,已经没有glContext了,所以产生了显存泄漏。 具体顺序如下图所示:
Sorry, something went wrong.
没有GLContext的时候,关联的GPU资源就已经都释放了。这个就是OpenGL的内存管理机制。
kevingpqi123
No branches or pull requests
Bug 描述
问题
业务层调用pag渲染环节出现显存泄漏,并偶现黑屏,日志如上所示。
环境
libpag 版本:-android(v3.3.0.166)
The text was updated successfully, but these errors were encountered: