Searched refs:attachments_with_format (Results 1 – 2 of 2) sorted by relevance
323 unsigned int *attachments_with_format; in dri2_drm_get_buffers() local327 attachments_with_format = calloc(count, 2 * sizeof(unsigned int)); in dri2_drm_get_buffers()328 if (!attachments_with_format) { in dri2_drm_get_buffers()334 attachments_with_format[2*i] = attachments[i]; in dri2_drm_get_buffers()335 attachments_with_format[2*i + 1] = format; in dri2_drm_get_buffers()341 attachments_with_format, count, in dri2_drm_get_buffers()344 free(attachments_with_format); in dri2_drm_get_buffers()
600 unsigned int *attachments_with_format; in dri2_wl_get_buffers() local619 attachments_with_format = calloc(count, 2 * sizeof(unsigned int)); in dri2_wl_get_buffers()620 if (!attachments_with_format) { in dri2_wl_get_buffers()626 attachments_with_format[2*i] = attachments[i]; in dri2_wl_get_buffers()627 attachments_with_format[2*i + 1] = bpp; in dri2_wl_get_buffers()633 attachments_with_format, count, in dri2_wl_get_buffers()636 free(attachments_with_format); in dri2_wl_get_buffers()