Lines Matching refs:emptySlot
303 struct gl_debug_msg *emptySlot; in _mesa_log_msg() local
321 emptySlot = &ctx->Debug.Log[nextEmpty]; in _mesa_log_msg()
323 assert(!emptySlot->message && !emptySlot->length); in _mesa_log_msg()
325 emptySlot->message = MALLOC(len+1); in _mesa_log_msg()
326 if (emptySlot->message) { in _mesa_log_msg()
327 (void) strncpy(emptySlot->message, buf, (size_t)len); in _mesa_log_msg()
328 emptySlot->message[len] = '\0'; in _mesa_log_msg()
330 emptySlot->length = len+1; in _mesa_log_msg()
331 emptySlot->source = source; in _mesa_log_msg()
332 emptySlot->type = type; in _mesa_log_msg()
333 emptySlot->id = id; in _mesa_log_msg()
334 emptySlot->severity = severity; in _mesa_log_msg()
337 emptySlot->message = out_of_memory; in _mesa_log_msg()
338 emptySlot->length = strlen(out_of_memory)+1; in _mesa_log_msg()
339 emptySlot->source = GL_DEBUG_SOURCE_OTHER_ARB; in _mesa_log_msg()
340 emptySlot->type = GL_DEBUG_TYPE_ERROR_ARB; in _mesa_log_msg()
341 emptySlot->id = OTHER_ERROR_OUT_OF_MEMORY; in _mesa_log_msg()
342 emptySlot->severity = GL_DEBUG_SEVERITY_HIGH_ARB; in _mesa_log_msg()