|
SDL
2.0
|
#include <stdlib.h>#include <stdio.h>#include <string.h>#include <math.h>#include "SDL_test_common.h"#include "../src/video/khronos/vulkan/vulkan.h"#include "SDL_vulkan.h"
Include dependency graph for testvulkan.c:Go to the source code of this file.
Data Structures | |
| struct | VulkanContext |
Macros | |
| #define | VK_NO_PROTOTYPES |
| #define | UINT64_MAX 18446744073709551615 |
| #define | VULKAN_FUNCTIONS() |
| #define | VULKAN_DEVICE_FUNCTION(name) static PFN_##name name = NULL; |
| #define | VULKAN_GLOBAL_FUNCTION(name) static PFN_##name name = NULL; |
| #define | VULKAN_INSTANCE_FUNCTION(name) static PFN_##name name = NULL; |
| #define | VULKAN_DEVICE_FUNCTION(name) |
| #define | VULKAN_GLOBAL_FUNCTION(name) |
| #define | VULKAN_INSTANCE_FUNCTION(name) |
| #define | VULKAN_DEVICE_FUNCTION(name) |
| #define | VULKAN_GLOBAL_FUNCTION(name) |
| #define | VULKAN_INSTANCE_FUNCTION(name) |
| #define | VULKAN_DEVICE_FUNCTION(name) |
| #define | VULKAN_GLOBAL_FUNCTION(name) |
| #define | VULKAN_INSTANCE_FUNCTION(name) |
Variables | |
| static PFN_vkGetInstanceProcAddr | vkGetInstanceProcAddr = NULL |
| static SDLTest_CommonState * | state |
| static VulkanContext | vulkanContext = {0} |
| #define UINT64_MAX 18446744073709551615 |
Definition at line 39 of file testvulkan.c.
| #define VK_NO_PROTOTYPES |
Definition at line 29 of file testvulkan.c.
Definition at line 87 of file testvulkan.c.
| #define VULKAN_DEVICE_FUNCTION | ( | name | ) |
Definition at line 87 of file testvulkan.c.
| #define VULKAN_DEVICE_FUNCTION | ( | name | ) |
Definition at line 87 of file testvulkan.c.
| #define VULKAN_DEVICE_FUNCTION | ( | name | ) |
Definition at line 87 of file testvulkan.c.
| #define VULKAN_FUNCTIONS | ( | ) |
Definition at line 42 of file testvulkan.c.
Definition at line 88 of file testvulkan.c.
| #define VULKAN_GLOBAL_FUNCTION | ( | name | ) |
Definition at line 88 of file testvulkan.c.
| #define VULKAN_GLOBAL_FUNCTION | ( | name | ) |
Definition at line 88 of file testvulkan.c.
| #define VULKAN_GLOBAL_FUNCTION | ( | name | ) |
Definition at line 88 of file testvulkan.c.
Definition at line 89 of file testvulkan.c.
| #define VULKAN_INSTANCE_FUNCTION | ( | name | ) |
Definition at line 89 of file testvulkan.c.
| #define VULKAN_INSTANCE_FUNCTION | ( | name | ) |
Definition at line 89 of file testvulkan.c.
| #define VULKAN_INSTANCE_FUNCTION | ( | name | ) |
Definition at line 89 of file testvulkan.c.
Definition at line 805 of file testvulkan.c.
References VkCommandBufferAllocateInfo::commandBufferCount, VulkanContext::commandBuffers, VkCommandBufferAllocateInfo::commandPool, VulkanContext::commandPool, VulkanContext::device, getVulkanResultString(), VkCommandBufferAllocateInfo::level, NULL, quit(), SDL_free, SDL_LOG_CATEGORY_APPLICATION, SDL_LogError, SDL_malloc, VkCommandBufferAllocateInfo::sType, VulkanContext::swapchainImageCount, VK_COMMAND_BUFFER_LEVEL_PRIMARY, VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO, VK_SUCCESS, vkAllocateCommandBuffers(), and vulkanContext.
Referenced by createNewSwapchainAndSwapchainSpecificStuff().
Definition at line 784 of file testvulkan.c.
References VulkanContext::commandPool, VulkanContext::device, VkCommandPoolCreateInfo::flags, getVulkanResultString(), VulkanContext::graphicsQueueFamilyIndex, NULL, VkCommandPoolCreateInfo::queueFamilyIndex, quit(), SDL_LOG_CATEGORY_APPLICATION, SDL_LogError, VkCommandPoolCreateInfo::sType, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, VK_NULL_HANDLE, VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO, VK_SUCCESS, vkCreateCommandPool(), and vulkanContext.
Referenced by createNewSwapchainAndSwapchainSpecificStuff().
Definition at line 496 of file testvulkan.c.
References VulkanContext::device, VkDeviceCreateInfo::enabledExtensionCount, getVulkanResultString(), VulkanContext::graphicsQueueFamilyIndex, NULL, VkDeviceCreateInfo::pEnabledFeatures, VulkanContext::physicalDevice, VkDeviceCreateInfo::ppEnabledExtensionNames, VkDeviceCreateInfo::pQueueCreateInfos, VkDeviceQueueCreateInfo::pQueuePriorities, VkDeviceQueueCreateInfo::queueCount, VkDeviceCreateInfo::queueCreateInfoCount, VkDeviceQueueCreateInfo::queueFamilyIndex, quit(), SDL_arraysize, SDL_LOG_CATEGORY_APPLICATION, SDL_LogError, VkDeviceQueueCreateInfo::sType, VkDeviceCreateInfo::sType, VK_KHR_SWAPCHAIN_EXTENSION_NAME, VK_NULL_HANDLE, VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO, VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO, VK_SUCCESS, vkCreateDevice(), and vulkanContext.
Referenced by initVulkan().
Definition at line 829 of file testvulkan.c.
References VulkanContext::device, VulkanContext::fences, VkFenceCreateInfo::flags, getVulkanResultString(), i, NULL, quit(), SDL_free, SDL_LOG_CATEGORY_APPLICATION, SDL_LogError, SDL_malloc, SDL_OutOfMemory, VkFenceCreateInfo::sType, VulkanContext::swapchainImageCount, VK_FENCE_CREATE_SIGNALED_BIT, VK_STRUCTURE_TYPE_FENCE_CREATE_INFO, VK_SUCCESS, vkCreateFence(), vkDestroyFence(), and vulkanContext.
Referenced by createNewSwapchainAndSwapchainSpecificStuff().
Definition at line 244 of file testvulkan.c.
References VkApplicationInfo::apiVersion, VkInstanceCreateInfo::enabledExtensionCount, getVulkanResultString(), VulkanContext::instance, NULL, VkInstanceCreateInfo::pApplicationInfo, VkInstanceCreateInfo::ppEnabledExtensionNames, quit(), SDL_free, SDL_GetError, SDL_LOG_CATEGORY_APPLICATION, SDL_LogError, SDL_malloc, SDL_OutOfMemory, SDL_Vulkan_GetInstanceExtensions, VkApplicationInfo::sType, VkInstanceCreateInfo::sType, VK_API_VERSION_1_0, VK_NULL_HANDLE, VK_STRUCTURE_TYPE_APPLICATION_INFO, VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, VK_SUCCESS, vkCreateInstance(), and vulkanContext.
Referenced by initVulkan().
Definition at line 974 of file testvulkan.c.
References createCommandBuffers(), createCommandPool(), createFences(), createSwapchain(), destroySwapchainAndSwapchainSpecificStuff(), getSurfaceCaps(), getSurfaceFormats(), SDL_FALSE, and SDL_TRUE.
Referenced by initVulkan(), and render().
|
static |
Definition at line 563 of file testvulkan.c.
References VulkanContext::device, getVulkanResultString(), NULL, quit(), SDL_LOG_CATEGORY_APPLICATION, SDL_LogError, VkSemaphoreCreateInfo::sType, VK_NULL_HANDLE, VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO, VK_SUCCESS, vkCreateSemaphore(), and vulkanContext.
Referenced by createSemaphores().
Definition at line 580 of file testvulkan.c.
References createSemaphore(), VulkanContext::imageAvailableSemaphore, VulkanContext::renderingFinishedSemaphore, and vulkanContext.
Referenced by initVulkan().
Definition at line 310 of file testvulkan.c.
References VulkanContext::instance, quit(), SDL_GetError, SDL_LOG_CATEGORY_APPLICATION, SDL_LogError, SDL_Vulkan_CreateSurface, state, VulkanContext::surface, VK_NULL_HANDLE, vulkanContext, and SDLTest_CommonState::windows.
Referenced by initVulkan().
Definition at line 686 of file testvulkan.c.
References VkSwapchainCreateInfoKHR::clipped, VkSurfaceFormatKHR::colorSpace, VkSwapchainCreateInfoKHR::compositeAlpha, VkSurfaceCapabilitiesKHR::currentTransform, VulkanContext::device, VkSurfaceFormatKHR::format, getSwapchainImages(), getVulkanResultString(), VkExtent2D::height, i, VkSwapchainCreateInfoKHR::imageArrayLayers, VkSwapchainCreateInfoKHR::imageColorSpace, VkSwapchainCreateInfoKHR::imageExtent, VkSwapchainCreateInfoKHR::imageFormat, VkSwapchainCreateInfoKHR::imageSharingMode, VkSwapchainCreateInfoKHR::imageUsage, VkSurfaceCapabilitiesKHR::maxImageCount, VkSurfaceCapabilitiesKHR::minImageCount, VkSwapchainCreateInfoKHR::minImageCount, NULL, VkSwapchainCreateInfoKHR::oldSwapchain, VkSwapchainCreateInfoKHR::presentMode, VkSwapchainCreateInfoKHR::preTransform, quit(), SDL_FALSE, SDL_LOG_CATEGORY_APPLICATION, SDL_LogError, SDL_TRUE, SDL_Vulkan_GetDrawableSize, state, VkSwapchainCreateInfoKHR::sType, VkSwapchainCreateInfoKHR::surface, VulkanContext::surface, VulkanContext::surfaceCapabilities, VulkanContext::surfaceFormat, VulkanContext::surfaceFormats, VulkanContext::surfaceFormatsCount, VulkanContext::swapchain, VulkanContext::swapchainDesiredImageCount, VulkanContext::swapchainSize, VK_COLORSPACE_SRGB_NONLINEAR_KHR, VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR, VK_FORMAT_R8G8B8A8_UNORM, VK_FORMAT_UNDEFINED, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT, VK_IMAGE_USAGE_TRANSFER_DST_BIT, VK_NULL_HANDLE, VK_PRESENT_MODE_FIFO_KHR, VK_SHARING_MODE_EXCLUSIVE, VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR, VK_SUCCESS, VK_TRUE, vkCreateSwapchainKHR(), vkDestroySwapchainKHR(), vulkanContext, VkExtent2D::width, and SDLTest_CommonState::windows.
Referenced by createNewSwapchainAndSwapchainSpecificStuff().
Definition at line 766 of file testvulkan.c.
References VulkanContext::commandBuffers, VulkanContext::commandPool, VulkanContext::device, NULL, SDL_free, VulkanContext::swapchainImageCount, vkFreeCommandBuffers(), and vulkanContext.
Referenced by destroySwapchainAndSwapchainSpecificStuff().
Definition at line 777 of file testvulkan.c.
References VulkanContext::commandPool, VulkanContext::device, NULL, VK_NULL_HANDLE, vkDestroyCommandPool(), and vulkanContext.
Referenced by destroySwapchainAndSwapchainSpecificStuff().
Definition at line 864 of file testvulkan.c.
References VulkanContext::device, VulkanContext::fences, i, NULL, SDL_free, VulkanContext::swapchainImageCount, vkDestroyFence(), and vulkanContext.
Referenced by destroySwapchainAndSwapchainSpecificStuff().
Definition at line 757 of file testvulkan.c.
References VulkanContext::device, NULL, SDL_free, VulkanContext::swapchain, VulkanContext::swapchainImages, VK_NULL_HANDLE, vkDestroySwapchainKHR(), and vulkanContext.
Referenced by destroySwapchainAndSwapchainSpecificStuff().
Definition at line 965 of file testvulkan.c.
References destroyCommandBuffers(), destroyCommandPool(), destroyFences(), and destroySwapchain().
Referenced by createNewSwapchainAndSwapchainSpecificStuff(), and shutdownVulkan().
Definition at line 323 of file testvulkan.c.
References VkPhysicalDeviceProperties::apiVersion, getVulkanResultString(), VulkanContext::graphicsQueueFamilyIndex, i, VulkanContext::instance, NULL, VulkanContext::physicalDevice, VulkanContext::physicalDeviceFeatures, VulkanContext::physicalDeviceProperties, VulkanContext::presentQueueFamilyIndex, quit(), SDL_FALSE, SDL_free, SDL_LOG_CATEGORY_APPLICATION, SDL_LogError, SDL_malloc, SDL_OutOfMemory, SDL_strcmp, SDL_TRUE, VulkanContext::surface, VK_KHR_SWAPCHAIN_EXTENSION_NAME, VK_QUEUE_GRAPHICS_BIT, VK_SUCCESS, VK_VERSION_MAJOR, vkEnumerateDeviceExtensionProperties(), vkEnumeratePhysicalDevices(), vkGetPhysicalDeviceFeatures(), vkGetPhysicalDeviceProperties(), vkGetPhysicalDeviceQueueFamilyProperties(), vkGetPhysicalDeviceSurfaceSupportKHR(), and vulkanContext.
Referenced by initVulkan().
Definition at line 548 of file testvulkan.c.
References VulkanContext::device, VulkanContext::graphicsQueue, VulkanContext::graphicsQueueFamilyIndex, VulkanContext::presentQueue, VulkanContext::presentQueueFamilyIndex, vkGetDeviceQueue(), and vulkanContext.
Referenced by initVulkan().
Definition at line 586 of file testvulkan.c.
References getVulkanResultString(), VulkanContext::physicalDevice, quit(), SDL_LOG_CATEGORY_APPLICATION, SDL_LogError, VkSurfaceCapabilitiesKHR::supportedUsageFlags, VulkanContext::surface, VulkanContext::surfaceCapabilities, VK_IMAGE_USAGE_TRANSFER_DST_BIT, VK_SUCCESS, vkGetPhysicalDeviceSurfaceCapabilitiesKHR(), and vulkanContext.
Referenced by createNewSwapchainAndSwapchainSpecificStuff().
Definition at line 607 of file testvulkan.c.
References getVulkanResultString(), NULL, VulkanContext::physicalDevice, quit(), SDL_free, SDL_LOG_CATEGORY_APPLICATION, SDL_LogError, SDL_malloc, SDL_OutOfMemory, VulkanContext::surface, VulkanContext::surfaceFormats, VulkanContext::surfaceFormatsAllocatedCount, VulkanContext::surfaceFormatsCount, VK_SUCCESS, vkGetPhysicalDeviceSurfaceFormatsKHR(), and vulkanContext.
Referenced by createNewSwapchainAndSwapchainSpecificStuff().
Definition at line 648 of file testvulkan.c.
References VulkanContext::device, getVulkanResultString(), NULL, quit(), SDL_free, SDL_LOG_CATEGORY_APPLICATION, SDL_LogError, SDL_malloc, SDL_OutOfMemory, VulkanContext::swapchain, VulkanContext::swapchainImageCount, VulkanContext::swapchainImages, VK_SUCCESS, vkGetSwapchainImagesKHR(), and vulkanContext.
Referenced by createSwapchain().
|
static |
Definition at line 111 of file testvulkan.c.
References VK_ERROR_DEVICE_LOST, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_FORMAT_NOT_SUPPORTED, VK_ERROR_FRAGMENTED_POOL, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_INCOMPATIBLE_DRIVER, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_INVALID_SHADER_NV, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_MEMORY_MAP_FAILED, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_POOL_MEMORY_KHR, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_VALIDATION_FAILED_EXT, VK_EVENT_RESET, VK_EVENT_SET, VK_INCOMPLETE, VK_NOT_READY, VK_SUBOPTIMAL_KHR, VK_SUCCESS, and VK_TIMEOUT.
Referenced by createCommandBuffers(), createCommandPool(), createDevice(), createFences(), createInstance(), createSemaphore(), createSwapchain(), findPhysicalDevice(), getSurfaceCaps(), getSurfaceFormats(), getSwapchainImages(), render(), and rerecordCommandBuffer().
Definition at line 987 of file testvulkan.c.
References createDevice(), createInstance(), createNewSwapchainAndSwapchainSpecificStuff(), createSemaphores(), createSurface(), findPhysicalDevice(), getQueues(), loadDeviceFunctions(), loadGlobalFunctions(), loadInstanceFunctions(), NULL, SDL_memset, SDL_Vulkan_LoadLibrary, and vulkanContext.
Referenced by main().
Definition at line 528 of file testvulkan.c.
References VULKAN_FUNCTIONS.
Referenced by initVulkan().
Definition at line 217 of file testvulkan.c.
References quit(), SDL_GetError, SDL_LOG_CATEGORY_APPLICATION, SDL_LogError, SDL_Vulkan_GetVkGetInstanceProcAddr, vkGetInstanceProcAddr, and VULKAN_FUNCTIONS.
Referenced by initVulkan().
Definition at line 292 of file testvulkan.c.
References VULKAN_FUNCTIONS.
Referenced by initVulkan().
Definition at line 1118 of file testvulkan.c.
References done, frames, initVulkan(), SDLTest_CommonState::num_windows, quit(), render(), SDL_BITSPERPIXEL, SDL_GetCurrentDisplayMode, SDL_GetTicks(), SDL_GetWindowSize, SDL_INIT_VIDEO, SDL_Log, SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, SDL_LogSetPriority, SDL_PollEvent, SDL_Vulkan_GetDrawableSize, SDL_WINDOW_VULKAN, SDLTest_CommonCreateState(), SDLTest_CommonDefaultArgs(), SDLTest_CommonEvent(), SDLTest_CommonInit(), SDLTest_CommonQuit(), SDLTest_CommonState::skip_renderer, state, SDLTest_CommonState::window_flags, and SDLTest_CommonState::windows.
Definition at line 210 of file testvulkan.c.
References SDLTest_CommonQuit(), shutdownVulkan(), and state.
Referenced by createCommandBuffers(), createCommandPool(), createDevice(), createFences(), createInstance(), createSemaphore(), createSurface(), createSwapchain(), findPhysicalDevice(), getSurfaceCaps(), getSurfaceFormats(), getSwapchainImages(), loadGlobalFunctions(), main(), render(), and rerecordCommandBuffer().
|
static |
Definition at line 878 of file testvulkan.c.
References VkImageSubresourceRange::aspectMask, VkImageSubresourceRange::baseArrayLayer, VkImageSubresourceRange::baseMipLevel, VkImageMemoryBarrier::dstAccessMask, VkImageMemoryBarrier::dstQueueFamilyIndex, VkImageMemoryBarrier::image, VkImageSubresourceRange::layerCount, VkImageSubresourceRange::levelCount, VkImageMemoryBarrier::newLayout, NULL, VkImageMemoryBarrier::oldLayout, VkImageMemoryBarrier::srcAccessMask, VkImageMemoryBarrier::srcQueueFamilyIndex, VkImageMemoryBarrier::sType, VkImageMemoryBarrier::subresourceRange, VK_IMAGE_ASPECT_COLOR_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_QUEUE_FAMILY_IGNORED, VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, and vkCmdPipelineBarrier().
Referenced by rerecordCommandBuffer().
Definition at line 1022 of file testvulkan.c.
References VkSubmitInfo::commandBufferCount, VulkanContext::commandBuffers, createNewSwapchainAndSwapchainSpecificStuff(), VulkanContext::device, VulkanContext::fences, VkClearColorValue::float32, getVulkanResultString(), VulkanContext::graphicsQueue, VkExtent2D::height, VulkanContext::imageAvailableSemaphore, VkSubmitInfo::pCommandBuffers, VkPresentInfoKHR::pImageIndices, VulkanContext::presentQueue, VkSubmitInfo::pSignalSemaphores, VkPresentInfoKHR::pSwapchains, VkSubmitInfo::pWaitDstStageMask, VkSubmitInfo::pWaitSemaphores, VkPresentInfoKHR::pWaitSemaphores, quit(), VulkanContext::renderingFinishedSemaphore, rerecordCommandBuffer(), retval, SDL_Delay, SDL_GetPerformanceCounter, SDL_GetPerformanceFrequency(), SDL_LOG_CATEGORY_APPLICATION, SDL_LogError, SDL_sin, SDL_TRUE, SDL_Vulkan_GetDrawableSize, VkSubmitInfo::signalSemaphoreCount, state, VkSubmitInfo::sType, VkPresentInfoKHR::sType, VulkanContext::swapchain, VkPresentInfoKHR::swapchainCount, VulkanContext::swapchainSize, UINT64_MAX, VK_ERROR_OUT_OF_DATE_KHR, VK_FALSE, VK_NULL_HANDLE, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_STRUCTURE_TYPE_PRESENT_INFO_KHR, VK_STRUCTURE_TYPE_SUBMIT_INFO, VK_SUBOPTIMAL_KHR, VK_SUCCESS, vkAcquireNextImageKHR(), vkQueuePresentKHR(), vkQueueSubmit(), vkResetFences(), vkWaitForFences(), vulkanContext, VkSubmitInfo::waitSemaphoreCount, VkPresentInfoKHR::waitSemaphoreCount, VkExtent2D::width, and SDLTest_CommonState::windows.
Referenced by main().
|
static |
Definition at line 911 of file testvulkan.c.
References VkImageSubresourceRange::aspectMask, VkImageSubresourceRange::baseArrayLayer, VkImageSubresourceRange::baseMipLevel, VulkanContext::commandBuffers, VkCommandBufferBeginInfo::flags, getVulkanResultString(), VkImageSubresourceRange::layerCount, VkImageSubresourceRange::levelCount, quit(), recordPipelineImageBarrier(), SDL_LOG_CATEGORY_APPLICATION, SDL_LogError, VkCommandBufferBeginInfo::sType, VulkanContext::swapchainImages, VK_ACCESS_MEMORY_READ_BIT, VK_ACCESS_TRANSFER_WRITE_BIT, VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT, VK_IMAGE_ASPECT_COLOR_BIT, VK_IMAGE_LAYOUT_PRESENT_SRC_KHR, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, VK_IMAGE_LAYOUT_UNDEFINED, VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO, VK_SUCCESS, vkBeginCommandBuffer(), vkCmdClearColorImage(), vkEndCommandBuffer(), vkResetCommandBuffer(), and vulkanContext.
Referenced by render().
Definition at line 1003 of file testvulkan.c.
References destroySwapchainAndSwapchainSpecificStuff(), VulkanContext::device, VulkanContext::imageAvailableSemaphore, VulkanContext::instance, NULL, VulkanContext::renderingFinishedSemaphore, SDL_free, SDL_TRUE, SDL_Vulkan_UnloadLibrary, VulkanContext::surface, VulkanContext::surfaceFormats, vkDestroyDevice(), vkDestroyInstance(), vkDestroySemaphore(), vkDestroySurfaceKHR(), vkDeviceWaitIdle(), and vulkanContext.
Referenced by quit().
|
static |
Definition at line 204 of file testvulkan.c.
Referenced by createSurface(), createSwapchain(), main(), quit(), and render().
|
static |
Definition at line 94 of file testvulkan.c.
Referenced by loadGlobalFunctions().
|
static |
Definition at line 205 of file testvulkan.c.
Referenced by createCommandBuffers(), createCommandPool(), createDevice(), createFences(), createInstance(), createSemaphore(), createSemaphores(), createSurface(), createSwapchain(), destroyCommandBuffers(), destroyCommandPool(), destroyFences(), destroySwapchain(), findPhysicalDevice(), getQueues(), getSurfaceCaps(), getSurfaceFormats(), getSwapchainImages(), initVulkan(), render(), rerecordCommandBuffer(), and shutdownVulkan().