Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DShaderHelper.java141 int shaderHandle = GLES20.glCreateShader(shaderType); in compileShader() local
143 if (shaderHandle != 0) { in compileShader()
145 GLES20.glShaderSource(shaderHandle, shaderSource); in compileShader()
148 GLES20.glCompileShader(shaderHandle); in compileShader()
152 GLES20.glGetShaderiv(shaderHandle, GLES20.GL_COMPILE_STATUS, compileStatus, 0); in compileShader()
156 Log.e(TAG, "Error compiling shader: " + GLES20.glGetShaderInfoLog(shaderHandle)); in compileShader()
157 GLES20.glDeleteShader(shaderHandle); in compileShader()
158 shaderHandle = 0; in compileShader()
162 if (shaderHandle == 0) { in compileShader()
166 return shaderHandle; in compileShader()