Lines Matching refs:_glfw

39         _glfw.platform.getFramebufferSize(window, &width, &height);
65 _glfwPlatformSetTls(&_glfw.contextSlot, window);
133 if (_glfw.osmesa.handle)
138 _glfw.osmesa.handle = _glfwPlatformLoadModule(sonames[i]);
139 if (_glfw.osmesa.handle)
143 if (!_glfw.osmesa.handle)
149 _glfw.osmesa.CreateContextExt = (PFN_OSMesaCreateContextExt)
150 _glfwPlatformGetModuleSymbol(_glfw.osmesa.handle, "OSMesaCreateContextExt");
151 _glfw.osmesa.CreateContextAttribs = (PFN_OSMesaCreateContextAttribs)
152 _glfwPlatformGetModuleSymbol(_glfw.osmesa.handle, "OSMesaCreateContextAttribs");
153 _glfw.osmesa.DestroyContext = (PFN_OSMesaDestroyContext)
154 _glfwPlatformGetModuleSymbol(_glfw.osmesa.handle, "OSMesaDestroyContext");
155 _glfw.osmesa.MakeCurrent = (PFN_OSMesaMakeCurrent)
156 _glfwPlatformGetModuleSymbol(_glfw.osmesa.handle, "OSMesaMakeCurrent");
157 _glfw.osmesa.GetColorBuffer = (PFN_OSMesaGetColorBuffer)
158 _glfwPlatformGetModuleSymbol(_glfw.osmesa.handle, "OSMesaGetColorBuffer");
159 _glfw.osmesa.GetDepthBuffer = (PFN_OSMesaGetDepthBuffer)
160 _glfwPlatformGetModuleSymbol(_glfw.osmesa.handle, "OSMesaGetDepthBuffer");
161 _glfw.osmesa.GetProcAddress = (PFN_OSMesaGetProcAddress)
162 _glfwPlatformGetModuleSymbol(_glfw.osmesa.handle, "OSMesaGetProcAddress");
164 if (!_glfw.osmesa.CreateContextExt ||
165 !_glfw.osmesa.DestroyContext ||
166 !_glfw.osmesa.MakeCurrent ||
167 !_glfw.osmesa.GetColorBuffer ||
168 !_glfw.osmesa.GetDepthBuffer ||
169 !_glfw.osmesa.GetProcAddress)
183 if (_glfw.osmesa.handle)
185 _glfwPlatformFreeModule(_glfw.osmesa.handle);
186 _glfw.osmesa.handle = NULL;