Searched refs:mGLProgram (Results 1 – 1 of 1) sorted by relevance
154 private int mGLProgram; field in SurfaceTextureView.Renderer176 mGLProgram = createProgram(VERTEX_SHADER, FRAGMENT_SHADER); in onSurfaceCreated()178 mTexHandle = GLES20.glGetUniformLocation(mGLProgram, "s_texture"); in onSurfaceCreated()179 mTexCoordHandle = GLES20.glGetAttribLocation(mGLProgram, "a_texCoord"); in onSurfaceCreated()180 mTriangleVerticesHandle = GLES20.glGetAttribLocation(mGLProgram, "vPosition"); in onSurfaceCreated()181 mTransformHandle = GLES20.glGetUniformLocation(mGLProgram, "u_xform"); in onSurfaceCreated()185 GLES20.glUseProgram(mGLProgram); in onSurfaceCreated()212 GLES20.glUseProgram(mGLProgram); in onDrawFrame()