Home
last modified time | relevance | path

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

/external/skia/tools/gpu/atlastext/
DGLTestAtlasTextRenderer.cpp156 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/
DGLTestAtlasTextRenderer.cpp156 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/
DglcSeparableProgramsTransformFeedbackTests.cpp243 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/
Des2fShaderStateQueryTests.cpp570 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/
Des3fShaderStateQueryTests.cpp734 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/
DProgram.cpp2605 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()