| /xsrc/external/mit/xorg-server.old/dist/hw/sun/ |
| H A D | sunCfb24.c | 73 CG24StoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs) argument 88 i = pdefs->pixel; 89 if (pdefs->flags & DoRed) 90 rmap[(i & pVisual->redMask) >> pVisual->offsetRed] = (pdefs->red >> 8); 91 if (pdefs->flags & DoGreen) 92 gmap[(i & pVisual->greenMask) >> pVisual->offsetGreen] = (pdefs->green >> 8); 93 if (pdefs->flags & DoBlue) 94 bmap[(i & pVisual->blueMask) >> pVisual->offsetBlue] = (pdefs->blue >> 8); 95 pdefs++;
|
| H A D | sunCfb.c | 228 CGStoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs) argument 238 ndef = fbExpandDirectColors(pmap, ndef, pdefs, expanddefs); 239 pdefs = expanddefs; 242 i = pdefs->pixel; 243 rmap[i] = pdefs->red >> 8; 244 gmap[i] = pdefs->green >> 8; 245 bmap[i] = pdefs->blue >> 8; 247 pdefs++;
|
| /xsrc/external/mit/xorg-server/dist/hw/sun/ |
| H A D | sunCfb24.c | 73 CG24StoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs) argument 88 i = pdefs->pixel; 89 if (pdefs->flags & DoRed) 90 rmap[(i & pVisual->redMask) >> pVisual->offsetRed] = (pdefs->red >> 8); 91 if (pdefs->flags & DoGreen) 92 gmap[(i & pVisual->greenMask) >> pVisual->offsetGreen] = (pdefs->green >> 8); 93 if (pdefs->flags & DoBlue) 94 bmap[(i & pVisual->blueMask) >> pVisual->offsetBlue] = (pdefs->blue >> 8); 95 pdefs++;
|
| H A D | sunCfb.c | 229 CGStoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs) argument 239 ndef = fbExpandDirectColors(pmap, ndef, pdefs, expanddefs); 240 pdefs = expanddefs; 243 i = pdefs->pixel; 244 rmap[i] = pdefs->red >> 8; 245 gmap[i] = pdefs->green >> 8; 246 bmap[i] = pdefs->blue >> 8; 248 pdefs++;
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/vgahw/ |
| H A D | vgaCmap.c | 76 vgaStoreColors(pmap, ndef, pdefs) 79 xColorItem *pdefs; 101 ndef = miExpandDirectColors (pmap, ndef, pdefs, directDefs); 102 pdefs = directDefs; 119 if (pdefs[i].pixel == overscan) 123 cmap = &(hwp->ModeReg.DAC[pdefs[i].pixel*3]); 125 cmap[0] = pdefs[i].red >> 8; 126 cmap[1] = pdefs[i].green >> 8; 127 cmap[2] = pdefs[i].blue >> 8; 130 cmap[0] = pdefs[ [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/kdrive/fbdev/ |
| H A D | fbdev.h | 91 fbdevGetColors (ScreenPtr pScreen, int n, xColorItem *pdefs); 94 fbdevPutColors (ScreenPtr pScreen, int n, xColorItem *pdefs);
|
| H A D | fbdev.c | 591 xColorItem *pdefs; local in function:fbdevCreateColormap 597 pdefs = malloc(nent * sizeof (xColorItem)); 598 if (!pdefs) 601 pdefs[i].pixel = i; 602 fbdevGetColors (pScreen, nent, pdefs); 605 pmap->red[i].co.local.red = pdefs[i].red; 606 pmap->red[i].co.local.green = pdefs[i].green; 607 pmap->red[i].co.local.blue = pdefs[i].blue; 609 free(pdefs); 756 * Retrieve actual colormap and return selected n entries in pdefs 759 fbdevGetColors(ScreenPtr pScreen,int n,xColorItem * pdefs) argument 803 fbdevPutColors(ScreenPtr pScreen,int n,xColorItem * pdefs) argument [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/netbsd/x68k/ |
| H A D | x68kGraph.c | 125 static void x68kStoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs); 449 * (xColorItem *)pdefs : items 453 x68kStoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs) argument 463 ndef = fbExpandDirectColors(pmap, ndef, pdefs, expanddefs); 464 pdefs = expanddefs; 467 i = pdefs->pixel; 468 rmap[i] = pdefs->red >> 11; 469 gmap[i] = pdefs->green >> 11; 470 bmap[i] = pdefs->blue >> 11; 472 pdefs [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/ |
| H A D | x68kGraph.c | 125 static void x68kStoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs); 450 * (xColorItem *)pdefs : items 454 x68kStoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs) argument 464 ndef = fbExpandDirectColors(pmap, ndef, pdefs, expanddefs); 465 pdefs = expanddefs; 468 i = pdefs->pixel; 469 rmap[i] = pdefs->red >> 11; 470 gmap[i] = pdefs->green >> 11; 471 bmap[i] = pdefs->blue >> 11; 473 pdefs [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xwin/ |
| H A D | wincmap.c | 47 winStoreColors(ColormapPtr pmap, int ndef, xColorItem * pdefs); 188 winStoreColors(ColormapPtr pmap, int ndef, xColorItem * pdefs) argument 205 nRed = pdefs[i].red >> 8; 206 nGreen = pdefs[i].green >> 8; 207 nBlue = pdefs[i].blue >> 8; 210 pCmapPriv->peColors[pdefs[0].pixel + i].peRed = nRed; 211 pCmapPriv->peColors[pdefs[0].pixel + i].peGreen = nGreen; 212 pCmapPriv->peColors[pdefs[0].pixel + i].peBlue = nBlue; 215 pCmapPriv->rgbColors[pdefs[0].pixel + i].rgbRed = nRed; 216 pCmapPriv->rgbColors[pdefs[ [all...] |
| H A D | winshadgdi.c | 78 winStoreColorsShadowGDI(ColormapPtr pmap, int ndef, xColorItem * pdefs); 1097 winStoreColorsShadowGDI(ColormapPtr pColormap, int ndef, xColorItem * pdefs) argument 1107 pdefs[0].pixel, 1108 ndef, pCmapPriv->peColors + pdefs[0].pixel) == 0) { 1131 pdefs[0].pixel, 1132 ndef, pCmapPriv->rgbColors + pdefs[0].pixel) == 0) {
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xwin/ |
| H A D | wincmap.c | 48 winStoreColors (ColormapPtr pmap, int ndef, xColorItem *pdefs); 199 xColorItem *pdefs) 217 nRed = pdefs[i].red >> 8; 218 nGreen = pdefs[i].green >> 8; 219 nBlue = pdefs[i].blue >> 8; 222 pCmapPriv->peColors[pdefs[0].pixel + i].peRed = nRed; 223 pCmapPriv->peColors[pdefs[0].pixel + i].peGreen = nGreen; 224 pCmapPriv->peColors[pdefs[0].pixel + i].peBlue = nBlue; 227 pCmapPriv->rgbColors[pdefs[0].pixel + i].rgbRed = nRed; 228 pCmapPriv->rgbColors[pdefs[ 197 winStoreColors(ColormapPtr pmap,int ndef,xColorItem * pdefs) argument [all...] |
| H A D | winnativegdi.c | 77 xColorItem *pdefs); 470 xColorItem *pdefs) 468 winStoreColorsNativeGDI(ColormapPtr pmap,int ndef,xColorItem * pdefs) argument
|
| /xsrc/external/mit/xorg-server/dist/hw/kdrive/src/ |
| H A D | kcmap.c | 204 KdStoreColors(ColormapPtr pCmap, int ndef, xColorItem * pdefs) argument 229 ndef = fbExpandDirectColors(pCmap, ndef, pdefs, expanddefs); 230 pdefs = expanddefs; 233 (*pScreenPriv->card->cfuncs->putColors) (pCmap->pScreen, ndef, pdefs);
|
| /xsrc/external/mit/xorg-server.old/dist/hw/kdrive/fake/ |
| H A D | fake.h | 88 fakeGetColors (ScreenPtr pScreen, int n, xColorItem *pdefs); 91 fakePutColors (ScreenPtr pScreen, int n, xColorItem *pdefs);
|
| H A D | fake.c | 458 fakeGetColors (ScreenPtr pScreen, int n, xColorItem *pdefs) argument 462 pdefs->red = 0; 463 pdefs->green = 0; 464 pdefs->blue = 0; 465 pdefs++; 470 fakePutColors (ScreenPtr pScreen, int n, xColorItem *pdefs) argument
|
| /xsrc/external/mit/xorg-server.old/dist/hw/kdrive/src/ |
| H A D | kcmap.c | 211 KdStoreColors (ColormapPtr pCmap, int ndef, xColorItem *pdefs) argument 237 ndef = fbExpandDirectColors(pCmap, ndef, pdefs, expanddefs); 238 pdefs = expanddefs; 241 (*pScreenPriv->card->cfuncs->putColors) (pCmap->pScreen, ndef, pdefs); 245 (*pScreenPriv->card->cfuncs->recolorCursor) (pCmap->pScreen, ndef, pdefs);
|
| /xsrc/external/mit/xorg-server.old/dist/hw/kdrive/ephyr/ |
| H A D | ephyr.h | 119 ephyrGetColors (ScreenPtr pScreen, int n, xColorItem *pdefs); 122 ephyrPutColors (ScreenPtr pScreen, int n, xColorItem *pdefs);
|
| H A D | ephyr.c | 1007 ephyrGetColors (ScreenPtr pScreen, int n, xColorItem *pdefs) argument 1015 pdefs->red = 0; 1016 pdefs->green = 0; 1017 pdefs->blue = 0; 1018 pdefs++; 1024 ephyrPutColors (ScreenPtr pScreen, int n, xColorItem *pdefs) argument 1035 p = pdefs->pixel; 1042 pdefs->red >> 8, 1043 pdefs->green >> 8, 1044 pdefs [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/kdrive/ephyr/ |
| H A D | ephyr.h | 146 ephyrGetColors(ScreenPtr pScreen, int n, xColorItem * pdefs); 149 ephyrPutColors(ScreenPtr pScreen, int n, xColorItem * pdefs);
|
| H A D | ephyr.c | 1207 ephyrGetColors(ScreenPtr pScreen, int n, xColorItem * pdefs) argument 1214 pdefs->red = 0; 1215 pdefs->green = 0; 1216 pdefs->blue = 0; 1217 pdefs++; 1223 ephyrPutColors(ScreenPtr pScreen, int n, xColorItem * pdefs) argument 1236 p = pdefs->pixel; 1243 pdefs->red >> 8, 1244 pdefs->green >> 8, pdefs [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/vfb/ |
| H A D | InitOutput.c | 486 vfbStoreColors(ColormapPtr pmap, int ndef, xColorItem *pdefs) argument 505 if (pdefs[i].flags & DoRed) 507 swapcopy16(pXWDCmap[pdefs[i].pixel].red, pdefs[i].red); 509 if (pdefs[i].flags & DoGreen) 511 swapcopy16(pXWDCmap[pdefs[i].pixel].green, pdefs[i].green); 513 if (pdefs[i].flags & DoBlue) 515 swapcopy16(pXWDCmap[pdefs[i].pixel].blue, pdefs[ [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/vfb/ |
| H A D | InitOutput.c | 433 vfbStoreColors(ColormapPtr pmap, int ndef, xColorItem * pdefs) argument 449 if (pdefs[i].flags & DoRed) { 450 swapcopy16(pXWDCmap[pdefs[i].pixel].red, pdefs[i].red); 452 if (pdefs[i].flags & DoGreen) { 453 swapcopy16(pXWDCmap[pdefs[i].pixel].green, pdefs[i].green); 455 if (pdefs[i].flags & DoBlue) { 456 swapcopy16(pXWDCmap[pdefs[i].pixel].blue, pdefs[ [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/ |
| H A D | xf86cmap.c | 361 xColorItem *pdefs 372 (*pScreen->StoreColors)(pmap, ndef, pdefs); 391 if(pdefs[ndef].flags & DoRed) { 392 index = (pdefs[ndef].pixel & pVisual->redMask) >> 400 if(pdefs[ndef].flags & DoGreen) { 401 index = (pdefs[ndef].pixel & pVisual->greenMask) >> 409 if(pdefs[ndef].flags & DoBlue) { 410 index = (pdefs[ndef].pixel & pVisual->blueMask) >> 428 indices[ndef] = pdefs[ndef].pixel; 358 CMapStoreColors(ColormapPtr pmap,int ndef,xColorItem * pdefs) argument
|
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/common/ |
| H A D | xf86cmap.c | 358 CMapStoreColors(ColormapPtr pmap, int ndef, xColorItem * pdefs) argument 369 (*pScreen->StoreColors) (pmap, ndef, pdefs); 388 if (pdefs[ndef].flags & DoRed) { 389 index = (pdefs[ndef].pixel & pVisual->redMask) >> 398 if (pdefs[ndef].flags & DoGreen) { 399 index = (pdefs[ndef].pixel & pVisual->greenMask) >> 408 if (pdefs[ndef].flags & DoBlue) { 409 index = (pdefs[ndef].pixel & pVisual->blueMask) >> 430 indices[ndef] = pdefs[ndef].pixel;
|