Lines Matching refs:maxLabelLen

2351 	int						maxLabelLen	= -1;  in iterate()  local
2356 gl.getIntegerv(GL_MAX_LABEL_LENGTH, &maxLabelLen); in iterate()
2359 …m_testCtx.getLog() << TestLog::Message << "GL_MAX_LABEL_LENGTH = " << maxLabelLen << TestLog::EndM… in iterate()
2361 if (maxLabelLen < 256) in iterate()
2363 if (maxLabelLen > 8192) in iterate()
2381 std::vector<char> buffer (maxLabelLen, 'X'); in iterate()
2382 std::vector<char> readBuffer (maxLabelLen, 'X'); in iterate()
2384 buffer[maxLabelLen-1] = '\0'; in iterate()
2392 gl.getObjectLabel(GL_SHADER, shader, maxLabelLen, &outlen, &readBuffer[0]); in iterate()
2395 if (outlen != maxLabelLen-1) in iterate()
2396 result.fail("'length' was not " + de::toString(maxLabelLen-1) + ", got " + de::toString(outlen)); in iterate()
2400 …sage << "Setting max length label, with explicit size. (length = " << (maxLabelLen-1) << ")" << Te… in iterate()
2401 gl.objectLabel(GL_SHADER, shader, maxLabelLen-1, &buffer[0]); in iterate()
2406 readBuffer[maxLabelLen-1] = 'X'; in iterate()
2407 gl.getObjectLabel(GL_SHADER, shader, maxLabelLen, &outlen, &readBuffer[0]); in iterate()
2410 if (outlen != maxLabelLen-1) in iterate()
2411 result.fail("'length' was not " + de::toString(maxLabelLen-1) + ", got " + de::toString(outlen)); in iterate()
2418 std::vector<char> buffer (maxLabelLen, 'X'); in iterate()
2419 std::vector<char> readBuffer (maxLabelLen, 'X'); in iterate()
2421 buffer[maxLabelLen-1] = '\0'; in iterate()
2429 gl.getObjectPtrLabel(sync, maxLabelLen, &outlen, &readBuffer[0]); in iterate()
2432 if (outlen != maxLabelLen-1) in iterate()
2433 result.fail("'length' was not " + de::toString(maxLabelLen-1) + ", got " + de::toString(outlen)); in iterate()
2437 …sage << "Setting max length label, with explicit size. (length = " << (maxLabelLen-1) << ")" << Te… in iterate()
2438 gl.objectPtrLabel(sync, maxLabelLen-1, &buffer[0]); in iterate()
2443 readBuffer[maxLabelLen-1] = 'X'; in iterate()
2444 gl.getObjectPtrLabel(sync, maxLabelLen, &outlen, &readBuffer[0]); in iterate()
2447 if (outlen != maxLabelLen-1) in iterate()
2448 result.fail("'length' was not " + de::toString(maxLabelLen-1) + ", got " + de::toString(outlen)); in iterate()