Converting from GLSurfaceView to TextureView (via GLTextureView)

前端 未结 4 1780
感情败类
感情败类 2020-11-30 21:49

When Android 4.0 (Ice Cream Sandwich) was released, a new view was introduced into the sdk. This View is the TextureView. In the documentation, it says that the TextureView

4条回答
  •  既然无缘
    2020-11-30 22:31

    If you want to copy/paste a ready-made class, I wrote one here:

    GLTextureView

    You can call setRenderer(GLSurfaceView.Renderer), like with a GLSurfaceView.

提交回复
热议问题