Searched refs:cmap (Results 1 - 20 of 20) sorted by relevance

/solaris-x11-s11/open-src/app/xcolor/sun-src/
H A Dxcolor.h47 Colormap *cmap, /* return */
58 Colormap *cmap, /* colormap return value */
H A DXCrDynCmap.c40 Colormap *cmap, /* return */
64 *cmap = XCreateColormap(dsp, RootWindow(dsp, screen),
71 allocReturn = XAllocColorCells(dsp, *cmap,
94 XStoreColors(dsp, *cmap, colors, ncolors);
37 XCreateDynamicColormap( Display *dsp, int screen, Colormap *cmap, Visual **visual, XColor *colors, int count, u_char *red, u_char *green, u_char *blue) argument
H A DXCrHsbCmap.c38 Colormap *cmap, /* colormap return value */
70 status = XCreateDynamicColormap(dsp, screen, cmap, visual, xcolors,
35 XCreateHSBColormap( Display *dsp, int screen, Colormap *cmap, int count, double h1, double s1, double b1, double h2, double s2, double b2, int bw, Visual **visual) argument
H A Dxcolor.c55 static Colormap cmap; variable
295 stat = XCreateHSBColormap(dsp, screen, &cmap, half
329 xswa.colormap = cmap;
362 xswa.colormap = cmap;
/solaris-x11-s11/open-src/app/cmap_compact/sun-src/
H A Dcmcinit.c45 register Colormap cmap = DefaultColormapOfScreen(screen); local
64 if (!XAllocColorCells(DisplayOfScreen(screen), cmap, 0, &mask, 0,
83 XFreeColors(DisplayOfScreen(screen), cmap, pixels+nalloc, ncolors, 0); local
87 if (!XAllocColor(DisplayOfScreen(screen), cmap, c))
91 XFreeColors(DisplayOfScreen(screen), cmap, pixels, nalloc, 0); local
H A Dcmcsave.c80 register Colormap cmap = DefaultColormapOfScreen(screen); local
119 if(!XAllocColorCells(DisplayOfScreen(screen), cmap, 0, &masks, 0,
142 XQueryColor(DisplayOfScreen(screen), cmap, &color); local
149 XStoreColor(DisplayOfScreen(screen), cmap, &color); local
179 XQueryColors(DisplayOfScreen(screen), cmap, *colors, *ncolors); local
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/
H A DXDPSshare.c282 XStandardColormap cmap; local
324 XDPSGetDefaultColorMaps(dpy, screen, drawable, &cmap,
326 rgb_base_pixel = cmap.base_pixel;
327 red_max = cmap.red_max;
328 red_mult = cmap.red_mult;
329 green_max = cmap.green_max;
330 green_mult = cmap.green_mult;
331 blue_max = cmap.blue_max;
332 blue_mult = cmap.blue_mult;
333 map = cmap
[all...]
/solaris-x11-s11/open-src/lib/libdga/sun-src/
H A Dcmap_grab.c657 /* We no longer need the hw shadow cmap but have to keep
757 struct fbcmap_i cmap; local
759 cmap.flags = 0 ;
760 cmap.id = infop->cm_cmapnum ;
761 cmap.index = infop->cm_ioctlbits | index;
762 cmap.count = count;
763 cmap.red = red;
764 cmap.green = green;
765 cmap.blue = blue;
766 if( ioctl(cginfo->cm_devfd, FBIOPUTCMAPI, &cmap)
773 struct fb_clut cmap; local
789 struct fbcmap cmap; local
[all...]
H A Ddga_Xrequests.c440 XDgaGrabColormap(dpy, cmap)
442 Colormap cmap;
458 GetResReq(DGA, cmap, req);
479 XDgaUnGrabColormap(dpy, cmap)
481 Colormap cmap;
497 GetResReq(DGA, cmap, req);
/solaris-x11-s11/open-src/app/xlock/sun-src/
H A Dxlock.c1213 Colormap cmap; local
1216 cmap = XCreateColormap(dsp, root[screen], vis, AllocNone);
1218 XAllocNamedColor(dsp, cmap, "White", &sswhite[screen], &tmp);
1219 XAllocNamedColor(dsp, cmap, "Black", &ssblack[screen], &tmp);
1222 if (!XAllocNamedColor(dsp, cmap, background,
1224 XAllocNamedColor(dsp, cmap, "White", &bgcol[screen], &tmp);
1226 if (!XAllocNamedColor(dsp, cmap, foreground,
1228 XAllocNamedColor(dsp, cmap, "Black", &fgcol[screen], &tmp);
1240 if (!XAllocNamedColor(dsp, cmap, background,
1243 XAllocNamedColor(dsp, cmap, "Whit
[all...]
H A Dpyro.c131 Colormap cmap; member in struct:__anon107
192 pp->cmap = xwa.colormap;
/solaris-x11-s11/open-src/lib/libXext/sun-src/src/
H A DXGrabWin.c164 Colormap cmap)
175 GetResReq(WxExtensionCode, cmap, req);
193 Colormap cmap)
204 GetResReq(WxExtensionCode, cmap, req);
162 XGrabColormap( Display *dpy, Colormap cmap) argument
191 XUnGrabColormap( Display *dpy, Colormap cmap) argument
/solaris-x11-s11/open-src/app/xmag_multivis/sun-src/
H A Dmultivis.h44 Colormap cmap; /* X Colormap ID */ member in struct:_colmap
78 MVColmap *colmap; /* cmap used for this position */
H A Dmultivis.c43 static MVColmap *mvFindColormap(Colormap cmap);
400 /* label the pixel in the map with this window's cmap */
471 XQueryColors(mvDpy, pCmp->cmap, pCmp->Colors, size);
569 * find & creat a colmap struct for this cmap
574 mvFindColormap(Colormap cmap) argument
577 /* if we've seen this cmap before, return its struct colmap */
579 if (cmap == pCmap->cmap)
582 /* First time for this cmap, creat & link */
585 pCmap->cmap
[all...]
H A Dxmag_multivis.c79 Colormap cmap; /* colormap to use for drawing */ variable
306 cmap = DefaultColormap (dpy, screen);
536 if (border_color && XParseColor (dpy, cmap, border_color, &cdef) &&
537 XAllocColor (dpy, cmap, &cdef)) {
579 } else if (XParseColor (dpy, cmap, back_color, &cdef) &&
580 XAllocColor (dpy, cmap, &cdef)) {
1002 XQueryColor (dpy, cmap, &def);
/solaris-x11-s11/open-src/kernel/efb/src/
H A Defb_vis.c405 * For 8-bit a'lazy loading' scheme is used so that only restore cmap entries
407 * ordered cmap entry that has been accessed since console's VIS_DEVINIT
416 * Initialize the cmap for the current fb depth
444 struct vis_cmap *cmap = (struct vis_cmap *)data; local
456 for (i = 0; i < cmap->count; ++i) {
458 efb_priv->consinfo.kcmap[stream][0][cmap->index + i] =
459 (cmap->red[i] << 2) | (cmap->red[i] >> 6);
461 efb_priv->consinfo.kcmap[stream][1][cmap->index + i] =
462 (cmap
[all...]
H A Defb_drv.c695 efb_cmap_write(efb_private_t *efb_priv, int cmap) argument
704 int map = cmap & 0x1;
710 if (cmap > 1)
716 red = efb_priv->colormap[cmap][0];
717 green = efb_priv->colormap[cmap][1];
718 blue = efb_priv->colormap[cmap][2];
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A DdpsXcmu.c353 Colormap cmap)
366 if (cmap == DefaultColormap(dpy, screen_number)) {
1205 Colormap cmap = colorCube->colormap; local
1269 if (!AllocateColor(dpy, cmap, &color)) {
1270 XFreeColors(dpy, cmap, pixels->pixels, count+first+remain, 0);
1294 Colormap cmap = grayRamp->colormap; local
1354 if (!AllocateColor(dpy, cmap, &color)) {
1388 Colormap cmap = map->colormap; local
1395 ok = XAllocColorCells(dpy, cmap, 1, NULL, 0, pixels->pixels, npixels);
1410 ok = XAllocColorCells(dpy, cmap,
349 PickCorrectVisual( Display *dpy, XVisualInfo *vlist, int n, Colormap cmap) argument
1499 AllocateColor( Display *dpy, Colormap cmap, XColor *color) argument
[all...]
H A DXDPS.c543 req->cmap = 0;
545 req->cmap = colorcube->colormap;
568 req->cmap = grayramp->colormap;
/solaris-x11-s11/open-src/lib/DPS/sun-src/include/DPS/
H A DXDPSproto.h120 Colormap cmap B32; /* colormap for this context */

Completed in 243 milliseconds