Home | History | Annotate | Download | only in demos

Lines Matching full:textures

217     struct texture_object textures[DEMO_TEXTURE_COUNT];
914 /* Device can texture using linear textures */
915 demo_prepare_texture_image(demo, tex_colors[i], &demo->textures[i],
931 demo, tex_colors[i], &demo->textures[i],
942 demo_set_image_layout(demo, demo->textures[i].image,
944 demo->textures[i].imageLayout,
958 VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, demo->textures[i].image,
961 demo_set_image_layout(demo, demo->textures[i].image,
964 demo->textures[i].imageLayout,
1010 &demo->textures[i].sampler);
1014 view.image = demo->textures[i].image;
1016 &demo->textures[i].view);
1418 tex_descs[i].sampler = demo->textures[i].sampler;
1419 tex_descs[i].imageView = demo->textures[i].view;
2325 vkDestroyImageView(demo->device, demo->textures[i].view, NULL);
2326 vkDestroyImage(demo->device, demo->textures[i].image, NULL);
2327 vkFreeMemory(demo->device, demo->textures[i].mem, NULL);
2328 vkDestroySampler(demo->device, demo->textures[i].sampler, NULL);
2392 vkDestroyImageView(demo->device, demo->textures[i].view, NULL);
2393 vkDestroyImage(demo->device, demo->textures[i].image, NULL);
2394 vkFreeMemory(demo->device, demo->textures[i].mem, NULL);
2395 vkDestroySampler(demo->device, demo->textures[i].sampler, NULL);