Lines Matching refs:alloc

63                 const VkAllocationCallbacks *alloc,
75 wsi->instance_alloc = *alloc;
168 result = wsi_x11_init_wsi(wsi, alloc, dri_options);
174 result = wsi_wl_init_wsi(wsi, alloc, pdevice);
180 result = wsi_win32_init_wsi(wsi, alloc, pdevice);
186 result = wsi_display_init_wsi(wsi, alloc, display_fd);
223 wsi_device_finish(wsi, alloc);
230 const VkAllocationCallbacks *alloc)
233 wsi_display_finish_wsi(wsi, alloc);
236 wsi_wl_finish_wsi(wsi, alloc);
239 wsi_win32_finish_wsi(wsi, alloc);
242 wsi_x11_finish_wsi(wsi, alloc);
257 vk_free2(&instance->alloc, pAllocator, surface);
286 chain->alloc = *pAllocator;
317 result = wsi->CreateCommandPool(_device, &cmd_pool_info, &chain->alloc,
388 chain->wsi->DestroyFence(chain->device, chain->fences[i], &chain->alloc);
390 vk_free(&chain->alloc, chain->fences);
394 chain->wsi->DestroySemaphore(chain->device, chain->buffer_blit_semaphores[i], &chain->alloc);
396 vk_free(&chain->alloc, chain->buffer_blit_semaphores);
399 &chain->alloc);
405 &chain->alloc);
407 vk_free(&chain->alloc, chain->cmd_pools);
429 vk_alloc(&chain->alloc,
486 vk_alloc(&chain->alloc, sizeof(VkFormat) * view_format_count,
518 vk_free(&chain->alloc, (void *)info->create.pQueueFamilyIndices);
519 vk_free(&chain->alloc, (void *)info->format_list.pViewFormats);
520 vk_free(&chain->alloc, (void *)info->drm_mod_list.pDrmFormatModifiers);
521 vk_free(&chain->alloc, info->modifier_props);
539 &chain->alloc, &image->image);
589 vk_free(&chain->alloc, image->buffer.blit_cmd_buffers);
592 wsi->FreeMemory(chain->device, image->memory, &chain->alloc);
593 wsi->DestroyImage(chain->device, image->image, &chain->alloc);
594 wsi->FreeMemory(chain->device, image->buffer.memory, &chain->alloc);
595 wsi->DestroyBuffer(chain->device, image->buffer.buffer, &chain->alloc);
768 const VkAllocationCallbacks *alloc;
772 alloc = pAllocator;
774 alloc = &device->alloc;
777 pCreateInfo, alloc,
782 swapchain->fences = vk_zalloc(alloc,
787 swapchain->destroy(swapchain, alloc);
792 swapchain->buffer_blit_semaphores = vk_zalloc(alloc,
797 swapchain->destroy(swapchain, alloc);
814 const VkAllocationCallbacks *alloc;
820 alloc = pAllocator;
822 alloc = &device->alloc;
824 swapchain->destroy(swapchain, alloc);
1028 &swapchain->alloc,
1040 &swapchain->alloc,
1271 &chain->alloc, pImage);
1359 &chain->alloc, &image->buffer.buffer);
1408 &chain->alloc, &image->buffer.memory);
1434 &chain->alloc, &image->memory);
1457 vk_zalloc(&chain->alloc,
1633 &chain->alloc, &image->memory);