Lines Matching defs:handle
54 if (!OSMesaMakeCurrent(window->context.osmesa.handle,
75 if (window->context.osmesa.handle)
77 OSMesaDestroyContext(window->context.osmesa.handle);
78 window->context.osmesa.handle = NULL;
133 if (_glfw.osmesa.handle)
138 _glfw.osmesa.handle = _glfwPlatformLoadModule(sonames[i]);
139 if (_glfw.osmesa.handle)
143 if (!_glfw.osmesa.handle)
150 _glfwPlatformGetModuleSymbol(_glfw.osmesa.handle, "OSMesaCreateContextExt");
152 _glfwPlatformGetModuleSymbol(_glfw.osmesa.handle, "OSMesaCreateContextAttribs");
154 _glfwPlatformGetModuleSymbol(_glfw.osmesa.handle, "OSMesaDestroyContext");
156 _glfwPlatformGetModuleSymbol(_glfw.osmesa.handle, "OSMesaMakeCurrent");
158 _glfwPlatformGetModuleSymbol(_glfw.osmesa.handle, "OSMesaGetColorBuffer");
160 _glfwPlatformGetModuleSymbol(_glfw.osmesa.handle, "OSMesaGetDepthBuffer");
162 _glfwPlatformGetModuleSymbol(_glfw.osmesa.handle, "OSMesaGetProcAddress");
183 if (_glfw.osmesa.handle)
185 _glfwPlatformFreeModule(_glfw.osmesa.handle);
186 _glfw.osmesa.handle = NULL;
215 share = ctxconfig->share->context.osmesa.handle;
250 window->context.osmesa.handle =
262 window->context.osmesa.handle =
270 if (window->context.osmesa.handle == NULL)
294 GLFWAPI int glfwGetOSMesaColorBuffer(GLFWwindow* handle, int* width,
302 _GLFWwindow* window = (_GLFWwindow*) handle;
311 if (!OSMesaGetColorBuffer(window->context.osmesa.handle,
332 GLFWAPI int glfwGetOSMesaDepthBuffer(GLFWwindow* handle,
342 _GLFWwindow* window = (_GLFWwindow*) handle;
351 if (!OSMesaGetDepthBuffer(window->context.osmesa.handle,
372 GLFWAPI OSMesaContext glfwGetOSMesaContext(GLFWwindow* handle)
376 _GLFWwindow* window = (_GLFWwindow*) handle;
385 return window->context.osmesa.handle;