![]() |
Wise&mystical
1.0
Project about Europe
|
#include <stdint.h>
#include <dlfcn.h>
#include <Carbon/Carbon.h>
#include "posix_thread.h"
#include "cocoa_joystick.h"
#include "nsgl_context.h"
Go to the source code of this file.
Classes | |
struct | VkMacOSSurfaceCreateInfoMVK |
struct | VkMetalSurfaceCreateInfoEXT |
struct | _GLFWwindowNS |
struct | _GLFWlibraryNS |
struct | _GLFWmonitorNS |
struct | _GLFWcursorNS |
struct | _GLFWtimerNS |
Macros | |
#define | GL_SILENCE_DEPRECATION |
#define | NSBitmapFormatAlphaNonpremultiplied NSAlphaNonpremultipliedBitmapFormat |
#define | NSEventMaskAny NSAnyEventMask |
#define | NSEventMaskKeyUp NSKeyUpMask |
#define | NSEventModifierFlagCapsLock NSAlphaShiftKeyMask |
#define | NSEventModifierFlagCommand NSCommandKeyMask |
#define | NSEventModifierFlagControl NSControlKeyMask |
#define | NSEventModifierFlagDeviceIndependentFlagsMask NSDeviceIndependentModifierFlagsMask |
#define | NSEventModifierFlagOption NSAlternateKeyMask |
#define | NSEventModifierFlagShift NSShiftKeyMask |
#define | NSEventTypeApplicationDefined NSApplicationDefined |
#define | NSWindowStyleMaskBorderless NSBorderlessWindowMask |
#define | NSWindowStyleMaskClosable NSClosableWindowMask |
#define | NSWindowStyleMaskMiniaturizable NSMiniaturizableWindowMask |
#define | NSWindowStyleMaskResizable NSResizableWindowMask |
#define | NSWindowStyleMaskTitled NSTitledWindowMask |
#define | _glfw_dlopen(name) dlopen(name, RTLD_LAZY | RTLD_LOCAL) |
#define | _glfw_dlclose(handle) dlclose(handle) |
#define | _glfw_dlsym(handle, name) dlsym(handle, name) |
#define | _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowNS ns |
#define | _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryNS ns |
#define | _GLFW_PLATFORM_LIBRARY_TIMER_STATE _GLFWtimerNS ns |
#define | _GLFW_PLATFORM_MONITOR_STATE _GLFWmonitorNS ns |
#define | _GLFW_PLATFORM_CURSOR_STATE _GLFWcursorNS ns |
#define | kTISPropertyUnicodeKeyLayoutData _glfw.ns.tis.kPropertyUnicodeKeyLayoutData |
#define | TISCopyCurrentKeyboardLayoutInputSource _glfw.ns.tis.CopyCurrentKeyboardLayoutInputSource |
#define | TISGetInputSourceProperty _glfw.ns.tis.GetInputSourceProperty |
#define | LMGetKbdType _glfw.ns.tis.GetKbdType |
Typedefs | |
typedef void * | id |
typedef VkFlags | VkMacOSSurfaceCreateFlagsMVK |
typedef VkFlags | VkMetalSurfaceCreateFlagsEXT |
typedef struct VkMacOSSurfaceCreateInfoMVK | VkMacOSSurfaceCreateInfoMVK |
typedef struct VkMetalSurfaceCreateInfoEXT | VkMetalSurfaceCreateInfoEXT |
typedef VkResult(APIENTRY * | PFN_vkCreateMacOSSurfaceMVK) (VkInstance, const VkMacOSSurfaceCreateInfoMVK *, const VkAllocationCallbacks *, VkSurfaceKHR *) |
typedef VkResult(APIENTRY * | PFN_vkCreateMetalSurfaceEXT) (VkInstance, const VkMetalSurfaceCreateInfoEXT *, const VkAllocationCallbacks *, VkSurfaceKHR *) |
typedef TISInputSourceRef(* | PFN_TISCopyCurrentKeyboardLayoutInputSource) (void) |
typedef void *(* | PFN_TISGetInputSourceProperty) (TISInputSourceRef, CFStringRef) |
typedef UInt8(* | PFN_LMGetKbdType) (void) |
typedef struct _GLFWwindowNS | _GLFWwindowNS |
typedef struct _GLFWlibraryNS | _GLFWlibraryNS |
typedef struct _GLFWmonitorNS | _GLFWmonitorNS |
typedef struct _GLFWcursorNS | _GLFWcursorNS |
typedef struct _GLFWtimerNS | _GLFWtimerNS |
Functions | |
void | _glfwInitTimerNS (void) |
void | _glfwPollMonitorsNS (void) |
void | _glfwSetVideoModeNS (_GLFWmonitor *monitor, const GLFWvidmode *desired) |
void | _glfwRestoreVideoModeNS (_GLFWmonitor *monitor) |
float | _glfwTransformYNS (float y) |
void * | _glfwLoadLocalVulkanLoaderNS (void) |
#define _glfw_dlclose | ( | handle | ) | dlclose(handle) |
Definition at line 90 of file cocoa_platform.h.
#define _glfw_dlopen | ( | name | ) | dlopen(name, RTLD_LAZY | RTLD_LOCAL) |
Definition at line 89 of file cocoa_platform.h.
#define _glfw_dlsym | ( | handle, | |
name | |||
) | dlsym(handle, name) |
Definition at line 91 of file cocoa_platform.h.
#define _GLFW_PLATFORM_CURSOR_STATE _GLFWcursorNS ns |
Definition at line 97 of file cocoa_platform.h.
#define _GLFW_PLATFORM_LIBRARY_TIMER_STATE _GLFWtimerNS ns |
Definition at line 95 of file cocoa_platform.h.
#define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryNS ns |
Definition at line 94 of file cocoa_platform.h.
#define _GLFW_PLATFORM_MONITOR_STATE _GLFWmonitorNS ns |
Definition at line 96 of file cocoa_platform.h.
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowNS ns |
Definition at line 93 of file cocoa_platform.h.
#define GL_SILENCE_DEPRECATION |
Definition at line 34 of file cocoa_platform.h.
#define kTISPropertyUnicodeKeyLayoutData _glfw.ns.tis.kPropertyUnicodeKeyLayoutData |
Definition at line 100 of file cocoa_platform.h.
#define LMGetKbdType _glfw.ns.tis.GetKbdType |
Definition at line 106 of file cocoa_platform.h.
#define NSBitmapFormatAlphaNonpremultiplied NSAlphaNonpremultipliedBitmapFormat |
Definition at line 46 of file cocoa_platform.h.
#define NSEventMaskAny NSAnyEventMask |
Definition at line 47 of file cocoa_platform.h.
#define NSEventMaskKeyUp NSKeyUpMask |
Definition at line 48 of file cocoa_platform.h.
#define NSEventModifierFlagCapsLock NSAlphaShiftKeyMask |
Definition at line 49 of file cocoa_platform.h.
#define NSEventModifierFlagCommand NSCommandKeyMask |
Definition at line 50 of file cocoa_platform.h.
#define NSEventModifierFlagControl NSControlKeyMask |
Definition at line 51 of file cocoa_platform.h.
#define NSEventModifierFlagDeviceIndependentFlagsMask NSDeviceIndependentModifierFlagsMask |
Definition at line 52 of file cocoa_platform.h.
#define NSEventModifierFlagOption NSAlternateKeyMask |
Definition at line 53 of file cocoa_platform.h.
#define NSEventModifierFlagShift NSShiftKeyMask |
Definition at line 54 of file cocoa_platform.h.
#define NSEventTypeApplicationDefined NSApplicationDefined |
Definition at line 55 of file cocoa_platform.h.
#define NSWindowStyleMaskBorderless NSBorderlessWindowMask |
Definition at line 56 of file cocoa_platform.h.
#define NSWindowStyleMaskClosable NSClosableWindowMask |
Definition at line 57 of file cocoa_platform.h.
#define NSWindowStyleMaskMiniaturizable NSMiniaturizableWindowMask |
Definition at line 58 of file cocoa_platform.h.
#define NSWindowStyleMaskResizable NSResizableWindowMask |
Definition at line 59 of file cocoa_platform.h.
#define NSWindowStyleMaskTitled NSTitledWindowMask |
Definition at line 60 of file cocoa_platform.h.
#define TISCopyCurrentKeyboardLayoutInputSource _glfw.ns.tis.CopyCurrentKeyboardLayoutInputSource |
Definition at line 102 of file cocoa_platform.h.
#define TISGetInputSourceProperty _glfw.ns.tis.GetInputSourceProperty |
Definition at line 104 of file cocoa_platform.h.
typedef struct _GLFWcursorNS _GLFWcursorNS |
typedef struct _GLFWlibraryNS _GLFWlibraryNS |
typedef struct _GLFWmonitorNS _GLFWmonitorNS |
typedef struct _GLFWtimerNS _GLFWtimerNS |
typedef struct _GLFWwindowNS _GLFWwindowNS |
typedef void* id |
Definition at line 39 of file cocoa_platform.h.
typedef UInt8(* PFN_LMGetKbdType) (void) |
Definition at line 105 of file cocoa_platform.h.
typedef TISInputSourceRef(* PFN_TISCopyCurrentKeyboardLayoutInputSource) (void) |
Definition at line 101 of file cocoa_platform.h.
typedef void *(* PFN_TISGetInputSourceProperty) (TISInputSourceRef, CFStringRef) |
Definition at line 103 of file cocoa_platform.h.
typedef VkResult(APIENTRY * PFN_vkCreateMacOSSurfaceMVK) (VkInstance, const VkMacOSSurfaceCreateInfoMVK *, const VkAllocationCallbacks *, VkSurfaceKHR *) |
Definition at line 82 of file cocoa_platform.h.
typedef VkResult(APIENTRY * PFN_vkCreateMetalSurfaceEXT) (VkInstance, const VkMetalSurfaceCreateInfoEXT *, const VkAllocationCallbacks *, VkSurfaceKHR *) |
Definition at line 83 of file cocoa_platform.h.
typedef VkFlags VkMacOSSurfaceCreateFlagsMVK |
Definition at line 63 of file cocoa_platform.h.
typedef struct VkMacOSSurfaceCreateInfoMVK VkMacOSSurfaceCreateInfoMVK |
typedef VkFlags VkMetalSurfaceCreateFlagsEXT |
Definition at line 64 of file cocoa_platform.h.
typedef struct VkMetalSurfaceCreateInfoEXT VkMetalSurfaceCreateInfoEXT |
void _glfwInitTimerNS | ( | void | ) |
void * _glfwLoadLocalVulkanLoaderNS | ( | void | ) |
void _glfwPollMonitorsNS | ( | void | ) |
Definition at line 300 of file cocoa_monitor.m.
void _glfwRestoreVideoModeNS | ( | _GLFWmonitor * | monitor | ) |
Definition at line 431 of file cocoa_monitor.m.
void _glfwSetVideoModeNS | ( | _GLFWmonitor * | monitor, |
const GLFWvidmode * | desired | ||
) |
float _glfwTransformYNS | ( | float | y | ) |