GLTextureView create hole behind it

若如初见. 提交于 2019-12-12 02:59:28

问题


Hello I worked on a GLTextureView to display an alpha video, but because of the alpha channel I setted

setEGLConfigChooser(8, 8, 8, 8, 16, 0);

I tried a first time with a GLSurfaceView but the problem was that it needed a setZOrderOnTop(true)to show it and the view wasn't anymore attached to it's container (which is a zoomView). A TextureViewis better but now I've my video in a hole rectangle on my container sadly!

Source:

wanted

--[EDIT]--

Here some exemple :

On top it's an GLSurfaceView with an alpha video and down a custom GLTextureView, both are in an horizontalView. Top appears to be good as I want! But check this when I scroll to right:

Top still appear when bottom hide as it needed!

来源:https://stackoverflow.com/questions/34636378/gltextureview-create-hole-behind-it

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!