Home
last modified time | relevance | path

Searched refs:mGLShaderProgram (Results 1 – 1 of 1) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DPreviewRecorder.java136 private int mGLShaderProgram = 0; field in PreviewRecorder
383 mGLShaderProgram = GLES20.glCreateProgram(); in compileShaders()
384 GLES20.glAttachShader(mGLShaderProgram, vertexShader); in compileShaders()
385 GLES20.glAttachShader(mGLShaderProgram, fragmentShader); in compileShaders()
386 GLES20.glLinkProgram(mGLShaderProgram); in compileShaders()
389 GLES20.glGetProgramiv(mGLShaderProgram, GLES20.GL_LINK_STATUS, linkStatus, 0); in compileShaders()
391 String msg = "Could not link program: " + GLES20.glGetProgramInfoLog(mGLShaderProgram); in compileShaders()
392 GLES20.glDeleteProgram(mGLShaderProgram); in compileShaders()
396 mVPositionLoc = GLES20.glGetAttribLocation(mGLShaderProgram, "vPosition"); in compileShaders()
397 mTexMatrixLoc = GLES20.glGetUniformLocation(mGLShaderProgram, "texMatrix"); in compileShaders()
[all …]