Searched refs:pdefs (Results 1 - 25 of 38) sorted by relevance

12

/xsrc/external/mit/xorg-server.old/dist/hw/sun/
H A DsunCfb24.c73 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 DsunCfb.c228 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 DsunCfb24.c73 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 DsunCfb.c229 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 DvgaCmap.c76 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 Dfbdev.h91 fbdevGetColors (ScreenPtr pScreen, int n, xColorItem *pdefs);
94 fbdevPutColors (ScreenPtr pScreen, int n, xColorItem *pdefs);
H A Dfbdev.c591 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 Dx68kGraph.c125 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 Dx68kGraph.c125 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 Dwincmap.c47 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 Dwinshadgdi.c78 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 Dwincmap.c48 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 Dwinnativegdi.c77 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 Dkcmap.c204 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 Dfake.h88 fakeGetColors (ScreenPtr pScreen, int n, xColorItem *pdefs);
91 fakePutColors (ScreenPtr pScreen, int n, xColorItem *pdefs);
H A Dfake.c458 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 Dkcmap.c211 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 Dephyr.h119 ephyrGetColors (ScreenPtr pScreen, int n, xColorItem *pdefs);
122 ephyrPutColors (ScreenPtr pScreen, int n, xColorItem *pdefs);
H A Dephyr.c1007 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 Dephyr.h146 ephyrGetColors(ScreenPtr pScreen, int n, xColorItem * pdefs);
149 ephyrPutColors(ScreenPtr pScreen, int n, xColorItem * pdefs);
H A Dephyr.c1207 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 DInitOutput.c486 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 DInitOutput.c433 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 Dxf86cmap.c361 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 Dxf86cmap.c358 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;

Completed in 23 milliseconds

12