Searched refs:glProgram (Results 1 – 1 of 1) sorted by relevance
1028 private int glProgram; field in GLSurfaceViewFactory.GLSurfaceViewThread1165 glProgram = createProgram(VERTEX_SHADER, FRAGMENT_SHADER); in eglSurfaceCreated()1166 if (glProgram == 0) { in eglSurfaceCreated()1169 aPositionHandle = GLES20.glGetAttribLocation(glProgram, "aPosition"); in eglSurfaceCreated()1171 aTextureHandle = GLES20.glGetAttribLocation(glProgram, "aTextureCoord"); in eglSurfaceCreated()1173 uTextureTransformHandle = GLES20.glGetUniformLocation(glProgram, "uTextureTransform"); in eglSurfaceCreated()1195 GLES20.glUseProgram(glProgram); in drawFrame()