Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
vulkan.c File Reference
#include "internal.h"
#include <assert.h>
#include <string.h>
#include <stdlib.h>
+ Include dependency graph for vulkan.c:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _GLFW_FIND_LOADER   1
 
#define _GLFW_REQUIRE_LOADER   2
 

Functions

GLFWbool _glfwInitVulkan (int mode)
 
void _glfwTerminateVulkan (void)
 
const char * _glfwGetVulkanResultString (VkResult result)
 
GLFWAPI int glfwVulkanSupported (void)
 Returns whether the Vulkan loader and an ICD have been found. More...
 
GLFWAPI const char ** glfwGetRequiredInstanceExtensions (uint32_t *count)
 Returns the Vulkan instance extensions required by GLFW. More...
 
GLFWAPI GLFWvkproc glfwGetInstanceProcAddress (VkInstance instance, const char *procname)
 
GLFWAPI int glfwGetPhysicalDevicePresentationSupport (VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily)
 
GLFWAPI VkResult glfwCreateWindowSurface (VkInstance instance, GLFWwindow *handle, const VkAllocationCallbacks *allocator, VkSurfaceKHR *surface)
 

Macro Definition Documentation

◆ _GLFW_FIND_LOADER

#define _GLFW_FIND_LOADER   1

Definition at line 36 of file vulkan.c.

◆ _GLFW_REQUIRE_LOADER

#define _GLFW_REQUIRE_LOADER   2

Definition at line 37 of file vulkan.c.

Function Documentation

◆ _glfwGetVulkanResultString()

const char * _glfwGetVulkanResultString ( VkResult  result)

Definition at line 165 of file vulkan.c.

+ Here is the caller graph for this function:

◆ _glfwInitVulkan()

GLFWbool _glfwInitVulkan ( int  mode)

Definition at line 44 of file vulkan.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _glfwTerminateVulkan()

void _glfwTerminateVulkan ( void  )

Definition at line 157 of file vulkan.c.

+ Here is the caller graph for this function:

◆ glfwCreateWindowSurface()

GLFWAPI VkResult glfwCreateWindowSurface ( VkInstance  instance,
GLFWwindow handle,
const VkAllocationCallbacks allocator,
VkSurfaceKHR surface 
)

Definition at line 299 of file vulkan.c.

+ Here is the call graph for this function:

◆ glfwGetInstanceProcAddress()

GLFWAPI GLFWvkproc glfwGetInstanceProcAddress ( VkInstance  instance,
const char *  procname 
)

Definition at line 249 of file vulkan.c.

+ Here is the call graph for this function:

◆ glfwGetPhysicalDevicePresentationSupport()

GLFWAPI int glfwGetPhysicalDevicePresentationSupport ( VkInstance  instance,
VkPhysicalDevice  device,
uint32_t  queuefamily 
)

Definition at line 275 of file vulkan.c.

+ Here is the call graph for this function: