Searched refs:attachments_with_format (Results 1 – 2 of 2) sorted by relevance
289 unsigned int *attachments_with_format; in dri2_get_buffers() local294 attachments_with_format = calloc(count * 2, sizeof(unsigned int)); in dri2_get_buffers()295 if (!attachments_with_format) { in dri2_get_buffers()301 attachments_with_format[2*i] = attachments[i]; in dri2_get_buffers()302 attachments_with_format[2*i + 1] = format; in dri2_get_buffers()308 attachments_with_format, count, in dri2_get_buffers()311 free(attachments_with_format); in dri2_get_buffers()
500 unsigned int *attachments_with_format; in dri2_get_buffers() local505 attachments_with_format = calloc(count * 2, sizeof(unsigned int)); in dri2_get_buffers()506 if (!attachments_with_format) { in dri2_get_buffers()512 attachments_with_format[2*i] = attachments[i]; in dri2_get_buffers()513 attachments_with_format[2*i + 1] = format; in dri2_get_buffers()519 attachments_with_format, count, in dri2_get_buffers()522 free(attachments_with_format); in dri2_get_buffers()