Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/gl/builders/
DGrGLShaderStringBuilder.cpp85 GrGLint infoLen = GR_GL_INIT_ZERO; in GrGLCompileAndAttachShader() local
86 GR_GL_CALL(gli, GetShaderiv(shaderId, GR_GL_INFO_LOG_LENGTH, &infoLen)); in GrGLCompileAndAttachShader()
87 SkAutoMalloc log(sizeof(char)*(infoLen+1)); // outside if for debugger in GrGLCompileAndAttachShader()
88 if (infoLen > 0) { in GrGLCompileAndAttachShader()
92 GR_GL_CALL(gli, GetShaderInfoLog(shaderId, infoLen+1, &length, (char*)log.get())); in GrGLCompileAndAttachShader()
94 errorHandler->compileError(glsl.c_str(), infoLen > 0 ? (const char*)log.get() : ""); in GrGLCompileAndAttachShader()
DGrGLProgramBuilder.cpp482 GrGLint infoLen = GR_GL_INIT_ZERO; in checkLinkStatus() local
483 GL_CALL(GetProgramiv(programID, GR_GL_INFO_LOG_LENGTH, &infoLen)); in checkLinkStatus()
484 SkAutoMalloc log(infoLen+1); in checkLinkStatus()
485 if (infoLen > 0) { in checkLinkStatus()
489 GL_CALL(GetProgramInfoLog(programID, infoLen+1, &length, (char*)log.get())); in checkLinkStatus()
491 const char* errorMsg = (infoLen > 0) ? (const char*)log.get() in checkLinkStatus()
/third_party/flutter/skia/src/gpu/gl/builders/
DGrGLShaderStringBuilder.cpp94 GrGLint infoLen = GR_GL_INIT_ZERO; in GrGLCompileAndAttachShader() local
95 GR_GL_CALL(gli, GetShaderiv(shaderId, GR_GL_INFO_LOG_LENGTH, &infoLen)); in GrGLCompileAndAttachShader()
96 SkAutoMalloc log(sizeof(char)*(infoLen+1)); // outside if for debugger in GrGLCompileAndAttachShader()
97 if (infoLen > 0) { in GrGLCompileAndAttachShader()
101 GR_GL_CALL(gli, GetShaderInfoLog(shaderId, infoLen+1, &length, (char*)log.get())); in GrGLCompileAndAttachShader()
103 errorHandler->compileError(glsl.c_str(), infoLen > 0 ? (const char*)log.get() : ""); in GrGLCompileAndAttachShader()
DGrGLProgramBuilder.cpp431 GrGLint infoLen = GR_GL_INIT_ZERO; in checkLinkStatus() local
432 GL_CALL(GetProgramiv(programID, GR_GL_INFO_LOG_LENGTH, &infoLen)); in checkLinkStatus()
433 SkAutoMalloc log(sizeof(char)*(infoLen+1)); // outside if for debugger in checkLinkStatus()
434 if (infoLen > 0) { in checkLinkStatus()
438 GL_CALL(GetProgramInfoLog(programID, infoLen+1, &length, (char*)log.get())); in checkLinkStatus()
440 errorHandler->compileError(allShaders.c_str(), infoLen > 0 ? (const char*)log.get() : ""); in checkLinkStatus()