Lines Matching refs:bufSize
93 copy_label(const GLchar *src, GLchar *dst, GLsizei *length, GLsizei bufSize)
100 * terminator, is specified by <bufSize>. If no debug label was specified
110 if (bufSize == 0) {
118 if (bufSize <= labelLen)
119 labelLen = bufSize - 1;
272 _mesa_GetObjectLabel(GLenum identifier, GLuint name, GLsizei bufSize,
284 if (bufSize < 0) {
285 _mesa_error(ctx, GL_INVALID_VALUE, "%s(bufSize = %d)", callerstr,
286 bufSize);
294 copy_label(*labelPtr, label, length, bufSize);
325 _mesa_GetObjectPtrLabel(const void *ptr, GLsizei bufSize, GLsizei *length,
338 if (bufSize < 0) {
339 _mesa_error(ctx, GL_INVALID_VALUE, "%s(bufSize = %d)", callerstr,
340 bufSize);
353 copy_label(*labelPtr, label, length, bufSize);