Lines Matching refs:_glfw
80 if (_glfw.wgl.ARB_pixel_format)
105 if (_glfw.wgl.ARB_multisample)
110 if (_glfw.wgl.ARB_framebuffer_sRGB || _glfw.wgl.EXT_framebuffer_sRGB)
115 if (_glfw.wgl.EXT_colorspace)
144 if (_glfw.wgl.ARB_pixel_format)
193 if (_glfw.wgl.ARB_multisample)
198 if (_glfw.wgl.ARB_framebuffer_sRGB ||
199 _glfw.wgl.EXT_framebuffer_sRGB)
207 if (_glfw.wgl.EXT_colorspace)
306 _glfwPlatformSetTls(&_glfw.contextSlot, window);
311 _glfwPlatformSetTls(&_glfw.contextSlot, NULL);
322 _glfwPlatformSetTls(&_glfw.contextSlot, NULL);
349 _GLFWwindow* window = _glfwPlatformGetTls(&_glfw.contextSlot);
367 if (_glfw.wgl.EXT_swap_control)
375 if (_glfw.wgl.GetExtensionsStringARB)
377 else if (_glfw.wgl.GetExtensionsStringEXT)
392 return (GLFWglproc) _glfwPlatformGetModuleSymbol(_glfw.wgl.instance, procname);
412 if (_glfw.wgl.instance)
415 _glfw.wgl.instance = _glfwPlatformLoadModule("opengl32.dll");
416 if (!_glfw.wgl.instance)
423 _glfw.wgl.CreateContext = (PFN_wglCreateContext)
424 _glfwPlatformGetModuleSymbol(_glfw.wgl.instance, "wglCreateContext");
425 _glfw.wgl.DeleteContext = (PFN_wglDeleteContext)
426 _glfwPlatformGetModuleSymbol(_glfw.wgl.instance, "wglDeleteContext");
427 _glfw.wgl.GetProcAddress = (PFN_wglGetProcAddress)
428 _glfwPlatformGetModuleSymbol(_glfw.wgl.instance, "wglGetProcAddress");
429 _glfw.wgl.GetCurrentDC = (PFN_wglGetCurrentDC)
430 _glfwPlatformGetModuleSymbol(_glfw.wgl.instance, "wglGetCurrentDC");
431 _glfw.wgl.GetCurrentContext = (PFN_wglGetCurrentContext)
432 _glfwPlatformGetModuleSymbol(_glfw.wgl.instance, "wglGetCurrentContext");
433 _glfw.wgl.MakeCurrent = (PFN_wglMakeCurrent)
434 _glfwPlatformGetModuleSymbol(_glfw.wgl.instance, "wglMakeCurrent");
435 _glfw.wgl.ShareLists = (PFN_wglShareLists)
436 _glfwPlatformGetModuleSymbol(_glfw.wgl.instance, "wglShareLists");
443 dc = GetDC(_glfw.win32.helperWindowHandle);
481 _glfw.wgl.GetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC)
483 _glfw.wgl.GetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC)
485 _glfw.wgl.CreateContextAttribsARB = (PFNWGLCREATECONTEXTATTRIBSARBPROC)
487 _glfw.wgl.SwapIntervalEXT = (PFNWGLSWAPINTERVALEXTPROC)
489 _glfw.wgl.GetPixelFormatAttribivARB = (PFNWGLGETPIXELFORMATATTRIBIVARBPROC)
494 _glfw.wgl.ARB_multisample =
496 _glfw.wgl.ARB_framebuffer_sRGB =
498 _glfw.wgl.EXT_framebuffer_sRGB =
500 _glfw.wgl.ARB_create_context =
502 _glfw.wgl.ARB_create_context_profile =
504 _glfw.wgl.EXT_create_context_es2_profile =
506 _glfw.wgl.ARB_create_context_robustness =
508 _glfw.wgl.ARB_create_context_no_error =
510 _glfw.wgl.EXT_swap_control =
512 _glfw.wgl.EXT_colorspace =
514 _glfw.wgl.ARB_pixel_format =
516 _glfw.wgl.ARB_context_flush_control =
528 if (_glfw.wgl.instance)
529 _glfwPlatformFreeModule(_glfw.wgl.instance);
584 if (!_glfw.wgl.ARB_create_context)
594 if (!_glfw.wgl.ARB_create_context_profile)
604 if (!_glfw.wgl.ARB_create_context ||
605 !_glfw.wgl.ARB_create_context_profile ||
606 !_glfw.wgl.EXT_create_context_es2_profile)
614 if (_glfw.wgl.ARB_create_context)
636 if (_glfw.wgl.ARB_create_context_robustness)
655 if (_glfw.wgl.ARB_context_flush_control)
672 if (_glfw.wgl.ARB_create_context_no_error)
780 if (_glfw.platform.platformID != GLFW_PLATFORM_WIN32)