¡@

Home 

2014/10/16 ¤W¤È 08:12:28

android Programming Glossary: directvideo

Modifying camera output using SurfaceTexture and OpenGL

http://stackoverflow.com/questions/12519235/modifying-camera-output-using-surfacetexture-and-opengl

this completion event triggers the renderer to create a DirectVideo draw object which compiles links the shaders defined and adds.. frame memory into the openGL texture. It then calls the DirectVideo's draw object and the openGL program sequence is run. If I comment.. class MyGL20Renderer implements GLSurfaceView.Renderer DirectVideo mDirectVideo int texture private SurfaceTexture surface MainActivity..

Modifying camera output using SurfaceTexture and OpenGL

http://stackoverflow.com/questions/12519235/modifying-camera-output-using-surfacetexture-and-opengl

view. Once the MyGLSurfaceView is done inflating initializing this completion event triggers the renderer to create a DirectVideo draw object which compiles links the shaders defined and adds them to an openGL program. It then creates a new openGL texture.. calls the SurfaceTexture's updateTexImage which loads the frame memory into the openGL texture. It then calls the DirectVideo's draw object and the openGL program sequence is run. If I comment out this .draw line the mentioned error above disappears.. getRenderer return renderer MyGL20Renderer.java public class MyGL20Renderer implements GLSurfaceView.Renderer DirectVideo mDirectVideo int texture private SurfaceTexture surface MainActivity delegate public MyGL20Renderer MainActivity _delegate..