/external/skia/tools/gpu/atlastext/ |
D | GLTestAtlasTextRenderer.cpp | 156 GrGLint logLength; in GLTestAtlasTextRenderer() local 157 callgl(GetShaderiv, vs, GR_GL_INFO_LOG_LENGTH, &logLength); in GLTestAtlasTextRenderer() 158 std::unique_ptr<GrGLchar[]> log(new GrGLchar[logLength + 1]); in GLTestAtlasTextRenderer() 159 log[logLength] = '\0'; in GLTestAtlasTextRenderer() 160 callgl(GetShaderInfoLog, vs, logLength, &logLength, log.get()); in GLTestAtlasTextRenderer() 201 GrGLint logLength; in GLTestAtlasTextRenderer() local 202 callgl(GetShaderiv, fs, GR_GL_INFO_LOG_LENGTH, &logLength); in GLTestAtlasTextRenderer() 203 std::unique_ptr<GrGLchar[]> log(new GrGLchar[logLength + 1]); in GLTestAtlasTextRenderer() 204 log[logLength] = '\0'; in GLTestAtlasTextRenderer() 205 callgl(GetShaderInfoLog, fs, logLength, &logLength, log.get()); in GLTestAtlasTextRenderer() [all …]
|
/external/skqp/tools/gpu/atlastext/ |
D | GLTestAtlasTextRenderer.cpp | 156 GrGLint logLength; in GLTestAtlasTextRenderer() local 157 callgl(GetShaderiv, vs, GR_GL_INFO_LOG_LENGTH, &logLength); in GLTestAtlasTextRenderer() 158 std::unique_ptr<GrGLchar[]> log(new GrGLchar[logLength + 1]); in GLTestAtlasTextRenderer() 159 log[logLength] = '\0'; in GLTestAtlasTextRenderer() 160 callgl(GetShaderInfoLog, vs, logLength, &logLength, log.get()); in GLTestAtlasTextRenderer() 201 GrGLint logLength; in GLTestAtlasTextRenderer() local 202 callgl(GetShaderiv, fs, GR_GL_INFO_LOG_LENGTH, &logLength); in GLTestAtlasTextRenderer() 203 std::unique_ptr<GrGLchar[]> log(new GrGLchar[logLength + 1]); in GLTestAtlasTextRenderer() 204 log[logLength] = '\0'; in GLTestAtlasTextRenderer() 205 callgl(GetShaderInfoLog, fs, logLength, &logLength, log.get()); in GLTestAtlasTextRenderer() [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcSeparableProgramsTransformFeedbackTests.cpp | 243 GLint logLength; in iterate() local 244 gl.getProgramPipelineiv(pipelineId, GL_INFO_LOG_LENGTH, &logLength); in iterate() 245 if (logLength) in iterate() 247 std::vector<GLchar> logBuffer(logLength + 1); in iterate() 248 gl.getProgramPipelineInfoLog(pipelineId, logLength + 1, NULL, &logBuffer[0]); in iterate()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderStateQueryTests.cpp | 570 StateQueryMemoryWriteGuard<GLint> logLength; in test() local 571 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &logLength); in test() 572 if (!logLength.verifyValidity(m_testCtx)) in test() 577 if (logLength == 0) in test() 591 if (logLength <= DE_LENGTH_OF_ARRAY(buffer)) in test() 593 if (written != logLength-1) in test() 595 …m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected length " << logLength-1 << "; got " … in test() 603 if (logLength < DE_LENGTH_OF_ARRAY(buffer)) in test() 997 StateQueryMemoryWriteGuard<GLint> logLength; in test() local 998 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &logLength); in test() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderStateQueryTests.cpp | 734 StateQueryMemoryWriteGuard<GLint> logLength; in test() local 735 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &logLength); in test() 736 if (!logLength.verifyValidity(m_testCtx)) in test() 741 if (logLength == 0) in test() 755 if (logLength <= DE_LENGTH_OF_ARRAY(buffer)) in test() 757 if (written != logLength-1) in test() 759 …m_testCtx.getLog() << TestLog::Message << "// ERROR: Expected length " << logLength-1 << "; got " … in test() 767 if (logLength < DE_LENGTH_OF_ARRAY(buffer)) in test() 1247 StateQueryMemoryWriteGuard<GLint> logLength; in test() local 1248 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &logLength); in test() [all …]
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Program.cpp | 2605 size_t logLength = strlen(infoLog); in appendToInfoLog() local 2606 char *newLog = new char[logLength + infoLength + 2]; in appendToInfoLog() 2608 strcpy(newLog + logLength, info); in appendToInfoLog() 2609 strcpy(newLog + logLength + infoLength, "\n"); in appendToInfoLog()
|