¡@

Home 

2014/10/16 ¤W¤È 08:19:42

android Programming Glossary: mprogram

Modifying camera output using SurfaceTexture and OpenGL

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

private ShortBuffer drawListBuffer private final int mProgram private int mPositionHandle private int mColorHandle private.. GLES20.GL_FRAGMENT_SHADER fragmentShaderCode mProgram GLES20.glCreateProgram create empty OpenGL ES Program GLES20.glAttachShader.. create empty OpenGL ES Program GLES20.glAttachShader mProgram vertexShader add the vertex shader to program GLES20.glAttachShader..

Android Camera will not work. startPreview fails

http://stackoverflow.com/questions/7942378/android-camera-will-not-work-startpreview-fails

vertices private FloatBuffer texcoords private int mProgram private int maPositionHandle private int gvTexCoordHandle private.. The shaders could not be found. e.printStackTrace mProgram GLES20.glCreateProgram create empty OpenGL Program GLES20.glAttachShader.. create empty OpenGL Program GLES20.glAttachShader mProgram vertexShader add the vertex shader to program GLES20.glAttachShader..

Modifying camera output using SurfaceTexture and OpenGL

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

vColor private FloatBuffer vertexBuffer textureVerticesBuffer private ShortBuffer drawListBuffer private final int mProgram private int mPositionHandle private int mColorHandle private int mTextureCoordHandle number of coordinates per vertex in.. vertexShaderCode int fragmentShader MyGL20Renderer.loadShader GLES20.GL_FRAGMENT_SHADER fragmentShaderCode mProgram GLES20.glCreateProgram create empty OpenGL ES Program GLES20.glAttachShader mProgram vertexShader add the vertex shader.. fragmentShaderCode mProgram GLES20.glCreateProgram create empty OpenGL ES Program GLES20.glAttachShader mProgram vertexShader add the vertex shader to program GLES20.glAttachShader mProgram fragmentShader add the fragment shader to program..

Android Camera will not work. startPreview fails

http://stackoverflow.com/questions/7942378/android-camera-will-not-work-startpreview-fails

MyRenderer implements GLSurfaceView.Renderer private FloatBuffer vertices private FloatBuffer texcoords private int mProgram private int maPositionHandle private int gvTexCoordHandle private int gvSamplerHandle private static Context context int.. readFile fragment.fsh catch IOException e Debug.out The shaders could not be found. e.printStackTrace mProgram GLES20.glCreateProgram create empty OpenGL Program GLES20.glAttachShader mProgram vertexShader add the vertex shader to.. not be found. e.printStackTrace mProgram GLES20.glCreateProgram create empty OpenGL Program GLES20.glAttachShader mProgram vertexShader add the vertex shader to program GLES20.glAttachShader mProgram fragmentShader add the fragment shader to program..