Go to the source code of this file.
Classes | |
struct | _GLFWcontext |
struct | _GLFWctxconfig |
struct | _GLFWcursor |
struct | _GLFWerror |
struct | _GLFWfbconfig |
struct | _GLFWinitconfig |
struct | _GLFWjoystick |
struct | _GLFWlibrary |
struct | _GLFWmapelement |
struct | _GLFWmapping |
struct | _GLFWmonitor |
struct | _GLFWmutex |
struct | _GLFWtls |
struct | _GLFWwindow |
struct | _GLFWwndconfig |
struct | VkExtensionProperties |
Variables | |
_GLFWlibrary | _glfw |
#define _GLFW_CONCAT_VERSION | ( | m, | |
n, | |||
r | |||
) | #m "." #n "." #r |
Definition at line 198 of file internal.h.
#define _GLFW_INSERT_FIRST 0 |
Definition at line 52 of file internal.h.
#define _GLFW_INSERT_LAST 1 |
Definition at line 53 of file internal.h.
#define _GLFW_MAKE_VERSION | ( | m, | |
n, | |||
r | |||
) | _GLFW_CONCAT_VERSION(m, n, r) |
Definition at line 199 of file internal.h.
#define _GLFW_MESSAGE_SIZE 1024 |
Definition at line 60 of file internal.h.
#define _GLFW_POLL_ALL (_GLFW_POLL_AXES | _GLFW_POLL_BUTTONS) |
Definition at line 58 of file internal.h.
#define _GLFW_POLL_AXES 1 |
Definition at line 56 of file internal.h.
#define _GLFW_POLL_BUTTONS 2 |
Definition at line 57 of file internal.h.
#define _GLFW_POLL_PRESENCE 0 |
Definition at line 55 of file internal.h.
#define _GLFW_REQUIRE_INIT | ( | ) |
Definition at line 205 of file internal.h.
#define _GLFW_REQUIRE_INIT_OR_RETURN | ( | x | ) |
Definition at line 211 of file internal.h.
#define _GLFW_SWAP_POINTERS | ( | x, | |
y | |||
) |
Definition at line 219 of file internal.h.
#define _GLFW_VERSION_NUMBER |
Definition at line 200 of file internal.h.
#define GL_COLOR_BUFFER_BIT 0x00004000 |
Definition at line 89 of file internal.h.
#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 |
Definition at line 97 of file internal.h.
#define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 |
Definition at line 98 of file internal.h.
#define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 |
Definition at line 95 of file internal.h.
#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001 |
Definition at line 94 of file internal.h.
#define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008 |
Definition at line 104 of file internal.h.
#define GL_CONTEXT_FLAGS 0x821e |
Definition at line 93 of file internal.h.
#define GL_CONTEXT_PROFILE_MASK 0x9126 |
Definition at line 96 of file internal.h.
#define GL_CONTEXT_RELEASE_BEHAVIOR 0x82fb |
Definition at line 102 of file internal.h.
#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82fc |
Definition at line 103 of file internal.h.
#define GL_EXTENSIONS 0x1f03 |
Definition at line 91 of file internal.h.
#define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 |
Definition at line 100 of file internal.h.
#define GL_NO_RESET_NOTIFICATION_ARB 0x8261 |
Definition at line 101 of file internal.h.
#define GL_NONE 0 |
Definition at line 88 of file internal.h.
#define GL_NUM_EXTENSIONS 0x821d |
Definition at line 92 of file internal.h.
#define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 |
Definition at line 99 of file internal.h.
#define GL_UNSIGNED_BYTE 0x1401 |
Definition at line 90 of file internal.h.
#define GL_VERSION 0x1f02 |
Definition at line 87 of file internal.h.
#define GLFW_INCLUDE_NONE |
Definition at line 49 of file internal.h.
#define VK_NULL_HANDLE 0 |
Definition at line 117 of file internal.h.
#define vkEnumerateInstanceExtensionProperties _glfw.vk.EnumerateInstanceExtensionProperties |
Definition at line 179 of file internal.h.
#define vkGetInstanceProcAddr _glfw.vk.GetInstanceProcAddr |
Definition at line 180 of file internal.h.
typedef struct _GLFWcontext _GLFWcontext |
Definition at line 69 of file internal.h.
typedef struct _GLFWctxconfig _GLFWctxconfig |
Definition at line 67 of file internal.h.
typedef struct _GLFWcursor _GLFWcursor |
Definition at line 73 of file internal.h.
typedef void(* _GLFWdestroycontextfun) (_GLFWwindow *) |
Definition at line 85 of file internal.h.
typedef struct _GLFWerror _GLFWerror |
Definition at line 64 of file internal.h.
typedef int(* _GLFWextensionsupportedfun) (const char *) |
Definition at line 83 of file internal.h.
typedef struct _GLFWfbconfig _GLFWfbconfig |
Definition at line 68 of file internal.h.
typedef GLFWglproc(* _GLFWgetprocaddressfun) (const char *) |
Definition at line 84 of file internal.h.
typedef struct _GLFWinitconfig _GLFWinitconfig |
Definition at line 65 of file internal.h.
typedef struct _GLFWjoystick _GLFWjoystick |
Definition at line 76 of file internal.h.
typedef struct _GLFWlibrary _GLFWlibrary |
Definition at line 71 of file internal.h.
typedef void(* _GLFWmakecontextcurrentfun) (_GLFWwindow *) |
Definition at line 80 of file internal.h.
typedef struct _GLFWmapelement _GLFWmapelement |
Definition at line 74 of file internal.h.
typedef struct _GLFWmapping _GLFWmapping |
Definition at line 75 of file internal.h.
typedef struct _GLFWmonitor _GLFWmonitor |
Definition at line 72 of file internal.h.
typedef struct _GLFWmutex _GLFWmutex |
Definition at line 78 of file internal.h.
typedef void(* _GLFWswapbuffersfun) (_GLFWwindow *) |
Definition at line 81 of file internal.h.
typedef void(* _GLFWswapintervalfun) (int) |
Definition at line 82 of file internal.h.
Definition at line 77 of file internal.h.
typedef struct _GLFWwindow _GLFWwindow |
Definition at line 70 of file internal.h.
typedef struct _GLFWwndconfig _GLFWwndconfig |
Definition at line 66 of file internal.h.
typedef unsigned int GLbitfield |
Definition at line 109 of file internal.h.
typedef unsigned int GLenum |
Definition at line 108 of file internal.h.
typedef int GLFWbool |
Definition at line 62 of file internal.h.
typedef int GLint |
Definition at line 106 of file internal.h.
typedef unsigned char GLubyte |
Definition at line 110 of file internal.h.
typedef unsigned int GLuint |
Definition at line 107 of file internal.h.
typedef VkResult(APIENTRY * PFN_vkEnumerateInstanceExtensionProperties) (const char *, uint32_t *, VkExtensionProperties *) |
Definition at line 178 of file internal.h.
typedef PFN_vkVoidFunction(APIENTRY * PFN_vkGetInstanceProcAddr) (VkInstance, const char *) |
Definition at line 177 of file internal.h.
Definition at line 171 of file internal.h.
typedef void(APIENTRY * PFNGLCLEARPROC) (GLbitfield) |
Definition at line 112 of file internal.h.
Definition at line 114 of file internal.h.
Definition at line 115 of file internal.h.
Definition at line 113 of file internal.h.
typedef struct VkAllocationCallbacks VkAllocationCallbacks |
Definition at line 163 of file internal.h.
typedef uint32_t VkBool32 |
Definition at line 123 of file internal.h.
typedef struct VkExtensionProperties VkExtensionProperties |
typedef uint32_t VkFlags |
Definition at line 122 of file internal.h.
typedef void* VkInstance |
Definition at line 119 of file internal.h.
typedef void* VkPhysicalDevice |
Definition at line 120 of file internal.h.
typedef enum VkStructureType VkStructureType |
typedef uint64_t VkSurfaceKHR |
Definition at line 121 of file internal.h.
enum VkResult |
Definition at line 135 of file internal.h.
enum VkStructureType |
Definition at line 125 of file internal.h.
void _glfwAllocGammaArrays | ( | GLFWgammaramp * | ramp, |
unsigned int | size | ||
) |
_GLFWjoystick* _glfwAllocJoystick | ( | const char * | name, |
const char * | guid, | ||
int | axisCount, | ||
int | buttonCount, | ||
int | hatCount | ||
) |
_GLFWmonitor* _glfwAllocMonitor | ( | const char * | name, |
int | widthMM, | ||
int | heightMM | ||
) |
const _GLFWfbconfig* _glfwChooseFBConfig | ( | const _GLFWfbconfig * | desired, |
const _GLFWfbconfig * | alternatives, | ||
unsigned int | count | ||
) |
const GLFWvidmode* _glfwChooseVideoMode | ( | _GLFWmonitor * | monitor, |
const GLFWvidmode * | desired | ||
) |
int _glfwCompareVideoModes | ( | const GLFWvidmode * | first, |
const GLFWvidmode * | second | ||
) |
void _glfwFreeGammaArrays | ( | GLFWgammaramp * | ramp | ) |
void _glfwFreeJoystick | ( | _GLFWjoystick * | js | ) |
void _glfwFreeMonitor | ( | _GLFWmonitor * | monitor | ) |
void _glfwInputChar | ( | _GLFWwindow * | window, |
unsigned int | codepoint, | ||
int | mods, | ||
GLFWbool | plain | ||
) |
void _glfwInputCursorEnter | ( | _GLFWwindow * | window, |
GLFWbool | entered | ||
) |
void _glfwInputCursorPos | ( | _GLFWwindow * | window, |
double | xpos, | ||
double | ypos | ||
) |
void _glfwInputDrop | ( | _GLFWwindow * | window, |
int | count, | ||
const char ** | names | ||
) |
void _glfwInputFramebufferSize | ( | _GLFWwindow * | window, |
int | width, | ||
int | height | ||
) |
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 _glfwInputKey | ( | _GLFWwindow * | window, |
int | key, | ||
int | scancode, | ||
int | action, | ||
int | mods | ||
) |
void _glfwInputMonitor | ( | _GLFWmonitor * | monitor, |
int | action, | ||
int | placement | ||
) |
void _glfwInputMonitorWindow | ( | _GLFWmonitor * | monitor, |
_GLFWwindow * | window | ||
) |
void _glfwInputMouseClick | ( | _GLFWwindow * | window, |
int | button, | ||
int | action, | ||
int | mods | ||
) |
void _glfwInputScroll | ( | _GLFWwindow * | window, |
double | xoffset, | ||
double | yoffset | ||
) |
void _glfwInputWindowCloseRequest | ( | _GLFWwindow * | window | ) |
void _glfwInputWindowContentScale | ( | _GLFWwindow * | window, |
float | xscale, | ||
float | yscale | ||
) |
void _glfwInputWindowDamage | ( | _GLFWwindow * | window | ) |
void _glfwInputWindowFocus | ( | _GLFWwindow * | window, |
GLFWbool | focused | ||
) |
void _glfwInputWindowIconify | ( | _GLFWwindow * | window, |
GLFWbool | iconified | ||
) |
void _glfwInputWindowMaximize | ( | _GLFWwindow * | window, |
GLFWbool | maximized | ||
) |
void _glfwInputWindowMonitor | ( | _GLFWwindow * | window, |
_GLFWmonitor * | monitor | ||
) |
void _glfwInputWindowPos | ( | _GLFWwindow * | window, |
int | xpos, | ||
int | ypos | ||
) |
void _glfwInputWindowSize | ( | _GLFWwindow * | window, |
int | width, | ||
int | height | ||
) |
GLFWbool _glfwIsValidContextConfig | ( | const _GLFWctxconfig * | ctxconfig | ) |
int _glfwPlatformCreateCursor | ( | _GLFWcursor * | cursor, |
const GLFWimage * | image, | ||
int | xhot, | ||
int | yhot | ||
) |
Definition at line 263 of file null_window.c.
GLFWbool _glfwPlatformCreateMutex | ( | _GLFWmutex * | mutex | ) |
Definition at line 72 of file posix_thread.c.
int _glfwPlatformCreateStandardCursor | ( | _GLFWcursor * | cursor, |
int | shape | ||
) |
Definition at line 270 of file null_window.c.
Definition at line 38 of file posix_thread.c.
int _glfwPlatformCreateWindow | ( | _GLFWwindow * | window, |
const _GLFWwndconfig * | wndconfig, | ||
const _GLFWctxconfig * | ctxconfig, | ||
const _GLFWfbconfig * | fbconfig | ||
) |
Definition at line 45 of file null_window.c.
VkResult _glfwPlatformCreateWindowSurface | ( | VkInstance | instance, |
_GLFWwindow * | window, | ||
const VkAllocationCallbacks * | allocator, | ||
VkSurfaceKHR * | surface | ||
) |
Definition at line 313 of file null_window.c.
void _glfwPlatformDestroyCursor | ( | _GLFWcursor * | cursor | ) |
Definition at line 275 of file null_window.c.
void _glfwPlatformDestroyMutex | ( | _GLFWmutex * | mutex | ) |
Definition at line 85 of file posix_thread.c.
Definition at line 53 of file posix_thread.c.
void _glfwPlatformDestroyWindow | ( | _GLFWwindow * | window | ) |
Definition at line 73 of file null_window.c.
void _glfwPlatformFocusWindow | ( | _GLFWwindow * | window | ) |
Definition at line 216 of file null_window.c.
int _glfwPlatformFramebufferTransparent | ( | _GLFWwindow * | window | ) |
Definition at line 173 of file null_window.c.
void _glfwPlatformFreeMonitor | ( | _GLFWmonitor * | monitor | ) |
Definition at line 35 of file null_monitor.c.
const char* _glfwPlatformGetClipboardString | ( | void | ) |
Definition at line 287 of file null_window.c.
void _glfwPlatformGetCursorPos | ( | _GLFWwindow * | window, |
double * | xpos, | ||
double * | ypos | ||
) |
Definition at line 251 of file null_window.c.
void _glfwPlatformGetFramebufferSize | ( | _GLFWwindow * | window, |
int * | width, | ||
int * | height | ||
) |
Definition at line 128 of file null_window.c.
GLFWbool _glfwPlatformGetGammaRamp | ( | _GLFWmonitor * | monitor, |
GLFWgammaramp * | ramp | ||
) |
Definition at line 61 of file null_monitor.c.
int _glfwPlatformGetKeyScancode | ( | int | key | ) |
Definition at line 297 of file null_window.c.
void _glfwPlatformGetMonitorContentScale | ( | _GLFWmonitor * | monitor, |
float * | xscale, | ||
float * | yscale | ||
) |
Definition at line 43 of file null_monitor.c.
void _glfwPlatformGetMonitorPos | ( | _GLFWmonitor * | monitor, |
int * | xpos, | ||
int * | ypos | ||
) |
Definition at line 39 of file null_monitor.c.
int _glfwPlatformGetPhysicalDevicePresentationSupport | ( | VkInstance | instance, |
VkPhysicalDevice | device, | ||
uint32_t | queuefamily | ||
) |
Definition at line 306 of file null_window.c.
void _glfwPlatformGetRequiredInstanceExtensions | ( | char ** | extensions | ) |
Definition at line 302 of file null_window.c.
const char* _glfwPlatformGetScancodeName | ( | int | scancode | ) |
Definition at line 292 of file null_window.c.
uint64_t _glfwPlatformGetTimerFrequency | ( | void | ) |
Definition at line 56 of file cocoa_time.c.
uint64_t _glfwPlatformGetTimerValue | ( | void | ) |
Definition at line 51 of file cocoa_time.c.
Definition at line 60 of file posix_thread.c.
const char* _glfwPlatformGetVersionString | ( | void | ) |
Definition at line 46 of file null_init.c.
void _glfwPlatformGetVideoMode | ( | _GLFWmonitor * | monitor, |
GLFWvidmode * | mode | ||
) |
Definition at line 57 of file null_monitor.c.
GLFWvidmode* _glfwPlatformGetVideoModes | ( | _GLFWmonitor * | monitor, |
int * | count | ||
) |
Definition at line 52 of file null_monitor.c.
void _glfwPlatformGetWindowContentScale | ( | _GLFWwindow * | window, |
float * | xscale, | ||
float * | yscale | ||
) |
Definition at line 142 of file null_window.c.
void _glfwPlatformGetWindowFrameSize | ( | _GLFWwindow * | window, |
int * | left, | ||
int * | top, | ||
int * | right, | ||
int * | bottom | ||
) |
Definition at line 136 of file null_window.c.
float _glfwPlatformGetWindowOpacity | ( | _GLFWwindow * | window | ) |
Definition at line 190 of file null_window.c.
void _glfwPlatformGetWindowPos | ( | _GLFWwindow * | window, |
int * | xpos, | ||
int * | ypos | ||
) |
Definition at line 96 of file null_window.c.
void _glfwPlatformGetWindowSize | ( | _GLFWwindow * | window, |
int * | width, | ||
int * | height | ||
) |
Definition at line 104 of file null_window.c.
void _glfwPlatformHideWindow | ( | _GLFWwindow * | window | ) |
Definition at line 212 of file null_window.c.
void _glfwPlatformIconifyWindow | ( | _GLFWwindow * | window | ) |
Definition at line 151 of file null_window.c.
int _glfwPlatformInit | ( | void | ) |
Definition at line 35 of file null_init.c.
void _glfwPlatformLockMutex | ( | _GLFWmutex * | mutex | ) |
Definition at line 92 of file posix_thread.c.
void _glfwPlatformMaximizeWindow | ( | _GLFWwindow * | window | ) |
Definition at line 159 of file null_window.c.
Definition at line 235 of file null_window.c.
int _glfwPlatformPollJoystick | ( | _GLFWjoystick * | js, |
int | mode | ||
) |
Definition at line 391 of file linux_joystick.c.
Definition at line 247 of file null_window.c.
void _glfwPlatformRequestWindowAttention | ( | _GLFWwindow * | window | ) |
Definition at line 204 of file null_window.c.
void _glfwPlatformRestoreWindow | ( | _GLFWwindow * | window | ) |
Definition at line 155 of file null_window.c.
void _glfwPlatformSetClipboardString | ( | const char * | string | ) |
Definition at line 283 of file null_window.c.
void _glfwPlatformSetCursor | ( | _GLFWwindow * | window, |
_GLFWcursor * | cursor | ||
) |
Definition at line 279 of file null_window.c.
void _glfwPlatformSetCursorMode | ( | _GLFWwindow * | window, |
int | mode | ||
) |
Definition at line 259 of file null_window.c.
void _glfwPlatformSetCursorPos | ( | _GLFWwindow * | window, |
double | xpos, | ||
double | ypos | ||
) |
Definition at line 255 of file null_window.c.
void _glfwPlatformSetGammaRamp | ( | _GLFWmonitor * | monitor, |
const GLFWgammaramp * | ramp | ||
) |
Definition at line 66 of file null_monitor.c.
Definition at line 66 of file posix_thread.c.
void _glfwPlatformSetWindowAspectRatio | ( | _GLFWwindow * | window, |
int | numer, | ||
int | denom | ||
) |
Definition at line 124 of file null_window.c.
void _glfwPlatformSetWindowDecorated | ( | _GLFWwindow * | window, |
GLFWbool | enabled | ||
) |
Definition at line 182 of file null_window.c.
void _glfwPlatformSetWindowFloating | ( | _GLFWwindow * | window, |
GLFWbool | enabled | ||
) |
Definition at line 186 of file null_window.c.
void _glfwPlatformSetWindowIcon | ( | _GLFWwindow * | window, |
int | count, | ||
const GLFWimage * | images | ||
) |
Definition at line 83 of file null_window.c.
void _glfwPlatformSetWindowMonitor | ( | _GLFWwindow * | window, |
_GLFWmonitor * | monitor, | ||
int | xpos, | ||
int | ypos, | ||
int | width, | ||
int | height, | ||
int | refreshRate | ||
) |
Definition at line 88 of file null_window.c.
void _glfwPlatformSetWindowOpacity | ( | _GLFWwindow * | window, |
float | opacity | ||
) |
Definition at line 195 of file null_window.c.
void _glfwPlatformSetWindowPos | ( | _GLFWwindow * | window, |
int | xpos, | ||
int | ypos | ||
) |
Definition at line 100 of file null_window.c.
void _glfwPlatformSetWindowResizable | ( | _GLFWwindow * | window, |
GLFWbool | enabled | ||
) |
Definition at line 178 of file null_window.c.
void _glfwPlatformSetWindowSize | ( | _GLFWwindow * | window, |
int | width, | ||
int | height | ||
) |
Definition at line 112 of file null_window.c.
void _glfwPlatformSetWindowSizeLimits | ( | _GLFWwindow * | window, |
int | minwidth, | ||
int | minheight, | ||
int | maxwidth, | ||
int | maxheight | ||
) |
Definition at line 118 of file null_window.c.
void _glfwPlatformSetWindowTitle | ( | _GLFWwindow * | window, |
const char * | title | ||
) |
Definition at line 79 of file null_window.c.
void _glfwPlatformShowWindow | ( | _GLFWwindow * | window | ) |
Definition at line 199 of file null_window.c.
Definition at line 41 of file null_init.c.
void _glfwPlatformUnlockMutex | ( | _GLFWmutex * | mutex | ) |
Definition at line 98 of file posix_thread.c.
void _glfwPlatformUpdateGamepadGUID | ( | char * | guid | ) |
Definition at line 431 of file linux_joystick.c.
Definition at line 239 of file null_window.c.
void _glfwPlatformWaitEventsTimeout | ( | double | timeout | ) |
Definition at line 243 of file null_window.c.
int _glfwPlatformWindowFocused | ( | _GLFWwindow * | window | ) |
Definition at line 220 of file null_window.c.
int _glfwPlatformWindowHovered | ( | _GLFWwindow * | window | ) |
Definition at line 168 of file null_window.c.
int _glfwPlatformWindowIconified | ( | _GLFWwindow * | window | ) |
Definition at line 225 of file null_window.c.
int _glfwPlatformWindowMaximized | ( | _GLFWwindow * | window | ) |
Definition at line 163 of file null_window.c.
int _glfwPlatformWindowVisible | ( | _GLFWwindow * | window | ) |
Definition at line 230 of file null_window.c.
GLFWbool _glfwRefreshContextAttribs | ( | _GLFWwindow * | window, |
const _GLFWctxconfig * | ctxconfig | ||
) |
void _glfwSplitBPP | ( | int | bpp, |
int * | red, | ||
int * | green, | ||
int * | blue | ||
) |
GLFWbool _glfwStringInExtensionString | ( | const char * | string, |
const char * | extensions | ||
) |
_GLFWlibrary _glfw |