Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
internal.h File Reference
#include "../include/GLFW/glfw3.h"
#include "egl_context.h"
#include "osmesa_context.h"
+ Include dependency graph for internal.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  VkExtensionProperties
 
struct  _GLFWerror
 
struct  _GLFWinitconfig
 
struct  _GLFWwndconfig
 
struct  _GLFWctxconfig
 
struct  _GLFWfbconfig
 
struct  _GLFWcontext
 
struct  _GLFWwindow
 
struct  _GLFWmonitor
 
struct  _GLFWcursor
 
struct  _GLFWmapelement
 
struct  _GLFWmapping
 
struct  _GLFWjoystick
 
struct  _GLFWtls
 
struct  _GLFWmutex
 
struct  _GLFWlibrary
 

Macros

#define GLFW_INCLUDE_NONE
 
#define _GLFW_INSERT_FIRST   0
 
#define _GLFW_INSERT_LAST   1
 
#define _GLFW_POLL_PRESENCE   0
 
#define _GLFW_POLL_AXES   1
 
#define _GLFW_POLL_BUTTONS   2
 
#define _GLFW_POLL_ALL   (_GLFW_POLL_AXES | _GLFW_POLL_BUTTONS)
 
#define _GLFW_MESSAGE_SIZE   1024
 
#define GL_VERSION   0x1f02
 
#define GL_NONE   0
 
#define GL_COLOR_BUFFER_BIT   0x00004000
 
#define GL_UNSIGNED_BYTE   0x1401
 
#define GL_EXTENSIONS   0x1f03
 
#define GL_NUM_EXTENSIONS   0x821d
 
#define GL_CONTEXT_FLAGS   0x821e
 
#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT   0x00000001
 
#define GL_CONTEXT_FLAG_DEBUG_BIT   0x00000002
 
#define GL_CONTEXT_PROFILE_MASK   0x9126
 
#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT   0x00000002
 
#define GL_CONTEXT_CORE_PROFILE_BIT   0x00000001
 
#define GL_RESET_NOTIFICATION_STRATEGY_ARB   0x8256
 
#define GL_LOSE_CONTEXT_ON_RESET_ARB   0x8252
 
#define GL_NO_RESET_NOTIFICATION_ARB   0x8261
 
#define GL_CONTEXT_RELEASE_BEHAVIOR   0x82fb
 
#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH   0x82fc
 
#define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR   0x00000008
 
#define VK_NULL_HANDLE   0
 
#define vkEnumerateInstanceExtensionProperties   _glfw.vk.EnumerateInstanceExtensionProperties
 
#define vkGetInstanceProcAddr   _glfw.vk.GetInstanceProcAddr
 
#define _GLFW_CONCAT_VERSION(m, n, r)   #m "." #n "." #r
 
#define _GLFW_MAKE_VERSION(m, n, r)   _GLFW_CONCAT_VERSION(m, n, r)
 
#define _GLFW_VERSION_NUMBER
 
#define _GLFW_REQUIRE_INIT()
 
#define _GLFW_REQUIRE_INIT_OR_RETURN(x)
 
#define _GLFW_SWAP_POINTERS(x, y)
 

Typedefs

typedef int GLFWbool
 
typedef struct _GLFWerror _GLFWerror
 
typedef struct _GLFWinitconfig _GLFWinitconfig
 
typedef struct _GLFWwndconfig _GLFWwndconfig
 
typedef struct _GLFWctxconfig _GLFWctxconfig
 
typedef struct _GLFWfbconfig _GLFWfbconfig
 
typedef struct _GLFWcontext _GLFWcontext
 
typedef struct _GLFWwindow _GLFWwindow
 
typedef struct _GLFWlibrary _GLFWlibrary
 
typedef struct _GLFWmonitor _GLFWmonitor
 
typedef struct _GLFWcursor _GLFWcursor
 
typedef struct _GLFWmapelement _GLFWmapelement
 
typedef struct _GLFWmapping _GLFWmapping
 
typedef struct _GLFWjoystick _GLFWjoystick
 
typedef struct _GLFWtls _GLFWtls
 
typedef struct _GLFWmutex _GLFWmutex
 
typedef void(* _GLFWmakecontextcurrentfun) (_GLFWwindow *)
 
typedef void(* _GLFWswapbuffersfun) (_GLFWwindow *)
 
typedef void(* _GLFWswapintervalfun) (int)
 
typedef int(* _GLFWextensionsupportedfun) (const char *)
 
typedef GLFWglproc(* _GLFWgetprocaddressfun) (const char *)
 
typedef void(* _GLFWdestroycontextfun) (_GLFWwindow *)
 
typedef int GLint
 
typedef unsigned int GLuint
 
typedef unsigned int GLenum
 
typedef unsigned int GLbitfield
 
typedef unsigned char GLubyte
 
typedef void(APIENTRYPFNGLCLEARPROC) (GLbitfield)
 
typedef const GLubyte *(APIENTRYPFNGLGETSTRINGPROC) (GLenum)
 
typedef void(APIENTRYPFNGLGETINTEGERVPROC) (GLenum, GLint *)
 
typedef const GLubyte *(APIENTRYPFNGLGETSTRINGIPROC) (GLenum, GLuint)
 
typedef void * VkInstance
 
typedef void * VkPhysicalDevice
 
typedef uint64_t VkSurfaceKHR
 
typedef uint32_t VkFlags
 
typedef uint32_t VkBool32
 
typedef enum VkStructureType VkStructureType
 
typedef enum VkResult VkResult
 
typedef struct VkAllocationCallbacks VkAllocationCallbacks
 
typedef struct VkExtensionProperties VkExtensionProperties
 
typedef void(APIENTRYPFN_vkVoidFunction) (void)
 
typedef PFN_vkVoidFunction(APIENTRYPFN_vkGetInstanceProcAddr) (VkInstance, const char *)
 
typedef VkResult(APIENTRYPFN_vkEnumerateInstanceExtensionProperties) (const char *, uint32_t *, VkExtensionProperties *)
 

Enumerations

enum  VkStructureType {
  VK_STRUCTURE_TYPE_APPLICATION_INFO = 0 , VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO = 1 , VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO = 2 , VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO = 3 ,
  VK_STRUCTURE_TYPE_SUBMIT_INFO = 4 , VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO = 5 , VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE = 6 , VK_STRUCTURE_TYPE_BIND_SPARSE_INFO = 7 ,
  VK_STRUCTURE_TYPE_FENCE_CREATE_INFO = 8 , VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO = 9 , VK_STRUCTURE_TYPE_EVENT_CREATE_INFO = 10 , VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO = 11 ,
  VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO = 12 , VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO = 13 , VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO = 14 , VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO = 15 ,
  VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO = 16 , VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO = 17 , VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO = 18 , VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO = 19 ,
  VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO = 20 , VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO = 21 , VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO = 22 , VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO = 23 ,
  VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO = 24 , VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO = 25 , VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO = 26 , VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO = 27 ,
  VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO = 28 , VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO = 29 , VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO = 30 , VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO = 31 ,
  VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO = 32 , VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO = 33 , VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO = 34 , VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET = 35 ,
  VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET = 36 , VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO = 37 , VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO = 38 , VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO = 39 ,
  VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO = 40 , VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO = 41 , VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO = 42 , VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO = 43 ,
  VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER = 44 , VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER = 45 , VK_STRUCTURE_TYPE_MEMORY_BARRIER = 46 , VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO = 47 ,
  VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO = 48 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES = 1000094000 , VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO = 1000157000 , VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO = 1000157001 ,
  VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES = 1000083000 , VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS = 1000127000 , VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO = 1000127001 , VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO = 1000060000 ,
  VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO = 1000060003 , VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO = 1000060004 , VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO = 1000060005 , VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO = 1000060006 ,
  VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO = 1000060013 , VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO = 1000060014 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES = 1000070000 , VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO = 1000070001 ,
  VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2 = 1000146000 , VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2 = 1000146001 , VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2 = 1000146002 , VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2 = 1000146003 ,
  VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2 = 1000146004 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2 = 1000059000 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2 = 1000059001 , VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2 = 1000059002 ,
  VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2 = 1000059003 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2 = 1000059004 , VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2 = 1000059005 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2 = 1000059006 ,
  VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2 = 1000059007 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2 = 1000059008 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES = 1000117000 , VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO = 1000117001 ,
  VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO = 1000117002 , VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO = 1000117003 , VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO = 1000053000 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES = 1000053001 ,
  VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES = 1000053002 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES = 1000120000 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES , VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO = 1000145000 ,
  VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES = 1000145001 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES = 1000145002 , VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2 = 1000145003 , VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO = 1000156000 ,
  VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO = 1000156001 , VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO = 1000156002 , VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO = 1000156003 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES = 1000156004 ,
  VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES = 1000156005 , VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO = 1000085000 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO = 1000071000 , VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES = 1000071001 ,
  VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO = 1000071002 , VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES = 1000071003 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES = 1000071004 , VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO = 1000072000 ,
  VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO = 1000072001 , VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO = 1000072002 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO = 1000112000 , VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES = 1000112001 ,
  VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO = 1000113000 , VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO = 1000077000 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO = 1000076000 , VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES = 1000076001 ,
  VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES = 1000168000 , VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT = 1000168001 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES = 1000063000 , VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES ,
  VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR = 1000001000 , VK_STRUCTURE_TYPE_PRESENT_INFO_KHR = 1000001001 , VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR = 1000060007 , VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR = 1000060008 ,
  VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR = 1000060009 , VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR = 1000060010 , VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR = 1000060011 , VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR = 1000060012 ,
  VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT = 1000011000 , VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT = VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT , VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR = 1000004000 , VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR = 1000005000 ,
  VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR = 1000006000 , VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR = 1000009000 , VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK = 1000123000 , VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT = 1000217000 ,
  VK_STRUCTURE_TYPE_MAX_ENUM = 0x7FFFFFFF
}
 
enum  VkResult {
  VK_SUCCESS = 0 , VK_NOT_READY = 1 , VK_TIMEOUT = 2 , VK_EVENT_SET = 3 ,
  VK_EVENT_RESET = 4 , VK_INCOMPLETE = 5 , VK_ERROR_OUT_OF_HOST_MEMORY = -1 , VK_ERROR_OUT_OF_DEVICE_MEMORY = -2 ,
  VK_ERROR_INITIALIZATION_FAILED = -3 , VK_ERROR_DEVICE_LOST = -4 , VK_ERROR_MEMORY_MAP_FAILED = -5 , VK_ERROR_LAYER_NOT_PRESENT = -6 ,
  VK_ERROR_EXTENSION_NOT_PRESENT = -7 , VK_ERROR_FEATURE_NOT_PRESENT = -8 , VK_ERROR_INCOMPATIBLE_DRIVER = -9 , VK_ERROR_TOO_MANY_OBJECTS = -10 ,
  VK_ERROR_FORMAT_NOT_SUPPORTED = -11 , VK_ERROR_FRAGMENTED_POOL = -12 , VK_ERROR_OUT_OF_POOL_MEMORY = -1000069000 , VK_ERROR_INVALID_EXTERNAL_HANDLE = -1000072003 ,
  VK_ERROR_SURFACE_LOST_KHR = -1000000000 , VK_ERROR_NATIVE_WINDOW_IN_USE_KHR = -1000000001 , VK_SUBOPTIMAL_KHR = 1000001003 , VK_ERROR_OUT_OF_DATE_KHR = -1000001004 ,
  VK_ERROR_VALIDATION_FAILED_EXT = -1000011001 , VK_SUCCESS = 0 , VK_NOT_READY = 1 , VK_TIMEOUT = 2 ,
  VK_EVENT_SET = 3 , VK_EVENT_RESET = 4 , VK_INCOMPLETE = 5 , VK_ERROR_OUT_OF_HOST_MEMORY = -1 ,
  VK_ERROR_OUT_OF_DEVICE_MEMORY = -2 , VK_ERROR_INITIALIZATION_FAILED = -3 , VK_ERROR_DEVICE_LOST = -4 , VK_ERROR_MEMORY_MAP_FAILED = -5 ,
  VK_ERROR_LAYER_NOT_PRESENT = -6 , VK_ERROR_EXTENSION_NOT_PRESENT = -7 , VK_ERROR_FEATURE_NOT_PRESENT = -8 , VK_ERROR_INCOMPATIBLE_DRIVER = -9 ,
  VK_ERROR_TOO_MANY_OBJECTS = -10 , VK_ERROR_FORMAT_NOT_SUPPORTED = -11 , VK_ERROR_SURFACE_LOST_KHR = -1000000000 , VK_SUBOPTIMAL_KHR = 1000001003 ,
  VK_ERROR_OUT_OF_DATE_KHR = -1000001004 , VK_ERROR_INCOMPATIBLE_DISPLAY_KHR = -1000003001 , VK_ERROR_NATIVE_WINDOW_IN_USE_KHR = -1000000001 , VK_ERROR_VALIDATION_FAILED_EXT = -1000011001 ,
  VK_RESULT_MAX_ENUM = 0x7FFFFFFF
}
 

Functions

int _glfwPlatformInit (void)
 
void _glfwPlatformTerminate (void)
 
const char * _glfwPlatformGetVersionString (void)
 
void _glfwPlatformGetCursorPos (_GLFWwindow *window, double *xpos, double *ypos)
 
void _glfwPlatformSetCursorPos (_GLFWwindow *window, double xpos, double ypos)
 
void _glfwPlatformSetCursorMode (_GLFWwindow *window, int mode)
 
void _glfwPlatformSetRawMouseMotion (_GLFWwindow *window, GLFWbool enabled)
 
GLFWbool _glfwPlatformRawMouseMotionSupported (void)
 
int _glfwPlatformCreateCursor (_GLFWcursor *cursor, const GLFWimage *image, int xhot, int yhot)
 
int _glfwPlatformCreateStandardCursor (_GLFWcursor *cursor, int shape)
 
void _glfwPlatformDestroyCursor (_GLFWcursor *cursor)
 
void _glfwPlatformSetCursor (_GLFWwindow *window, _GLFWcursor *cursor)
 
const char * _glfwPlatformGetScancodeName (int scancode)
 
int _glfwPlatformGetKeyScancode (int key)
 
void _glfwPlatformFreeMonitor (_GLFWmonitor *monitor)
 
void _glfwPlatformGetMonitorPos (_GLFWmonitor *monitor, int *xpos, int *ypos)
 
void _glfwPlatformGetMonitorContentScale (_GLFWmonitor *monitor, float *xscale, float *yscale)
 
void _glfwPlatformGetMonitorWorkarea (_GLFWmonitor *monitor, int *xpos, int *ypos, int *width, int *height)
 
GLFWvidmode_glfwPlatformGetVideoModes (_GLFWmonitor *monitor, int *count)
 
void _glfwPlatformGetVideoMode (_GLFWmonitor *monitor, GLFWvidmode *mode)
 
GLFWbool _glfwPlatformGetGammaRamp (_GLFWmonitor *monitor, GLFWgammaramp *ramp)
 
void _glfwPlatformSetGammaRamp (_GLFWmonitor *monitor, const GLFWgammaramp *ramp)
 
void _glfwPlatformSetClipboardString (const char *string)
 
const char * _glfwPlatformGetClipboardString (void)
 
GLFWbool _glfwPlatformInitJoysticks (void)
 
void _glfwPlatformTerminateJoysticks (void)
 
int _glfwPlatformPollJoystick (_GLFWjoystick *js, int mode)
 
void _glfwPlatformUpdateGamepadGUID (char *guid)
 
uint64_t _glfwPlatformGetTimerValue (void)
 
uint64_t _glfwPlatformGetTimerFrequency (void)
 
int _glfwPlatformCreateWindow (_GLFWwindow *window, const _GLFWwndconfig *wndconfig, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig)
 
void _glfwPlatformDestroyWindow (_GLFWwindow *window)
 
void _glfwPlatformSetWindowTitle (_GLFWwindow *window, const char *title)
 
void _glfwPlatformSetWindowIcon (_GLFWwindow *window, int count, const GLFWimage *images)
 
void _glfwPlatformGetWindowPos (_GLFWwindow *window, int *xpos, int *ypos)
 
void _glfwPlatformSetWindowPos (_GLFWwindow *window, int xpos, int ypos)
 
void _glfwPlatformGetWindowSize (_GLFWwindow *window, int *width, int *height)
 
void _glfwPlatformSetWindowSize (_GLFWwindow *window, int width, int height)
 
void _glfwPlatformSetWindowSizeLimits (_GLFWwindow *window, int minwidth, int minheight, int maxwidth, int maxheight)
 
void _glfwPlatformSetWindowAspectRatio (_GLFWwindow *window, int numer, int denom)
 
void _glfwPlatformGetFramebufferSize (_GLFWwindow *window, int *width, int *height)
 
void _glfwPlatformGetWindowFrameSize (_GLFWwindow *window, int *left, int *top, int *right, int *bottom)
 
void _glfwPlatformGetWindowContentScale (_GLFWwindow *window, float *xscale, float *yscale)
 
void _glfwPlatformIconifyWindow (_GLFWwindow *window)
 
void _glfwPlatformRestoreWindow (_GLFWwindow *window)
 
void _glfwPlatformMaximizeWindow (_GLFWwindow *window)
 
void _glfwPlatformShowWindow (_GLFWwindow *window)
 
void _glfwPlatformHideWindow (_GLFWwindow *window)
 
void _glfwPlatformRequestWindowAttention (_GLFWwindow *window)
 
void _glfwPlatformFocusWindow (_GLFWwindow *window)
 
void _glfwPlatformSetWindowMonitor (_GLFWwindow *window, _GLFWmonitor *monitor, int xpos, int ypos, int width, int height, int refreshRate)
 
int _glfwPlatformWindowFocused (_GLFWwindow *window)
 
int _glfwPlatformWindowIconified (_GLFWwindow *window)
 
int _glfwPlatformWindowVisible (_GLFWwindow *window)
 
int _glfwPlatformWindowMaximized (_GLFWwindow *window)
 
int _glfwPlatformWindowHovered (_GLFWwindow *window)
 
int _glfwPlatformFramebufferTransparent (_GLFWwindow *window)
 
float _glfwPlatformGetWindowOpacity (_GLFWwindow *window)
 
void _glfwPlatformSetWindowResizable (_GLFWwindow *window, GLFWbool enabled)
 
void _glfwPlatformSetWindowDecorated (_GLFWwindow *window, GLFWbool enabled)
 
void _glfwPlatformSetWindowFloating (_GLFWwindow *window, GLFWbool enabled)
 
void _glfwPlatformSetWindowMousePassthrough (_GLFWwindow *window, GLFWbool enabled)
 
void _glfwPlatformSetWindowOpacity (_GLFWwindow *window, float opacity)
 
void _glfwPlatformPollEvents (void)
 
void _glfwPlatformWaitEvents (void)
 
void _glfwPlatformWaitEventsTimeout (double timeout)
 
void _glfwPlatformPostEmptyEvent (void)
 
EGLenum _glfwPlatformGetEGLPlatform (EGLint **attribs)
 
EGLNativeDisplayType _glfwPlatformGetEGLNativeDisplay (void)
 
EGLNativeWindowType _glfwPlatformGetEGLNativeWindow (_GLFWwindow *window)
 
void _glfwPlatformGetRequiredInstanceExtensions (char **extensions)
 
int _glfwPlatformGetPhysicalDevicePresentationSupport (VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily)
 
VkResult _glfwPlatformCreateWindowSurface (VkInstance instance, _GLFWwindow *window, const VkAllocationCallbacks *allocator, VkSurfaceKHR *surface)
 
GLFWbool _glfwPlatformCreateTls (_GLFWtls *tls)
 
void _glfwPlatformDestroyTls (_GLFWtls *tls)
 
void * _glfwPlatformGetTls (_GLFWtls *tls)
 
void _glfwPlatformSetTls (_GLFWtls *tls, void *value)
 
GLFWbool _glfwPlatformCreateMutex (_GLFWmutex *mutex)
 
void _glfwPlatformDestroyMutex (_GLFWmutex *mutex)
 
void _glfwPlatformLockMutex (_GLFWmutex *mutex)
 
void _glfwPlatformUnlockMutex (_GLFWmutex *mutex)
 
void _glfwInputWindowFocus (_GLFWwindow *window, GLFWbool focused)
 
void _glfwInputWindowPos (_GLFWwindow *window, int xpos, int ypos)
 
void _glfwInputWindowSize (_GLFWwindow *window, int width, int height)
 
void _glfwInputFramebufferSize (_GLFWwindow *window, int width, int height)
 
void _glfwInputWindowContentScale (_GLFWwindow *window, float xscale, float yscale)
 
void _glfwInputWindowIconify (_GLFWwindow *window, GLFWbool iconified)
 
void _glfwInputWindowMaximize (_GLFWwindow *window, GLFWbool maximized)
 
void _glfwInputWindowDamage (_GLFWwindow *window)
 
void _glfwInputWindowCloseRequest (_GLFWwindow *window)
 
void _glfwInputWindowMonitor (_GLFWwindow *window, _GLFWmonitor *monitor)
 
void _glfwInputKey (_GLFWwindow *window, int key, int scancode, int action, int mods)
 
void _glfwInputChar (_GLFWwindow *window, unsigned int codepoint, int mods, GLFWbool plain)
 
void _glfwInputScroll (_GLFWwindow *window, double xoffset, double yoffset)
 
void _glfwInputMouseClick (_GLFWwindow *window, int button, int action, int mods)
 
void _glfwInputCursorPos (_GLFWwindow *window, double xpos, double ypos)
 
void _glfwInputCursorEnter (_GLFWwindow *window, GLFWbool entered)
 
void _glfwInputDrop (_GLFWwindow *window, int count, const char **names)
 
void _glfwInputJoystick (_GLFWjoystick *js, int event)
 
void _glfwInputJoystickAxis (_GLFWjoystick *js, int axis, float value)
 
void _glfwInputJoystickButton (_GLFWjoystick *js, int button, char value)
 
void _glfwInputJoystickHat (_GLFWjoystick *js, int hat, char value)
 
void _glfwInputMonitor (_GLFWmonitor *monitor, int action, int placement)
 
void _glfwInputMonitorWindow (_GLFWmonitor *monitor, _GLFWwindow *window)
 
void _glfwInputError (int code, const char *format,...)
 
GLFWbool _glfwStringInExtensionString (const char *string, const char *extensions)
 
const _GLFWfbconfig_glfwChooseFBConfig (const _GLFWfbconfig *desired, const _GLFWfbconfig *alternatives, unsigned int count)
 
GLFWbool _glfwRefreshContextAttribs (_GLFWwindow *window, const _GLFWctxconfig *ctxconfig)
 
GLFWbool _glfwIsValidContextConfig (const _GLFWctxconfig *ctxconfig)
 
const GLFWvidmode_glfwChooseVideoMode (_GLFWmonitor *monitor, const GLFWvidmode *desired)
 
int _glfwCompareVideoModes (const GLFWvidmode *first, const GLFWvidmode *second)
 
_GLFWmonitor_glfwAllocMonitor (const char *name, int widthMM, int heightMM)
 
void _glfwFreeMonitor (_GLFWmonitor *monitor)
 
void _glfwAllocGammaArrays (GLFWgammaramp *ramp, unsigned int size)
 
void _glfwFreeGammaArrays (GLFWgammaramp *ramp)
 
void _glfwSplitBPP (int bpp, int *red, int *green, int *blue)
 
_GLFWjoystick_glfwAllocJoystick (const char *name, const char *guid, int axisCount, int buttonCount, int hatCount)
 
void _glfwFreeJoystick (_GLFWjoystick *js)
 
void _glfwCenterCursorInContentArea (_GLFWwindow *window)
 
GLFWbool _glfwInitVulkan (int mode)
 
void _glfwTerminateVulkan (void)
 
const char * _glfwGetVulkanResultString (VkResult result)
 
char * _glfw_strdup (const char *source)
 
float _glfw_fminf (float a, float b)
 
float _glfw_fmaxf (float a, float b)
 

Variables

_GLFWlibrary _glfw
 

Macro Definition Documentation

◆ _GLFW_CONCAT_VERSION

#define _GLFW_CONCAT_VERSION (   m,
  n,
 
)    #m "." #n "." #r

Definition at line 201 of file internal.h.

◆ _GLFW_INSERT_FIRST

#define _GLFW_INSERT_FIRST   0

Definition at line 51 of file internal.h.

◆ _GLFW_INSERT_LAST

#define _GLFW_INSERT_LAST   1

Definition at line 52 of file internal.h.

◆ _GLFW_MAKE_VERSION

#define _GLFW_MAKE_VERSION (   m,
  n,
 
)    _GLFW_CONCAT_VERSION(m, n, r)

Definition at line 202 of file internal.h.

◆ _GLFW_MESSAGE_SIZE

#define _GLFW_MESSAGE_SIZE   1024

Definition at line 59 of file internal.h.

◆ _GLFW_POLL_ALL

#define _GLFW_POLL_ALL   (_GLFW_POLL_AXES | _GLFW_POLL_BUTTONS)

Definition at line 57 of file internal.h.

◆ _GLFW_POLL_AXES

#define _GLFW_POLL_AXES   1

Definition at line 55 of file internal.h.

◆ _GLFW_POLL_BUTTONS

#define _GLFW_POLL_BUTTONS   2

Definition at line 56 of file internal.h.

◆ _GLFW_POLL_PRESENCE

#define _GLFW_POLL_PRESENCE   0

Definition at line 54 of file internal.h.

◆ _GLFW_REQUIRE_INIT

#define _GLFW_REQUIRE_INIT ( )
Value:
{ \
_glfwInputError(GLFW_NOT_INITIALIZED, NULL); \
return; \
}
#define GLFW_NOT_INITIALIZED
GLFW has not been initialized.
Definition: glfw3.h:677
_GLFWlibrary _glfw
Definition: init.c:46
#define NULL
Definition: miniaudio.h:3718
GLFWbool initialized
Definition: internal.h:529

Definition at line 208 of file internal.h.

◆ _GLFW_REQUIRE_INIT_OR_RETURN

#define _GLFW_REQUIRE_INIT_OR_RETURN (   x)
Value:
{ \
_glfwInputError(GLFW_NOT_INITIALIZED, NULL); \
return x; \
}

Definition at line 214 of file internal.h.

◆ _GLFW_SWAP_POINTERS

#define _GLFW_SWAP_POINTERS (   x,
 
)
Value:
{ \
void* t; \
t = x; \
x = y; \
y = t; \
}

Definition at line 222 of file internal.h.

◆ _GLFW_VERSION_NUMBER

#define _GLFW_VERSION_NUMBER
Value:
#define GLFW_VERSION_MAJOR
The major version number of the GLFW header.
Definition: glfw3.h:285
#define GLFW_VERSION_REVISION
The revision number of the GLFW header.
Definition: glfw3.h:299
#define GLFW_VERSION_MINOR
The minor version number of the GLFW header.
Definition: glfw3.h:292
#define _GLFW_MAKE_VERSION(m, n, r)
Definition: internal.h:202

Definition at line 203 of file internal.h.

◆ GL_COLOR_BUFFER_BIT

#define GL_COLOR_BUFFER_BIT   0x00004000

Definition at line 88 of file internal.h.

◆ GL_CONTEXT_COMPATIBILITY_PROFILE_BIT

#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT   0x00000002

Definition at line 96 of file internal.h.

◆ GL_CONTEXT_CORE_PROFILE_BIT

#define GL_CONTEXT_CORE_PROFILE_BIT   0x00000001

Definition at line 97 of file internal.h.

◆ GL_CONTEXT_FLAG_DEBUG_BIT

#define GL_CONTEXT_FLAG_DEBUG_BIT   0x00000002

Definition at line 94 of file internal.h.

◆ GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT

#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT   0x00000001

Definition at line 93 of file internal.h.

◆ GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR

#define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR   0x00000008

Definition at line 103 of file internal.h.

◆ GL_CONTEXT_FLAGS

#define GL_CONTEXT_FLAGS   0x821e

Definition at line 92 of file internal.h.

◆ GL_CONTEXT_PROFILE_MASK

#define GL_CONTEXT_PROFILE_MASK   0x9126

Definition at line 95 of file internal.h.

◆ GL_CONTEXT_RELEASE_BEHAVIOR

#define GL_CONTEXT_RELEASE_BEHAVIOR   0x82fb

Definition at line 101 of file internal.h.

◆ GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH

#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH   0x82fc

Definition at line 102 of file internal.h.

◆ GL_EXTENSIONS

#define GL_EXTENSIONS   0x1f03

Definition at line 90 of file internal.h.

◆ GL_LOSE_CONTEXT_ON_RESET_ARB

#define GL_LOSE_CONTEXT_ON_RESET_ARB   0x8252

Definition at line 99 of file internal.h.

◆ GL_NO_RESET_NOTIFICATION_ARB

#define GL_NO_RESET_NOTIFICATION_ARB   0x8261

Definition at line 100 of file internal.h.

◆ GL_NONE

#define GL_NONE   0

Definition at line 87 of file internal.h.

◆ GL_NUM_EXTENSIONS

#define GL_NUM_EXTENSIONS   0x821d

Definition at line 91 of file internal.h.

◆ GL_RESET_NOTIFICATION_STRATEGY_ARB

#define GL_RESET_NOTIFICATION_STRATEGY_ARB   0x8256

Definition at line 98 of file internal.h.

◆ GL_UNSIGNED_BYTE

#define GL_UNSIGNED_BYTE   0x1401

Definition at line 89 of file internal.h.

◆ GL_VERSION

#define GL_VERSION   0x1f02

Definition at line 86 of file internal.h.

◆ GLFW_INCLUDE_NONE

#define GLFW_INCLUDE_NONE

Definition at line 48 of file internal.h.

◆ VK_NULL_HANDLE

#define VK_NULL_HANDLE   0

Definition at line 116 of file internal.h.

◆ vkEnumerateInstanceExtensionProperties

#define vkEnumerateInstanceExtensionProperties   _glfw.vk.EnumerateInstanceExtensionProperties

Definition at line 179 of file internal.h.

◆ vkGetInstanceProcAddr

#define vkGetInstanceProcAddr   _glfw.vk.GetInstanceProcAddr

Definition at line 180 of file internal.h.

Typedef Documentation

◆ _GLFWcontext

typedef struct _GLFWcontext _GLFWcontext

Definition at line 68 of file internal.h.

◆ _GLFWctxconfig

Definition at line 66 of file internal.h.

◆ _GLFWcursor

typedef struct _GLFWcursor _GLFWcursor

Definition at line 72 of file internal.h.

◆ _GLFWdestroycontextfun

typedef void(* _GLFWdestroycontextfun) (_GLFWwindow *)

Definition at line 84 of file internal.h.

◆ _GLFWerror

typedef struct _GLFWerror _GLFWerror

Definition at line 63 of file internal.h.

◆ _GLFWextensionsupportedfun

typedef int(* _GLFWextensionsupportedfun) (const char *)

Definition at line 82 of file internal.h.

◆ _GLFWfbconfig

typedef struct _GLFWfbconfig _GLFWfbconfig

Definition at line 67 of file internal.h.

◆ _GLFWgetprocaddressfun

typedef GLFWglproc(* _GLFWgetprocaddressfun) (const char *)

Definition at line 83 of file internal.h.

◆ _GLFWinitconfig

Definition at line 64 of file internal.h.

◆ _GLFWjoystick

typedef struct _GLFWjoystick _GLFWjoystick

Definition at line 75 of file internal.h.

◆ _GLFWlibrary

typedef struct _GLFWlibrary _GLFWlibrary

Definition at line 70 of file internal.h.

◆ _GLFWmakecontextcurrentfun

typedef void(* _GLFWmakecontextcurrentfun) (_GLFWwindow *)

Definition at line 79 of file internal.h.

◆ _GLFWmapelement

Definition at line 73 of file internal.h.

◆ _GLFWmapping

typedef struct _GLFWmapping _GLFWmapping

Definition at line 74 of file internal.h.

◆ _GLFWmonitor

typedef struct _GLFWmonitor _GLFWmonitor

Definition at line 71 of file internal.h.

◆ _GLFWmutex

typedef struct _GLFWmutex _GLFWmutex

Definition at line 77 of file internal.h.

◆ _GLFWswapbuffersfun

typedef void(* _GLFWswapbuffersfun) (_GLFWwindow *)

Definition at line 80 of file internal.h.

◆ _GLFWswapintervalfun

typedef void(* _GLFWswapintervalfun) (int)

Definition at line 81 of file internal.h.

◆ _GLFWtls

typedef struct _GLFWtls _GLFWtls

Definition at line 76 of file internal.h.

◆ _GLFWwindow

typedef struct _GLFWwindow _GLFWwindow

Definition at line 69 of file internal.h.

◆ _GLFWwndconfig

Definition at line 65 of file internal.h.

◆ GLbitfield

typedef unsigned int GLbitfield

Definition at line 108 of file internal.h.

◆ GLenum

typedef unsigned int GLenum

Definition at line 107 of file internal.h.

◆ GLFWbool

typedef int GLFWbool

Definition at line 61 of file internal.h.

◆ GLint

typedef int GLint

Definition at line 105 of file internal.h.

◆ GLubyte

typedef unsigned char GLubyte

Definition at line 109 of file internal.h.

◆ GLuint

typedef unsigned int GLuint

Definition at line 106 of file internal.h.

◆ PFN_vkEnumerateInstanceExtensionProperties

typedef VkResult(APIENTRY * PFN_vkEnumerateInstanceExtensionProperties) (const char *, uint32_t *, VkExtensionProperties *)

Definition at line 178 of file internal.h.

◆ PFN_vkGetInstanceProcAddr

typedef PFN_vkVoidFunction(APIENTRY * PFN_vkGetInstanceProcAddr) (VkInstance, const char *)

Definition at line 177 of file internal.h.

◆ PFN_vkVoidFunction

typedef void(APIENTRY * PFN_vkVoidFunction) (void)

Definition at line 171 of file internal.h.

◆ PFNGLCLEARPROC

typedef void(APIENTRY * PFNGLCLEARPROC) (GLbitfield)

Definition at line 111 of file internal.h.

◆ PFNGLGETINTEGERVPROC

typedef void(APIENTRY * PFNGLGETINTEGERVPROC) (GLenum, GLint *)

Definition at line 113 of file internal.h.

◆ PFNGLGETSTRINGIPROC

typedef const GLubyte *(APIENTRY * PFNGLGETSTRINGIPROC) (GLenum, GLuint)

Definition at line 114 of file internal.h.

◆ PFNGLGETSTRINGPROC

typedef const GLubyte *(APIENTRY * PFNGLGETSTRINGPROC) (GLenum)

Definition at line 112 of file internal.h.

◆ VkAllocationCallbacks

Definition at line 163 of file internal.h.

◆ VkBool32

typedef uint32_t VkBool32

Definition at line 122 of file internal.h.

◆ VkExtensionProperties

◆ VkFlags

typedef uint32_t VkFlags

Definition at line 121 of file internal.h.

◆ VkInstance

typedef void* VkInstance

Definition at line 118 of file internal.h.

◆ VkPhysicalDevice

typedef void* VkPhysicalDevice

Definition at line 119 of file internal.h.

◆ VkResult

typedef enum VkResult VkResult

◆ VkStructureType

◆ VkSurfaceKHR

Definition at line 120 of file internal.h.

Enumeration Type Documentation

◆ VkResult

enum VkResult
Enumerator
VK_SUCCESS 
VK_NOT_READY 
VK_TIMEOUT 
VK_EVENT_SET 
VK_EVENT_RESET 
VK_INCOMPLETE 
VK_ERROR_OUT_OF_HOST_MEMORY 
VK_ERROR_OUT_OF_DEVICE_MEMORY 
VK_ERROR_INITIALIZATION_FAILED 
VK_ERROR_DEVICE_LOST 
VK_ERROR_MEMORY_MAP_FAILED 
VK_ERROR_LAYER_NOT_PRESENT 
VK_ERROR_EXTENSION_NOT_PRESENT 
VK_ERROR_FEATURE_NOT_PRESENT 
VK_ERROR_INCOMPATIBLE_DRIVER 
VK_ERROR_TOO_MANY_OBJECTS 
VK_ERROR_FORMAT_NOT_SUPPORTED 
VK_ERROR_FRAGMENTED_POOL 
VK_ERROR_OUT_OF_POOL_MEMORY 
VK_ERROR_INVALID_EXTERNAL_HANDLE 
VK_ERROR_SURFACE_LOST_KHR 
VK_ERROR_NATIVE_WINDOW_IN_USE_KHR 
VK_SUBOPTIMAL_KHR 
VK_ERROR_OUT_OF_DATE_KHR 
VK_ERROR_VALIDATION_FAILED_EXT 
VK_SUCCESS 
VK_NOT_READY 
VK_TIMEOUT 
VK_EVENT_SET 
VK_EVENT_RESET 
VK_INCOMPLETE 
VK_ERROR_OUT_OF_HOST_MEMORY 
VK_ERROR_OUT_OF_DEVICE_MEMORY 
VK_ERROR_INITIALIZATION_FAILED 
VK_ERROR_DEVICE_LOST 
VK_ERROR_MEMORY_MAP_FAILED 
VK_ERROR_LAYER_NOT_PRESENT 
VK_ERROR_EXTENSION_NOT_PRESENT 
VK_ERROR_FEATURE_NOT_PRESENT 
VK_ERROR_INCOMPATIBLE_DRIVER 
VK_ERROR_TOO_MANY_OBJECTS 
VK_ERROR_FORMAT_NOT_SUPPORTED 
VK_ERROR_SURFACE_LOST_KHR 
VK_SUBOPTIMAL_KHR 
VK_ERROR_OUT_OF_DATE_KHR 
VK_ERROR_INCOMPATIBLE_DISPLAY_KHR 
VK_ERROR_NATIVE_WINDOW_IN_USE_KHR 
VK_ERROR_VALIDATION_FAILED_EXT 
VK_RESULT_MAX_ENUM 

Definition at line 135 of file internal.h.

◆ VkStructureType

Enumerator
VK_STRUCTURE_TYPE_APPLICATION_INFO 
VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO 
VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO 
VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO 
VK_STRUCTURE_TYPE_SUBMIT_INFO 
VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO 
VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE 
VK_STRUCTURE_TYPE_BIND_SPARSE_INFO 
VK_STRUCTURE_TYPE_FENCE_CREATE_INFO 
VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO 
VK_STRUCTURE_TYPE_EVENT_CREATE_INFO 
VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO 
VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO 
VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO 
VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO 
VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO 
VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO 
VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO 
VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO 
VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO 
VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO 
VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO 
VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO 
VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO 
VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO 
VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO 
VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO 
VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO 
VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO 
VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO 
VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO 
VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO 
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO 
VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO 
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO 
VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET 
VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET 
VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO 
VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO 
VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO 
VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO 
VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO 
VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO 
VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO 
VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER 
VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER 
VK_STRUCTURE_TYPE_MEMORY_BARRIER 
VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO 
VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES 
VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO 
VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES 
VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS 
VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO 
VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO 
VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO 
VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO 
VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO 
VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO 
VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO 
VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES 
VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO 
VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2 
VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2 
VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2 
VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2 
VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2 
VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2 
VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2 
VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2 
VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES 
VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO 
VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO 
VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO 
VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES 
VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES 
VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2 
VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO 
VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO 
VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO 
VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES 
VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES 
VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO 
VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO 
VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES 
VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO 
VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO 
VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO 
VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES 
VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO 
VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO 
VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES 
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES 
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES 
VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR 
VK_STRUCTURE_TYPE_PRESENT_INFO_KHR 
VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR 
VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR 
VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR 
VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR 
VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR 
VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR 
VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT 
VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT 
VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR 
VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR 
VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR 
VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR 
VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK 
VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT 
VK_STRUCTURE_TYPE_MAX_ENUM 

Definition at line 124 of file internal.h.

Function Documentation

◆ _glfw_fmaxf()

float _glfw_fmaxf ( float  a,
float  b 
)

Definition at line 141 of file init.c.

+ Here is the caller graph for this function:

◆ _glfw_fminf()

float _glfw_fminf ( float  a,
float  b 
)

Definition at line 129 of file init.c.

+ Here is the caller graph for this function:

◆ _glfw_strdup()

char * _glfw_strdup ( const char *  source)

Definition at line 121 of file init.c.

+ Here is the caller graph for this function:

◆ _glfwAllocGammaArrays()

void _glfwAllocGammaArrays ( GLFWgammaramp ramp,
unsigned int  size 
)

Definition at line 196 of file monitor.c.

+ Here is the caller graph for this function:

◆ _glfwAllocJoystick()

_GLFWjoystick * _glfwAllocJoystick ( const char *  name,
const char *  guid,
int  axisCount,
int  buttonCount,
int  hatCount 
)

Definition at line 429 of file input.c.

+ Here is the caller graph for this function:

◆ _glfwAllocMonitor()

_GLFWmonitor * _glfwAllocMonitor ( const char *  name,
int  widthMM,
int  heightMM 
)

Definition at line 167 of file monitor.c.

+ Here is the caller graph for this function:

◆ _glfwCenterCursorInContentArea()

void _glfwCenterCursorInContentArea ( _GLFWwindow window)

Definition at line 475 of file input.c.

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

◆ _glfwChooseFBConfig()

const _GLFWfbconfig * _glfwChooseFBConfig ( const _GLFWfbconfig desired,
const _GLFWfbconfig alternatives,
unsigned int  count 
)

Definition at line 178 of file context.c.

◆ _glfwChooseVideoMode()

const GLFWvidmode * _glfwChooseVideoMode ( _GLFWmonitor monitor,
const GLFWvidmode desired 
)

Definition at line 217 of file monitor.c.

+ Here is the caller graph for this function:

◆ _glfwCompareVideoModes()

int _glfwCompareVideoModes ( const GLFWvidmode first,
const GLFWvidmode second 
)

Definition at line 269 of file monitor.c.

+ Here is the caller graph for this function:

◆ _glfwFreeGammaArrays()

void _glfwFreeGammaArrays ( GLFWgammaramp ramp)

Definition at line 206 of file monitor.c.

+ Here is the caller graph for this function:

◆ _glfwFreeJoystick()

void _glfwFreeJoystick ( _GLFWjoystick js)

Definition at line 465 of file input.c.

◆ _glfwFreeMonitor()

void _glfwFreeMonitor ( _GLFWmonitor monitor)

Definition at line 180 of file monitor.c.

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

◆ _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:

◆ _glfwInputChar()

void _glfwInputChar ( _GLFWwindow window,
unsigned int  codepoint,
int  mods,
GLFWbool  plain 
)

Definition at line 308 of file input.c.

◆ _glfwInputCursorEnter()

void _glfwInputCursorEnter ( _GLFWwindow window,
GLFWbool  entered 
)

Definition at line 370 of file input.c.

+ Here is the caller graph for this function:

◆ _glfwInputCursorPos()

void _glfwInputCursorPos ( _GLFWwindow window,
double  xpos,
double  ypos 
)

Definition at line 356 of file input.c.

◆ _glfwInputDrop()

void _glfwInputDrop ( _GLFWwindow window,
int  count,
const char **  names 
)

Definition at line 378 of file input.c.

◆ _glfwInputError()

void _glfwInputError ( int  code,
const char *  format,
  ... 
)

Definition at line 160 of file init.c.

+ Here is the call graph for this function:

◆ _glfwInputFramebufferSize()

void _glfwInputFramebufferSize ( _GLFWwindow window,
int  width,
int  height 
)

Definition at line 108 of file window.c.

+ Here is the caller graph for this function:

◆ _glfwInputJoystick()

void _glfwInputJoystick ( _GLFWjoystick js,
int  event 
)

Definition at line 386 of file input.c.

+ Here is the caller graph for this function:

◆ _glfwInputJoystickAxis()

void _glfwInputJoystickAxis ( _GLFWjoystick js,
int  axis,
float  value 
)

Definition at line 396 of file input.c.

+ Here is the caller graph for this function:

◆ _glfwInputJoystickButton()

void _glfwInputJoystickButton ( _GLFWjoystick js,
int  button,
char  value 
)

Definition at line 403 of file input.c.

+ Here is the caller graph for this function:

◆ _glfwInputJoystickHat()

void _glfwInputJoystickHat ( _GLFWjoystick js,
int  hat,
char  value 
)

Definition at line 410 of file input.c.

+ Here is the caller graph for this function:

◆ _glfwInputKey()

void _glfwInputKey ( _GLFWwindow window,
int  key,
int  scancode,
int  action,
int  mods 
)

Definition at line 277 of file input.c.

+ Here is the caller graph for this function:

◆ _glfwInputMonitor()

void _glfwInputMonitor ( _GLFWmonitor monitor,
int  action,
int  placement 
)

Definition at line 97 of file monitor.c.

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

◆ _glfwInputMonitorWindow()

void _glfwInputMonitorWindow ( _GLFWmonitor monitor,
_GLFWwindow window 
)

Definition at line 155 of file monitor.c.

◆ _glfwInputMouseClick()

void _glfwInputMouseClick ( _GLFWwindow window,
int  button,
int  action,
int  mods 
)

Definition at line 336 of file input.c.

+ Here is the caller graph for this function:

◆ _glfwInputScroll()

void _glfwInputScroll ( _GLFWwindow window,
double  xoffset,
double  yoffset 
)

Definition at line 328 of file input.c.

◆ _glfwInputWindowCloseRequest()

void _glfwInputWindowCloseRequest ( _GLFWwindow window)

Definition at line 133 of file window.c.

+ Here is the caller graph for this function:

◆ _glfwInputWindowContentScale()

void _glfwInputWindowContentScale ( _GLFWwindow window,
float  xscale,
float  yscale 
)

Definition at line 117 of file window.c.

◆ _glfwInputWindowDamage()

void _glfwInputWindowDamage ( _GLFWwindow window)

Definition at line 125 of file window.c.

◆ _glfwInputWindowFocus()

void _glfwInputWindowFocus ( _GLFWwindow window,
GLFWbool  focused 
)

Definition at line 45 of file window.c.

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

◆ _glfwInputWindowIconify()

void _glfwInputWindowIconify ( _GLFWwindow window,
GLFWbool  iconified 
)

Definition at line 91 of file window.c.

+ Here is the caller graph for this function:

◆ _glfwInputWindowMaximize()

void _glfwInputWindowMaximize ( _GLFWwindow window,
GLFWbool  maximized 
)

Definition at line 99 of file window.c.

+ Here is the caller graph for this function:

◆ _glfwInputWindowMonitor()

void _glfwInputWindowMonitor ( _GLFWwindow window,
_GLFWmonitor monitor 
)

Definition at line 143 of file window.c.

+ Here is the caller graph for this function:

◆ _glfwInputWindowPos()

void _glfwInputWindowPos ( _GLFWwindow window,
int  xpos,
int  ypos 
)

Definition at line 74 of file window.c.

+ Here is the caller graph for this function:

◆ _glfwInputWindowSize()

void _glfwInputWindowSize ( _GLFWwindow window,
int  width,
int  height 
)

Definition at line 83 of file window.c.

+ Here is the caller graph for this function:

◆ _glfwIsValidContextConfig()

GLFWbool _glfwIsValidContextConfig ( const _GLFWctxconfig ctxconfig)

Definition at line 49 of file context.c.

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

◆ _glfwPlatformCreateCursor()

int _glfwPlatformCreateCursor ( _GLFWcursor cursor,
const GLFWimage image,
int  xhot,
int  yhot 
)

Definition at line 1588 of file cocoa_window.m.

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

◆ _glfwPlatformCreateMutex()

GLFWbool _glfwPlatformCreateMutex ( _GLFWmutex mutex)

Definition at line 74 of file posix_thread.c.

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

◆ _glfwPlatformCreateStandardCursor()

int _glfwPlatformCreateStandardCursor ( _GLFWcursor cursor,
int  shape 
)

Definition at line 1632 of file cocoa_window.m.

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

◆ _glfwPlatformCreateTls()

GLFWbool _glfwPlatformCreateTls ( _GLFWtls tls)

Definition at line 40 of file posix_thread.c.

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

◆ _glfwPlatformCreateWindow()

int _glfwPlatformCreateWindow ( _GLFWwindow window,
const _GLFWwndconfig wndconfig,
const _GLFWctxconfig ctxconfig,
const _GLFWfbconfig fbconfig 
)

Definition at line 899 of file cocoa_window.m.

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

◆ _glfwPlatformCreateWindowSurface()

VkResult _glfwPlatformCreateWindowSurface ( VkInstance  instance,
_GLFWwindow window,
const VkAllocationCallbacks allocator,
VkSurfaceKHR surface 
)

Definition at line 1822 of file cocoa_window.m.

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

◆ _glfwPlatformDestroyCursor()

void _glfwPlatformDestroyCursor ( _GLFWcursor cursor)

Definition at line 1706 of file cocoa_window.m.

+ Here is the caller graph for this function:

◆ _glfwPlatformDestroyMutex()

void _glfwPlatformDestroyMutex ( _GLFWmutex mutex)

Definition at line 87 of file posix_thread.c.

◆ _glfwPlatformDestroyTls()

void _glfwPlatformDestroyTls ( _GLFWtls tls)

Definition at line 55 of file posix_thread.c.

◆ _glfwPlatformDestroyWindow()

void _glfwPlatformDestroyWindow ( _GLFWwindow window)

Definition at line 951 of file cocoa_window.m.

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

◆ _glfwPlatformFocusWindow()

void _glfwPlatformFocusWindow ( _GLFWwindow window)

Definition at line 1192 of file cocoa_window.m.

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

◆ _glfwPlatformFramebufferTransparent()

int _glfwPlatformFramebufferTransparent ( _GLFWwindow window)

Definition at line 1343 of file cocoa_window.m.

+ Here is the caller graph for this function:

◆ _glfwPlatformFreeMonitor()

void _glfwPlatformFreeMonitor ( _GLFWmonitor monitor)

Definition at line 450 of file cocoa_monitor.m.

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

◆ _glfwPlatformGetClipboardString()

const char * _glfwPlatformGetClipboardString ( void  )

Definition at line 1731 of file cocoa_window.m.

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

◆ _glfwPlatformGetCursorPos()

void _glfwPlatformGetCursorPos ( _GLFWwindow window,
double *  xpos,
double *  ypos 
)

Definition at line 1479 of file cocoa_window.m.

+ Here is the caller graph for this function:

◆ _glfwPlatformGetEGLNativeDisplay()

EGLNativeDisplayType _glfwPlatformGetEGLNativeDisplay ( void  )

Definition at line 1791 of file cocoa_window.m.

+ Here is the caller graph for this function:

◆ _glfwPlatformGetEGLNativeWindow()

EGLNativeWindowType _glfwPlatformGetEGLNativeWindow ( _GLFWwindow window)

Definition at line 1796 of file cocoa_window.m.

+ Here is the caller graph for this function:

◆ _glfwPlatformGetEGLPlatform()

EGLenum _glfwPlatformGetEGLPlatform ( EGLint **  attribs)

Definition at line 1760 of file cocoa_window.m.

+ Here is the caller graph for this function:

◆ _glfwPlatformGetFramebufferSize()

void _glfwPlatformGetFramebufferSize ( _GLFWwindow window,
int *  width,
int *  height 
)

Definition at line 1092 of file cocoa_window.m.

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

◆ _glfwPlatformGetGammaRamp()

GLFWbool _glfwPlatformGetGammaRamp ( _GLFWmonitor monitor,
GLFWgammaramp ramp 
)

Definition at line 567 of file cocoa_monitor.m.

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

◆ _glfwPlatformGetKeyScancode()

int _glfwPlatformGetKeyScancode ( int  key)

Definition at line 1583 of file cocoa_window.m.

+ Here is the caller graph for this function:

◆ _glfwPlatformGetMonitorContentScale()

void _glfwPlatformGetMonitorContentScale ( _GLFWmonitor monitor,
float *  xscale,
float *  yscale 
)

Definition at line 468 of file cocoa_monitor.m.

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

◆ _glfwPlatformGetMonitorPos()

void _glfwPlatformGetMonitorPos ( _GLFWmonitor monitor,
int *  xpos,
int *  ypos 
)

Definition at line 454 of file cocoa_monitor.m.

+ Here is the caller graph for this function:

◆ _glfwPlatformGetMonitorWorkarea()

void _glfwPlatformGetMonitorWorkarea ( _GLFWmonitor monitor,
int *  xpos,
int *  ypos,
int *  width,
int *  height 
)

Definition at line 490 of file cocoa_monitor.m.

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

◆ _glfwPlatformGetPhysicalDevicePresentationSupport()

int _glfwPlatformGetPhysicalDevicePresentationSupport ( VkInstance  instance,
VkPhysicalDevice  device,
uint32_t  queuefamily 
)

Definition at line 1815 of file cocoa_window.m.

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

◆ _glfwPlatformGetRequiredInstanceExtensions()

void _glfwPlatformGetRequiredInstanceExtensions ( char **  extensions)

Definition at line 1801 of file cocoa_window.m.

+ Here is the caller graph for this function:

◆ _glfwPlatformGetScancodeName()

const char * _glfwPlatformGetScancodeName ( int  scancode)

Definition at line 1534 of file cocoa_window.m.

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

◆ _glfwPlatformGetTimerFrequency()

uint64_t _glfwPlatformGetTimerFrequency ( void  )

Definition at line 58 of file cocoa_time.c.

+ Here is the caller graph for this function:

◆ _glfwPlatformGetTimerValue()

uint64_t _glfwPlatformGetTimerValue ( void  )

Definition at line 53 of file cocoa_time.c.

+ Here is the caller graph for this function:

◆ _glfwPlatformGetTls()

void * _glfwPlatformGetTls ( _GLFWtls tls)

Definition at line 62 of file posix_thread.c.

+ Here is the caller graph for this function:

◆ _glfwPlatformGetVersionString()

const char * _glfwPlatformGetVersionString ( void  )

Definition at line 612 of file cocoa_init.m.

+ Here is the caller graph for this function:

◆ _glfwPlatformGetVideoMode()

void _glfwPlatformGetVideoMode ( _GLFWmonitor monitor,
GLFWvidmode mode 
)

Definition at line 556 of file cocoa_monitor.m.

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

◆ _glfwPlatformGetVideoModes()

GLFWvidmode * _glfwPlatformGetVideoModes ( _GLFWmonitor monitor,
int *  count 
)

Definition at line 516 of file cocoa_monitor.m.

+ Here is the call graph for this function:

◆ _glfwPlatformGetWindowContentScale()

void _glfwPlatformGetWindowContentScale ( _GLFWwindow window,
float *  xscale,
float *  yscale 
)

Definition at line 1130 of file cocoa_window.m.

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

◆ _glfwPlatformGetWindowFrameSize()

void _glfwPlatformGetWindowFrameSize ( _GLFWwindow window,
int *  left,
int *  top,
int *  right,
int *  bottom 
)

Definition at line 1107 of file cocoa_window.m.

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

◆ _glfwPlatformGetWindowOpacity()

float _glfwPlatformGetWindowOpacity ( _GLFWwindow window)

Definition at line 1382 of file cocoa_window.m.

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

◆ _glfwPlatformGetWindowPos()

void _glfwPlatformGetWindowPos ( _GLFWwindow window,
int *  xpos,
int *  ypos 
)

Definition at line 1000 of file cocoa_window.m.

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

◆ _glfwPlatformGetWindowSize()

void _glfwPlatformGetWindowSize ( _GLFWwindow window,
int *  width,
int *  height 
)

Definition at line 1027 of file cocoa_window.m.

+ Here is the caller graph for this function:

◆ _glfwPlatformHideWindow()

void _glfwPlatformHideWindow ( _GLFWwindow window)

Definition at line 1178 of file cocoa_window.m.

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

◆ _glfwPlatformIconifyWindow()

void _glfwPlatformIconifyWindow ( _GLFWwindow window)

Definition at line 1146 of file cocoa_window.m.

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

◆ _glfwPlatformInit()

int _glfwPlatformInit ( void  )

Definition at line 492 of file cocoa_init.m.

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

◆ _glfwPlatformInitJoysticks()

GLFWbool _glfwPlatformInitJoysticks ( void  )

Definition at line 310 of file cocoa_joystick.m.

+ Here is the call graph for this function:

◆ _glfwPlatformLockMutex()

void _glfwPlatformLockMutex ( _GLFWmutex mutex)

Definition at line 94 of file posix_thread.c.

+ Here is the caller graph for this function:

◆ _glfwPlatformMaximizeWindow()

void _glfwPlatformMaximizeWindow ( _GLFWwindow window)

Definition at line 1163 of file cocoa_window.m.

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

◆ _glfwPlatformPollEvents()

void _glfwPlatformPollEvents ( void  )

Definition at line 1407 of file cocoa_window.m.

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

◆ _glfwPlatformPollJoystick()

int _glfwPlatformPollJoystick ( _GLFWjoystick js,
int  mode 
)

Definition at line 402 of file cocoa_joystick.m.

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

◆ _glfwPlatformPostEmptyEvent()

void _glfwPlatformPostEmptyEvent ( void  )

Definition at line 1461 of file cocoa_window.m.

+ Here is the caller graph for this function:

◆ _glfwPlatformRawMouseMotionSupported()

GLFWbool _glfwPlatformRawMouseMotionSupported ( void  )

Definition at line 1402 of file cocoa_window.m.

+ Here is the caller graph for this function:

◆ _glfwPlatformRequestWindowAttention()

void _glfwPlatformRequestWindowAttention ( _GLFWwindow window)

Definition at line 1185 of file cocoa_window.m.

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

◆ _glfwPlatformRestoreWindow()

void _glfwPlatformRestoreWindow ( _GLFWwindow window)

Definition at line 1153 of file cocoa_window.m.

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

◆ _glfwPlatformSetClipboardString()

void _glfwPlatformSetClipboardString ( const char *  string)

Definition at line 1722 of file cocoa_window.m.

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

◆ _glfwPlatformSetCursor()

void _glfwPlatformSetCursor ( _GLFWwindow window,
_GLFWcursor cursor 
)

Definition at line 1714 of file cocoa_window.m.

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

◆ _glfwPlatformSetCursorMode()

void _glfwPlatformSetCursorMode ( _GLFWwindow window,
int  mode 
)

Definition at line 1526 of file cocoa_window.m.

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

◆ _glfwPlatformSetCursorPos()

void _glfwPlatformSetCursorPos ( _GLFWwindow window,
double  xpos,
double  ypos 
)

Definition at line 1495 of file cocoa_window.m.

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

◆ _glfwPlatformSetGammaRamp()

void _glfwPlatformSetGammaRamp ( _GLFWmonitor monitor,
const GLFWgammaramp ramp 
)

Definition at line 596 of file cocoa_monitor.m.

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

◆ _glfwPlatformSetRawMouseMotion()

void _glfwPlatformSetRawMouseMotion ( _GLFWwindow window,
GLFWbool  enabled 
)

Definition at line 1396 of file cocoa_window.m.

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

◆ _glfwPlatformSetTls()

void _glfwPlatformSetTls ( _GLFWtls tls,
void *  value 
)

Definition at line 68 of file posix_thread.c.

+ Here is the caller graph for this function:

◆ _glfwPlatformSetWindowAspectRatio()

void _glfwPlatformSetWindowAspectRatio ( _GLFWwindow window,
int  numer,
int  denom 
)

Definition at line 1082 of file cocoa_window.m.

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

◆ _glfwPlatformSetWindowDecorated()

void _glfwPlatformSetWindowDecorated ( _GLFWwindow window,
GLFWbool  enabled 
)

Definition at line 1357 of file cocoa_window.m.

+ Here is the caller graph for this function:

◆ _glfwPlatformSetWindowFloating()

void _glfwPlatformSetWindowFloating ( _GLFWwindow window,
GLFWbool  enabled 
)

Definition at line 1365 of file cocoa_window.m.

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

◆ _glfwPlatformSetWindowIcon()

void _glfwPlatformSetWindowIcon ( _GLFWwindow window,
int  count,
const GLFWimage images 
)

Definition at line 993 of file cocoa_window.m.

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

◆ _glfwPlatformSetWindowMonitor()

void _glfwPlatformSetWindowMonitor ( _GLFWwindow window,
_GLFWmonitor monitor,
int  xpos,
int  ypos,
int  width,
int  height,
int  refreshRate 
)

Definition at line 1204 of file cocoa_window.m.

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

◆ _glfwPlatformSetWindowMousePassthrough()

void _glfwPlatformSetWindowMousePassthrough ( _GLFWwindow window,
GLFWbool  enabled 
)

Definition at line 1375 of file cocoa_window.m.

+ Here is the caller graph for this function:

◆ _glfwPlatformSetWindowOpacity()

void _glfwPlatformSetWindowOpacity ( _GLFWwindow window,
float  opacity 
)

Definition at line 1389 of file cocoa_window.m.

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

◆ _glfwPlatformSetWindowPos()

void _glfwPlatformSetWindowPos ( _GLFWwindow window,
int  xpos,
int  ypos 
)

Definition at line 1015 of file cocoa_window.m.

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

◆ _glfwPlatformSetWindowResizable()

void _glfwPlatformSetWindowResizable ( _GLFWwindow window,
GLFWbool  enabled 
)

Definition at line 1350 of file cocoa_window.m.

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

◆ _glfwPlatformSetWindowSize()

void _glfwPlatformSetWindowSize ( _GLFWwindow window,
int  width,
int  height 
)

Definition at line 1041 of file cocoa_window.m.

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

◆ _glfwPlatformSetWindowSizeLimits()

void _glfwPlatformSetWindowSizeLimits ( _GLFWwindow window,
int  minwidth,
int  minheight,
int  maxwidth,
int  maxheight 
)

Definition at line 1063 of file cocoa_window.m.

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

◆ _glfwPlatformSetWindowTitle()

void _glfwPlatformSetWindowTitle ( _GLFWwindow window,
const char *  title 
)

Definition at line 982 of file cocoa_window.m.

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

◆ _glfwPlatformShowWindow()

void _glfwPlatformShowWindow ( _GLFWwindow window)

Definition at line 1171 of file cocoa_window.m.

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

◆ _glfwPlatformTerminate()

void _glfwPlatformTerminate ( void  )

Definition at line 566 of file cocoa_init.m.

+ Here is the call graph for this function:

◆ _glfwPlatformTerminateJoysticks()

void _glfwPlatformTerminateJoysticks ( void  )

Definition at line 387 of file cocoa_joystick.m.

◆ _glfwPlatformUnlockMutex()

void _glfwPlatformUnlockMutex ( _GLFWmutex mutex)

Definition at line 100 of file posix_thread.c.

+ Here is the caller graph for this function:

◆ _glfwPlatformUpdateGamepadGUID()

void _glfwPlatformUpdateGamepadGUID ( char *  guid)

Definition at line 472 of file cocoa_joystick.m.

◆ _glfwPlatformWaitEvents()

void _glfwPlatformWaitEvents ( void  )

Definition at line 1426 of file cocoa_window.m.

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

◆ _glfwPlatformWaitEventsTimeout()

void _glfwPlatformWaitEventsTimeout ( double  timeout)

Definition at line 1444 of file cocoa_window.m.

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

◆ _glfwPlatformWindowFocused()

int _glfwPlatformWindowFocused ( _GLFWwindow window)

Definition at line 1297 of file cocoa_window.m.

+ Here is the caller graph for this function:

◆ _glfwPlatformWindowHovered()

int _glfwPlatformWindowHovered ( _GLFWwindow window)

Definition at line 1325 of file cocoa_window.m.

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

◆ _glfwPlatformWindowIconified()

int _glfwPlatformWindowIconified ( _GLFWwindow window)

Definition at line 1304 of file cocoa_window.m.

+ Here is the caller graph for this function:

◆ _glfwPlatformWindowMaximized()

int _glfwPlatformWindowMaximized ( _GLFWwindow window)

Definition at line 1318 of file cocoa_window.m.

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

◆ _glfwPlatformWindowVisible()

int _glfwPlatformWindowVisible ( _GLFWwindow window)

Definition at line 1311 of file cocoa_window.m.

+ Here is the caller graph for this function:

◆ _glfwRefreshContextAttribs()

GLFWbool _glfwRefreshContextAttribs ( _GLFWwindow window,
const _GLFWctxconfig ctxconfig 
)

Definition at line 340 of file context.c.

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

◆ _glfwSplitBPP()

void _glfwSplitBPP ( int  bpp,
int *  red,
int *  green,
int *  blue 
)

Definition at line 276 of file monitor.c.

+ Here is the caller graph for this function:

◆ _glfwStringInExtensionString()

GLFWbool _glfwStringInExtensionString ( const char *  string,
const char *  extensions 
)

Definition at line 578 of file context.c.

+ 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:

Variable Documentation

◆ _glfw

_GLFWlibrary _glfw
extern

Definition at line 46 of file init.c.