开发者

Opengles Surface(EglSurface) resizing causes black screen on android

To resize the Egl surface, i am destroying current surface and creating new surface with new size, but in-between these operation, it shows black screen after the d开发者_开发百科estroy operation.

How can i avoid this behaviour ? i am using opengles 2.0 lib on android.


You could try creating the new surface with the new size swapping it out with the old version THEN destroying the old surface.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜