29#ifndef _glfw3_native_h_
30#define _glfw3_native_h_
83#if defined(GLFW_EXPOSE_NATIVE_WIN32)
89#elif defined(GLFW_EXPOSE_NATIVE_COCOA)
90 #include <ApplicationServices/ApplicationServices.h>
92 #import <Cocoa/Cocoa.h>
96#elif defined(GLFW_EXPOSE_NATIVE_X11)
98 #include <X11/extensions/Xrandr.h>
99#elif defined(GLFW_EXPOSE_NATIVE_WAYLAND)
100 #include <wayland-client.h>
101#elif defined(GLFW_EXPOSE_NATIVE_MIR)
102 #include <mir_toolkit/mir_client_library.h>
105#if defined(GLFW_EXPOSE_NATIVE_WGL)
108#if defined(GLFW_EXPOSE_NATIVE_NSGL)
111#if defined(GLFW_EXPOSE_NATIVE_GLX)
114#if defined(GLFW_EXPOSE_NATIVE_EGL)
123#if defined(GLFW_EXPOSE_NATIVE_WIN32)
169#if defined(GLFW_EXPOSE_NATIVE_WGL)
185#if defined(GLFW_EXPOSE_NATIVE_COCOA)
215#if defined(GLFW_EXPOSE_NATIVE_NSGL)
231#if defined(GLFW_EXPOSE_NATIVE_X11)
289#if defined(GLFW_EXPOSE_NATIVE_GLX)
319#if defined(GLFW_EXPOSE_NATIVE_WAYLAND)
363#if defined(GLFW_EXPOSE_NATIVE_MIR)
407#if defined(GLFW_EXPOSE_NATIVE_EGL)
struct GLFWmonitor GLFWmonitor
Opaque monitor object.
Definition: glfw3.h:777
RRCrtc glfwGetX11Adapter(GLFWmonitor *monitor)
Returns the RRCrtc of the specified monitor.
EGLDisplay glfwGetEGLDisplay(void)
Returns the EGLDisplay used by GLFW.
GLXWindow glfwGetGLXWindow(GLFWwindow *window)
Returns the GLXWindow of the specified window.
EGLSurface glfwGetEGLSurface(GLFWwindow *window)
Returns the EGLSurface of the specified window.
MirConnection * glfwGetMirDisplay(void)
Returns the MirConnection* used by GLFW.
struct wl_output * glfwGetWaylandMonitor(GLFWmonitor *monitor)
Returns the struct wl_output* of the specified monitor.
id glfwGetNSGLContext(GLFWwindow *window)
Returns the NSOpenGLContext of the specified window.
struct wl_surface * glfwGetWaylandWindow(GLFWwindow *window)
Returns the main struct wl_surface* of the specified window.
GLXContext glfwGetGLXContext(GLFWwindow *window)
Returns the GLXContext of the specified window.
EGLContext glfwGetEGLContext(GLFWwindow *window)
Returns the EGLContext of the specified window.
Display * glfwGetX11Display(void)
Returns the Display used by GLFW.
Window glfwGetX11Window(GLFWwindow *window)
Returns the Window of the specified window.
RROutput glfwGetX11Monitor(GLFWmonitor *monitor)
Returns the RROutput of the specified monitor.
id glfwGetCocoaWindow(GLFWwindow *window)
Returns the NSWindow of the specified window.
const char * glfwGetWin32Monitor(GLFWmonitor *monitor)
Returns the display device name of the specified monitor.
struct wl_display * glfwGetWaylandDisplay(void)
Returns the struct wl_display* used by GLFW.
const char * glfwGetWin32Adapter(GLFWmonitor *monitor)
Returns the adapter device name of the specified monitor.
MirSurface * glfwGetMirWindow(GLFWwindow *window)
Returns the MirSurface* of the specified window.
HGLRC glfwGetWGLContext(GLFWwindow *window)
Returns the HGLRC of the specified window.
int glfwGetMirMonitor(GLFWmonitor *monitor)
Returns the Mir output ID of the specified monitor.
CGDirectDisplayID glfwGetCocoaMonitor(GLFWmonitor *monitor)
Returns the CGDirectDisplayID of the specified monitor.
HWND glfwGetWin32Window(GLFWwindow *window)
Returns the HWND of the specified window.
struct GLFWwindow GLFWwindow
Opaque window object.
Definition: glfw3.h:789