28 #define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000 29 #define WGL_SUPPORT_OPENGL_ARB 0x2010 30 #define WGL_DRAW_TO_WINDOW_ARB 0x2001 31 #define WGL_PIXEL_TYPE_ARB 0x2013 32 #define WGL_TYPE_RGBA_ARB 0x202b 33 #define WGL_ACCELERATION_ARB 0x2003 34 #define WGL_NO_ACCELERATION_ARB 0x2025 35 #define WGL_RED_BITS_ARB 0x2015 36 #define WGL_RED_SHIFT_ARB 0x2016 37 #define WGL_GREEN_BITS_ARB 0x2017 38 #define WGL_GREEN_SHIFT_ARB 0x2018 39 #define WGL_BLUE_BITS_ARB 0x2019 40 #define WGL_BLUE_SHIFT_ARB 0x201a 41 #define WGL_ALPHA_BITS_ARB 0x201b 42 #define WGL_ALPHA_SHIFT_ARB 0x201c 43 #define WGL_ACCUM_BITS_ARB 0x201d 44 #define WGL_ACCUM_RED_BITS_ARB 0x201e 45 #define WGL_ACCUM_GREEN_BITS_ARB 0x201f 46 #define WGL_ACCUM_BLUE_BITS_ARB 0x2020 47 #define WGL_ACCUM_ALPHA_BITS_ARB 0x2021 48 #define WGL_DEPTH_BITS_ARB 0x2022 49 #define WGL_STENCIL_BITS_ARB 0x2023 50 #define WGL_AUX_BUFFERS_ARB 0x2024 51 #define WGL_STEREO_ARB 0x2012 52 #define WGL_DOUBLE_BUFFER_ARB 0x2011 53 #define WGL_SAMPLES_ARB 0x2042 54 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20a9 55 #define WGL_CONTEXT_DEBUG_BIT_ARB 0x00000001 56 #define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 57 #define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126 58 #define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 59 #define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 60 #define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091 61 #define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092 62 #define WGL_CONTEXT_FLAGS_ARB 0x2094 63 #define WGL_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 64 #define WGL_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 65 #define WGL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 66 #define WGL_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 67 #define WGL_NO_RESET_NOTIFICATION_ARB 0x8261 68 #define WGL_CONTEXT_RELEASE_BEHAVIOR_ARB 0x2097 69 #define WGL_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB 0 70 #define WGL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB 0x2098 71 #define WGL_CONTEXT_OPENGL_NO_ERROR_ARB 0x31b3 72 #define WGL_COLORSPACE_EXT 0x309d 73 #define WGL_COLORSPACE_SRGB_EXT 0x3089 75 #define ERROR_INVALID_VERSION_ARB 0x2095 76 #define ERROR_INVALID_PROFILE_ARB 0x2096 77 #define ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054 94 #define wglCreateContext _glfw.wgl.CreateContext 95 #define wglDeleteContext _glfw.wgl.DeleteContext 96 #define wglGetProcAddress _glfw.wgl.GetProcAddress 97 #define wglGetCurrentDC _glfw.wgl.GetCurrentDC 98 #define wglGetCurrentContext _glfw.wgl.GetCurrentContext 99 #define wglMakeCurrent _glfw.wgl.MakeCurrent 100 #define wglShareLists _glfw.wgl.ShareLists 102 #define _GLFW_RECREATION_NOT_NEEDED 0 103 #define _GLFW_RECREATION_REQUIRED 1 104 #define _GLFW_RECREATION_IMPOSSIBLE 2 106 #define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextWGL wgl 107 #define _GLFW_PLATFORM_LIBRARY_CONTEXT_STATE _GLFWlibraryWGL wgl GLFWbool _glfwInitWGL(void)
PFN_wglCreateContext CreateContext
GLFWbool EXT_swap_control
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
GLFWbool ARB_create_context_profile
GLFWbool ARB_create_context
GLFWbool ARB_framebuffer_sRGB
HGLRC(WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC)(HDC, HGLRC, const int *)
BOOL(WINAPI * PFN_wglDeleteContext)(HGLRC)
PFNWGLGETEXTENSIONSSTRINGARBPROC GetExtensionsStringARB
PFNWGLGETEXTENSIONSSTRINGEXTPROC GetExtensionsStringEXT
PFN_wglDeleteContext DeleteContext
GLFWbool ARB_context_flush_control
BOOL(WINAPI * PFN_wglMakeCurrent)(HDC, HGLRC)
HGLRC(WINAPI * PFN_wglGetCurrentContext)(void)
BOOL(WINAPI * PFNWGLSWAPINTERVALEXTPROC)(int)
PFN_wglMakeCurrent MakeCurrent
struct _GLFWcontextWGL _GLFWcontextWGL
HGLRC(WINAPI * PFN_wglCreateContext)(HDC)
PFN_wglGetProcAddress GetProcAddress
PFNWGLGETPIXELFORMATATTRIBIVARBPROC GetPixelFormatAttribivARB
GLFWbool ARB_pixel_format
const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC)(HDC)
BOOL(WINAPI * PFN_wglShareLists)(HGLRC, HGLRC)
PFN_wglGetCurrentDC GetCurrentDC
PFNWGLSWAPINTERVALEXTPROC SwapIntervalEXT
PFNWGLCREATECONTEXTATTRIBSARBPROC CreateContextAttribsARB
HDC(WINAPI * PFN_wglGetCurrentDC)(void)
GLFWbool ARB_create_context_robustness
GLFWbool _glfwCreateContextWGL(_GLFWwindow *window, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig)
GLFWbool EXT_create_context_es2_profile
void _glfwTerminateWGL(void)
struct _GLFWlibraryWGL _GLFWlibraryWGL
GLFWbool ARB_create_context_no_error
PFN_wglGetCurrentContext GetCurrentContext
PROC(WINAPI * PFN_wglGetProcAddress)(LPCSTR)
GLFWbool EXT_framebuffer_sRGB
PFN_wglShareLists ShareLists
const char *(WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC)(void)
BOOL(WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC)(HDC, int, int, UINT, const int *, int *)