29 #ifndef _glfw3_native_h_ 30 #define _glfw3_native_h_ 84 #if defined(GLFW_EXPOSE_NATIVE_WIN32) || defined(GLFW_EXPOSE_NATIVE_WGL) 88 #if defined(GLFW_APIENTRY_DEFINED) 90 #undef GLFW_APIENTRY_DEFINED 93 #elif defined(GLFW_EXPOSE_NATIVE_COCOA) || defined(GLFW_EXPOSE_NATIVE_NSGL) 95 #import <Cocoa/Cocoa.h> 97 #include <ApplicationServices/ApplicationServices.h> 100 #elif defined(GLFW_EXPOSE_NATIVE_X11) || defined(GLFW_EXPOSE_NATIVE_GLX) 101 #include <X11/Xlib.h> 102 #include <X11/extensions/Xrandr.h> 103 #elif defined(GLFW_EXPOSE_NATIVE_WAYLAND) 104 #include <wayland-client.h> 107 #if defined(GLFW_EXPOSE_NATIVE_WGL) 110 #if defined(GLFW_EXPOSE_NATIVE_NSGL) 113 #if defined(GLFW_EXPOSE_NATIVE_GLX) 116 #if defined(GLFW_EXPOSE_NATIVE_EGL) 119 #if defined(GLFW_EXPOSE_NATIVE_OSMESA) 120 #include <GL/osmesa.h> 128 #if defined(GLFW_EXPOSE_NATIVE_WIN32) 174 #if defined(GLFW_EXPOSE_NATIVE_WGL) 190 #if defined(GLFW_EXPOSE_NATIVE_COCOA) 220 #if defined(GLFW_EXPOSE_NATIVE_NSGL) 236 #if defined(GLFW_EXPOSE_NATIVE_X11) 344 #if defined(GLFW_EXPOSE_NATIVE_GLX) 374 #if defined(GLFW_EXPOSE_NATIVE_WAYLAND) 418 #if defined(GLFW_EXPOSE_NATIVE_EGL) 462 #if defined(GLFW_EXPOSE_NATIVE_OSMESA) GLFWAPI struct wl_surface * glfwGetWaylandWindow(GLFWwindow *handle)
GLFWAPI struct wl_display * glfwGetWaylandDisplay(void)
GLFWAPI void glfwSetX11SelectionString(const char *string)
GLFWAPI GLXContext glfwGetGLXContext(GLFWwindow *handle)
struct GLFWmonitor GLFWmonitor
GLFWAPI HGLRC glfwGetWGLContext(GLFWwindow *handle)
GLFWAPI int glfwGetOSMesaColorBuffer(GLFWwindow *handle, int *width, int *height, int *format, void **buffer)
struct __GLXcontext * GLXContext
GLFWAPI EGLContext glfwGetEGLContext(GLFWwindow *handle)
GLFWAPI RRCrtc glfwGetX11Adapter(GLFWmonitor *handle)
GLFWAPI EGLDisplay glfwGetEGLDisplay(void)
GLFWAPI struct wl_output * glfwGetWaylandMonitor(GLFWmonitor *handle)
GLint GLsizei GLsizei height
GLint GLint GLsizei GLint GLenum format
GLFWAPI const char * glfwGetX11SelectionString(void)
GLFWAPI RROutput glfwGetX11Monitor(GLFWmonitor *handle)
GLFWAPI EGLSurface glfwGetEGLSurface(GLFWwindow *handle)
GLFWAPI const char * glfwGetWin32Monitor(GLFWmonitor *handle)
GLFWAPI GLXWindow glfwGetGLXWindow(GLFWwindow *handle)
GLFWAPI const char * glfwGetWin32Adapter(GLFWmonitor *handle)
GLFWAPI Display * glfwGetX11Display(void)
GLFWAPI Window glfwGetX11Window(GLFWwindow *handle)
GLFWAPI int glfwGetOSMesaDepthBuffer(GLFWwindow *handle, int *width, int *height, int *bytesPerValue, void **buffer)
GLFWAPI OSMesaContext glfwGetOSMesaContext(GLFWwindow *handle)
struct GLFWwindow GLFWwindow
GLFWAPI HWND glfwGetWin32Window(GLFWwindow *handle)