Home
last modified time | relevance | path

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

/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.cpp324 GLint log_length = 0; in CompileShader() local
325 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &log_length); in CompileShader()
326 if (log_length) { in CompileShader()
327 char* error_log = new char[log_length]; in CompileShader()
329 glGetShaderInfoLog(shader, log_length, NULL, error_log); in CompileShader()
358 GLint log_length = 0; in LinkProgram() local
359 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &log_length); in LinkProgram()
360 if (log_length) { in LinkProgram()
361 char* error_log = new char[log_length]; in LinkProgram()
363 glGetProgramInfoLog(program, log_length, NULL, error_log); in LinkProgram()