Lines Matching refs:maxLabelLen

2395 	int						maxLabelLen	= -1;  in iterate()  local
2400 gl.getIntegerv(GL_MAX_LABEL_LENGTH, &maxLabelLen); in iterate()
2403 …m_testCtx.getLog() << TestLog::Message << "GL_MAX_LABEL_LENGTH = " << maxLabelLen << TestLog::EndM… in iterate()
2405 if (maxLabelLen < 256) in iterate()
2407 if (maxLabelLen > 8192) in iterate()
2425 std::vector<char> buffer (maxLabelLen, 'X'); in iterate()
2426 std::vector<char> readBuffer (maxLabelLen, 'X'); in iterate()
2428 buffer[maxLabelLen-1] = '\0'; in iterate()
2436 gl.getObjectLabel(GL_SHADER, shader, maxLabelLen, &outlen, &readBuffer[0]); in iterate()
2439 if (outlen != maxLabelLen-1) in iterate()
2440 result.fail("'length' was not " + de::toString(maxLabelLen-1) + ", got " + de::toString(outlen)); in iterate()
2444 …sage << "Setting max length label, with explicit size. (length = " << (maxLabelLen-1) << ")" << Te… in iterate()
2445 gl.objectLabel(GL_SHADER, shader, maxLabelLen-1, &buffer[0]); in iterate()
2450 readBuffer[maxLabelLen-1] = 'X'; in iterate()
2451 gl.getObjectLabel(GL_SHADER, shader, maxLabelLen, &outlen, &readBuffer[0]); in iterate()
2454 if (outlen != maxLabelLen-1) in iterate()
2455 result.fail("'length' was not " + de::toString(maxLabelLen-1) + ", got " + de::toString(outlen)); in iterate()
2462 std::vector<char> buffer (maxLabelLen, 'X'); in iterate()
2463 std::vector<char> readBuffer (maxLabelLen, 'X'); in iterate()
2465 buffer[maxLabelLen-1] = '\0'; in iterate()
2473 gl.getObjectPtrLabel(sync, maxLabelLen, &outlen, &readBuffer[0]); in iterate()
2476 if (outlen != maxLabelLen-1) in iterate()
2477 result.fail("'length' was not " + de::toString(maxLabelLen-1) + ", got " + de::toString(outlen)); in iterate()
2481 …sage << "Setting max length label, with explicit size. (length = " << (maxLabelLen-1) << ")" << Te… in iterate()
2482 gl.objectPtrLabel(sync, maxLabelLen-1, &buffer[0]); in iterate()
2487 readBuffer[maxLabelLen-1] = 'X'; in iterate()
2488 gl.getObjectPtrLabel(sync, maxLabelLen, &outlen, &readBuffer[0]); in iterate()
2491 if (outlen != maxLabelLen-1) in iterate()
2492 result.fail("'length' was not " + de::toString(maxLabelLen-1) + ", got " + de::toString(outlen)); in iterate()