Searched refs:newCmap (Results 1 – 1 of 1) sorted by relevance
2278 PanoramiXRes *win, *newCmap; in PanoramiXCreateColormap() local2290 if (!(newCmap = malloc(sizeof(PanoramiXRes)))) in PanoramiXCreateColormap()2293 newCmap->type = XRT_COLORMAP; in PanoramiXCreateColormap()2294 panoramix_setup_ids(newCmap, client, stuff->mid); in PanoramiXCreateColormap()2298 stuff->mid = newCmap->info[j].id; in PanoramiXCreateColormap()2307 AddResource(newCmap->info[0].id, XRT_COLORMAP, newCmap); in PanoramiXCreateColormap()2309 free(newCmap); in PanoramiXCreateColormap()2347 PanoramiXRes *cmap, *newCmap; in PanoramiXCopyColormapAndFree() local2362 if (!(newCmap = malloc(sizeof(PanoramiXRes)))) in PanoramiXCopyColormapAndFree()2365 newCmap->type = XRT_COLORMAP; in PanoramiXCopyColormapAndFree()[all …]