#include <stdint.h>
#include <dlfcn.h>
#include <Carbon/Carbon.h>
#include "posix_thread.h"
#include "cocoa_joystick.h"
#include "nsgl_context.h"
#include "egl_context.h"
#include "osmesa_context.h"
Go to the source code of this file.
Classes | |
struct | _GLFWcursorNS |
struct | _GLFWlibraryNS |
struct | _GLFWmonitorNS |
struct | _GLFWtimerNS |
struct | _GLFWwindowNS |
struct | VkMacOSSurfaceCreateInfoMVK |
Macros | |
#define | _glfw_dlclose(handle) dlclose(handle) |
#define | _glfw_dlopen(name) dlopen(name, RTLD_LAZY | RTLD_LOCAL) |
#define | _glfw_dlsym(handle, name) dlsym(handle, name) |
#define | _GLFW_EGL_NATIVE_DISPLAY EGL_DEFAULT_DISPLAY |
#define | _GLFW_EGL_NATIVE_WINDOW ((EGLNativeWindowType) window->ns.view) |
#define | _GLFW_PLATFORM_CURSOR_STATE _GLFWcursorNS ns |
#define | _GLFW_PLATFORM_LIBRARY_TIMER_STATE _GLFWtimerNS ns |
#define | _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryNS ns |
#define | _GLFW_PLATFORM_MONITOR_STATE _GLFWmonitorNS ns |
#define | _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowNS ns |
#define | kTISPropertyUnicodeKeyLayoutData _glfw.ns.tis.kPropertyUnicodeKeyLayoutData |
#define | LMGetKbdType _glfw.ns.tis.GetKbdType |
#define | TISCopyCurrentKeyboardLayoutInputSource _glfw.ns.tis.CopyCurrentKeyboardLayoutInputSource |
#define | TISGetInputSourceProperty _glfw.ns.tis.GetInputSourceProperty |
Typedefs | |
typedef struct _GLFWcursorNS | _GLFWcursorNS |
typedef struct _GLFWlibraryNS | _GLFWlibraryNS |
typedef struct _GLFWmonitorNS | _GLFWmonitorNS |
typedef struct _GLFWtimerNS | _GLFWtimerNS |
typedef struct _GLFWwindowNS | _GLFWwindowNS |
typedef void * | id |
typedef UInt8(* | PFN_LMGetKbdType) (void) |
typedef TISInputSourceRef(* | PFN_TISCopyCurrentKeyboardLayoutInputSource) (void) |
typedef void *(* | PFN_TISGetInputSourceProperty) (TISInputSourceRef, CFStringRef) |
typedef VkResult(APIENTRY * | PFN_vkCreateMacOSSurfaceMVK) (VkInstance, const VkMacOSSurfaceCreateInfoMVK *, const VkAllocationCallbacks *, VkSurfaceKHR *) |
typedef VkFlags | VkMacOSSurfaceCreateFlagsMVK |
typedef struct VkMacOSSurfaceCreateInfoMVK | VkMacOSSurfaceCreateInfoMVK |
Functions | |
void | _glfwInitTimerNS (void) |
void | _glfwPollMonitorsNS (void) |
void | _glfwRestoreVideoModeNS (_GLFWmonitor *monitor) |
void | _glfwSetVideoModeNS (_GLFWmonitor *monitor, const GLFWvidmode *desired) |
Definition at line 56 of file cocoa_platform.h.
Definition at line 55 of file cocoa_platform.h.
Definition at line 57 of file cocoa_platform.h.
#define _GLFW_EGL_NATIVE_DISPLAY EGL_DEFAULT_DISPLAY |
Definition at line 60 of file cocoa_platform.h.
#define _GLFW_EGL_NATIVE_WINDOW ((EGLNativeWindowType) window->ns.view) |
Definition at line 59 of file cocoa_platform.h.
#define _GLFW_PLATFORM_CURSOR_STATE _GLFWcursorNS ns |
Definition at line 66 of file cocoa_platform.h.
#define _GLFW_PLATFORM_LIBRARY_TIMER_STATE _GLFWtimerNS ns |
Definition at line 64 of file cocoa_platform.h.
#define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryNS ns |
Definition at line 63 of file cocoa_platform.h.
#define _GLFW_PLATFORM_MONITOR_STATE _GLFWmonitorNS ns |
Definition at line 65 of file cocoa_platform.h.
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowNS ns |
Definition at line 62 of file cocoa_platform.h.
#define kTISPropertyUnicodeKeyLayoutData _glfw.ns.tis.kPropertyUnicodeKeyLayoutData |
Definition at line 69 of file cocoa_platform.h.
#define LMGetKbdType _glfw.ns.tis.GetKbdType |
Definition at line 75 of file cocoa_platform.h.
#define TISCopyCurrentKeyboardLayoutInputSource _glfw.ns.tis.CopyCurrentKeyboardLayoutInputSource |
Definition at line 71 of file cocoa_platform.h.
#define TISGetInputSourceProperty _glfw.ns.tis.GetInputSourceProperty |
Definition at line 73 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 |
Definition at line 34 of file cocoa_platform.h.
typedef UInt8(* PFN_LMGetKbdType) (void) |
Definition at line 74 of file cocoa_platform.h.
typedef TISInputSourceRef(* PFN_TISCopyCurrentKeyboardLayoutInputSource) (void) |
Definition at line 70 of file cocoa_platform.h.
typedef void*(* PFN_TISGetInputSourceProperty) (TISInputSourceRef, CFStringRef) |
Definition at line 72 of file cocoa_platform.h.
typedef VkResult(APIENTRY * PFN_vkCreateMacOSSurfaceMVK) (VkInstance, const VkMacOSSurfaceCreateInfoMVK *, const VkAllocationCallbacks *, VkSurfaceKHR *) |
Definition at line 47 of file cocoa_platform.h.
typedef VkFlags VkMacOSSurfaceCreateFlagsMVK |
Definition at line 37 of file cocoa_platform.h.
typedef struct VkMacOSSurfaceCreateInfoMVK VkMacOSSurfaceCreateInfoMVK |
Definition at line 38 of file cocoa_time.c.
void _glfwRestoreVideoModeNS | ( | _GLFWmonitor * | monitor | ) |
void _glfwSetVideoModeNS | ( | _GLFWmonitor * | monitor, |
const GLFWvidmode * | desired | ||
) |