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