Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DShaderHelper.java178 int programHandle = GLES20.glCreateProgram(); in createAndLinkProgram() local
180 if (programHandle != 0) { in createAndLinkProgram()
182 GLES20.glAttachShader(programHandle, vertexShaderHandle); in createAndLinkProgram()
185 GLES20.glAttachShader(programHandle, fragmentShaderHandle); in createAndLinkProgram()
191 GLES20.glBindAttribLocation(programHandle, i, attributes[i]); in createAndLinkProgram()
196 GLES20.glLinkProgram(programHandle); in createAndLinkProgram()
200 GLES20.glGetProgramiv(programHandle, GLES20.GL_LINK_STATUS, linkStatus, 0); in createAndLinkProgram()
204 Log.e(TAG, "Error compiling program: " + GLES20.glGetProgramInfoLog(programHandle)); in createAndLinkProgram()
205 GLES20.glDeleteProgram(programHandle); in createAndLinkProgram()
206 programHandle = 0; in createAndLinkProgram()
[all …]