Searched refs:glProgram (Results 1 – 1 of 1) sorted by relevance
1020 private int glProgram; field in GLSurfaceViewFactory.GLSurfaceViewThread1152 glProgram = createProgram(VERTEX_SHADER, FRAGMENT_SHADER); in eglSurfaceCreated()1153 if (glProgram == 0) { in eglSurfaceCreated()1156 aPositionHandle = GLES20.glGetAttribLocation(glProgram, "aPosition"); in eglSurfaceCreated()1158 aTextureHandle = GLES20.glGetAttribLocation(glProgram, "aTextureCoord"); in eglSurfaceCreated()1160 uTextureTransformHandle = GLES20.glGetUniformLocation(glProgram, "uTextureTransform"); in eglSurfaceCreated()1182 GLES20.glUseProgram(glProgram); in drawFrame()