Skip to content

PAGPlayer+GLSurfaceView的使用方式,出现native内存不释放的问题 #2597

Answered by kevingpqi123
cerero1 asked this question in Q&A
Discussion options

You must be logged in to vote

释放的时候增加上 PAGSurface 的 freeCache,可以理解释放 pag 申请的一些内存,这里和 pag 没啥关系, GLSurfaceView 的 OpenGL 环境是系统层面提供,相关释放机制由系统层面处理

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kevingpqi123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants