Lines Matching refs:swapchain
268 /* don't cache swapchain surfaces. that's weird. */
327 VKSCR(DestroyImageView)(screen->dev, surface->swapchain[i], NULL);
328 free(surface->swapchain);
439 return; //dead swapchain
441 /* new swapchain: clear out previous old_swapchain and move current swapchain there */
445 surface->old_swapchain = surface->swapchain;
447 surface->swapchain_size = cdt->swapchain->num_images;
448 surface->swapchain = calloc(surface->swapchain_size, sizeof(VkImageView));
453 if (!surface->swapchain[res->obj->dt_idx]) {
454 assert(res->obj->image && cdt->swapchain->images[res->obj->dt_idx].image == res->obj->image);
457 VKSCR(CreateImageView)(screen->dev, &surface->ivci, NULL, &surface->swapchain[res->obj->dt_idx]);
459 surface->image_view = surface->swapchain[res->obj->dt_idx];