我想将 Android效果应用于 Camera2 SurfaceTexture 预览。我对 OpenGL 很陌生,所以我不知道从哪里开始。
我有
SurfaceTexture texture = mTextureView.getSurfaceTexture();
Surface surface = new Surface(texture);
Camera2 用来显示预览的实例。如何在 GLSurfaceView 上绘制并应用效果?
我想将 Android效果应用于 Camera2 SurfaceTexture 预览。我对 OpenGL 很陌生,所以我不知道从哪里开始。
我有
SurfaceTexture texture = mTextureView.getSurfaceTexture();
Surface surface = new Surface(texture);
Camera2 用来显示预览的实例。如何在 GLSurfaceView 上绘制并应用效果?