GLES11Ext.GL_TEXTURE_EXTERNAL_OES unavaliable with black screen #2442
-
使用GL_TEXTURE_EXTERNAL_OES 播放黑屏 日志显示 `
` |
Beta Was this translation helpful? Give feedback.
Answered by
kevingpqi123
Aug 26, 2024
Replies: 1 comment
-
这里的提示很明确哈,pag 内部渲染通过的是 OpenGL ES,自身会有一个 OpenGL 环境,你这边的场景应该是视频解码,解码出来的 OES 纹理自身也有一个 OpenGL 环境,需要通过 share context 来共享资源 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kevingpqi123
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这里的提示很明确哈,pag 内部渲染通过的是 OpenGL ES,自身会有一个 OpenGL 环境,你这边的场景应该是视频解码,解码出来的 OES 纹理自身也有一个 OpenGL 环境,需要通过 share context 来共享资源