Lines Matching full:vendor

36     GlxServerVendor *vendor = NULL;  in GlxCreateVendor()  local
39 ErrorF("GLX: Vendor library did not provide an imports table\n"); in GlxCreateVendor()
47 ErrorF("GLX: Vendor library is missing required callback functions.\n"); in GlxCreateVendor()
51 vendor = (GlxServerVendor *) calloc(1, sizeof(GlxServerVendor)); in GlxCreateVendor()
52 if (vendor == NULL) { in GlxCreateVendor()
53 ErrorF("GLX: Can't allocate vendor library.\n"); in GlxCreateVendor()
56 memcpy(&vendor->glxvc, imports, sizeof(GlxServerImports)); in GlxCreateVendor()
58 xorg_list_append(&vendor->entry, &GlxVendorList); in GlxCreateVendor()
59 return vendor; in GlxCreateVendor()
62 void GlxDestroyVendor(GlxServerVendor *vendor) in GlxDestroyVendor() argument
64 if (vendor != NULL) { in GlxDestroyVendor()
65 xorg_list_del(&vendor->entry); in GlxDestroyVendor()
66 free(vendor); in GlxDestroyVendor()
72 GlxServerVendor *vendor, *tempVendor; in GlxVendorExtensionReset() local
74 // TODO: Do we allow the driver to destroy a vendor library handle from in GlxVendorExtensionReset()
76 xorg_list_for_each_entry_safe(vendor, tempVendor, &GlxVendorList, entry) { in GlxVendorExtensionReset()
77 if (vendor->glxvc.extensionCloseDown != NULL) { in GlxVendorExtensionReset()
78 vendor->glxvc.extensionCloseDown(extEntry); in GlxVendorExtensionReset()
86 // cleaner to just always create the vendor struct on every generation, in GlxVendorExtensionReset()
88 xorg_list_for_each_entry_safe(vendor, tempVendor, &GlxVendorList, entry) { in GlxVendorExtensionReset()
89 GlxDestroyVendor(vendor); in GlxVendorExtensionReset()