Searched refs:infoLen (Results 1 – 1 of 1) sorted by relevance
/cts/tests/openglperf2/jni/graphics/ |
D | GLUtils.cpp | 139 GLint infoLen = 0; in loadShader() local 140 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &infoLen); in loadShader() 141 if (infoLen > 0) { in loadShader() 142 char* infoLog = (char*) malloc(sizeof(char) * infoLen); in loadShader() 143 glGetShaderInfoLog(shader, infoLen, NULL, infoLog); in loadShader() 176 GLint infoLen = 0; in createProgram() local 177 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &infoLen); in createProgram() 178 if (infoLen > 0) { in createProgram() 179 char* infoLog = (char*) malloc(sizeof(char) * infoLen); in createProgram() 180 glGetProgramInfoLog(program, infoLen, NULL, infoLog); in createProgram()
|