Searched refs:logLength (Results 1 – 12 of 12) sorted by relevance
132 GLint logLength, status; in createShaderProgram() local142 glGetShaderiv(vpShader, GL_INFO_LOG_LENGTH, &logLength); in createShaderProgram()143 if (logLength > 0) { in createShaderProgram()144 GLchar *log = (GLchar*) malloc(logLength); in createShaderProgram()145 glGetShaderInfoLog(vpShader, logLength, &logLength, log); in createShaderProgram()172 glGetShaderiv(fpShader, GL_INFO_LOG_LENGTH, &logLength); in createShaderProgram()173 if (logLength > 0) { in createShaderProgram()174 GLchar *log = (GLchar*)malloc(logLength); in createShaderProgram()175 glGetShaderInfoLog(fpShader, logLength, &logLength, log); in createShaderProgram()189 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &logLength); in createShaderProgram()[all …]
148 GLint logLength, status; in createShaderProgram() local155 glGetShaderiv(vpShader, GL_INFO_LOG_LENGTH, &logLength); in createShaderProgram()156 if (logLength > 0) { in createShaderProgram()157 GLchar *log = (GLchar*) malloc(logLength); in createShaderProgram()158 glGetShaderInfoLog(vpShader, logLength, &logLength, log); in createShaderProgram()177 glGetShaderiv(fpShader, GL_INFO_LOG_LENGTH, &logLength); in createShaderProgram()178 if (logLength > 0) { in createShaderProgram()179 GLchar *log = (GLchar*)malloc(logLength); in createShaderProgram()180 glGetShaderInfoLog(fpShader, logLength, &logLength, log); in createShaderProgram()194 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &logLength); in createShaderProgram()[all …]
156 GrGLint logLength; in GLTestAtlasTextRenderer() local157 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() local202 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 …]
243 GLint logLength; in iterate() local244 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()
51 GLint logLength = 0;53 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &logLength);54 if (logLength > 0) {55 std::unique_ptr<char[]> compileLog(new char[logLength]);57 glGetShaderInfoLog(shader, logLength, NULL, compileLog.get());
570 StateQueryMemoryWriteGuard<GLint> logLength; in test() local571 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() local998 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &logLength); in test()[all …]
734 StateQueryMemoryWriteGuard<GLint> logLength; in test() local735 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() local1248 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &logLength); in test()[all …]
252 static size_t FUZ_rLogLength(U32* seed, U32 logLength) in FUZ_rLogLength() argument254 size_t const lengthMask = ((size_t)1 << logLength) - 1; in FUZ_rLogLength()260 U32 const logLength = FUZ_rand(seed) % maxLog; in FUZ_randomLength() local261 return FUZ_rLogLength(seed, logLength); in FUZ_randomLength()
1719 static size_t FUZ_rLogLength(U32* seed, U32 logLength) in FUZ_rLogLength() argument1721 size_t const lengthMask = ((size_t)1 << logLength) - 1; in FUZ_rLogLength()1727 U32 const logLength = FUZ_rand(seed) % maxLog; in FUZ_randomLength() local1728 return FUZ_rLogLength(seed, logLength); in FUZ_randomLength()
3282 static size_t FUZ_rLogLength(U32* seed, U32 logLength) in FUZ_rLogLength() argument3284 size_t const lengthMask = ((size_t)1 << logLength) - 1; in FUZ_rLogLength()3290 U32 const logLength = FUZ_rand(seed) % maxLog; in FUZ_randomLength() local3291 return FUZ_rLogLength(seed, logLength); in FUZ_randomLength()
2605 size_t logLength = strlen(infoLog); in appendToInfoLog() local2606 char *newLog = new char[logLength + infoLength + 2]; in appendToInfoLog()2608 strcpy(newLog + logLength, info); in appendToInfoLog()2609 strcpy(newLog + logLength + infoLength, "\n"); in appendToInfoLog()
META-INF/ META-INF/MANIFEST.MF com/ com/db4o/ com/ ...