Home
last modified time | relevance | path

Searched refs:pdefs (Results 1 – 12 of 12) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/xwin/
H A Dwincmap.c47 winStoreColors(ColormapPtr pmap, int ndef, xColorItem * pdefs);
188 winStoreColors(ColormapPtr pmap, int ndef, xColorItem * pdefs) in winStoreColors() argument
205 nRed = pdefs[i].red >> 8; in winStoreColors()
206 nGreen = pdefs[i].green >> 8; in winStoreColors()
207 nBlue = pdefs[i].blue >> 8; in winStoreColors()
210 pCmapPriv->peColors[pdefs[0].pixel + i].peRed = nRed; in winStoreColors()
211 pCmapPriv->peColors[pdefs[0].pixel + i].peGreen = nGreen; in winStoreColors()
212 pCmapPriv->peColors[pdefs[0].pixel + i].peBlue = nBlue; in winStoreColors()
215 pCmapPriv->rgbColors[pdefs[0].pixel + i].rgbRed = nRed; in winStoreColors()
216 pCmapPriv->rgbColors[pdefs[0].pixel + i].rgbGreen = nGreen; in winStoreColors()
[all …]
H A Dwinshadgdi.c75 winStoreColorsShadowGDI(ColormapPtr pmap, int ndef, xColorItem * pdefs);
947 winStoreColorsShadowGDI(ColormapPtr pColormap, int ndef, xColorItem * pdefs) in winStoreColorsShadowGDI() argument
957 pdefs[0].pixel, in winStoreColorsShadowGDI()
958 ndef, pCmapPriv->peColors + pdefs[0].pixel) == 0) { in winStoreColorsShadowGDI()
981 pdefs[0].pixel, in winStoreColorsShadowGDI()
982 ndef, pCmapPriv->rgbColors + pdefs[0].pixel) == 0) { in winStoreColorsShadowGDI()
H A Dwinshadddnl.c76 winStoreColorsShadowDDNL(ColormapPtr pmap, int ndef, xColorItem * pdefs);
1066 winStoreColorsShadowDDNL(ColormapPtr pColormap, int ndef, xColorItem * pdefs) in winStoreColorsShadowDDNL() argument
1078 pdefs[0].pixel, in winStoreColorsShadowDDNL()
1081 + pdefs[0].pixel); in winStoreColorsShadowDDNL()
H A Dwin.h283 int ndef, xColorItem * pdefs);
/OK3568_Linux_fs/external/xserver/hw/kdrive/src/
H A Dkcmap.c204 KdStoreColors(ColormapPtr pCmap, int ndef, xColorItem * pdefs) in KdStoreColors() argument
229 ndef = fbExpandDirectColors(pCmap, ndef, pdefs, expanddefs); in KdStoreColors()
230 pdefs = expanddefs; in KdStoreColors()
233 (*pScreenPriv->card->cfuncs->putColors) (pCmap->pScreen, ndef, pdefs); in KdStoreColors()
H A Dkdrive.h316 KdStoreColors(ColormapPtr pCmap, int ndef, xColorItem * pdefs);
/OK3568_Linux_fs/external/xserver/hw/vfb/
H A DInitOutput.c445 vfbStoreColors(ColormapPtr pmap, int ndef, xColorItem * pdefs) in vfbStoreColors() argument
461 if (pdefs[i].flags & DoRed) { in vfbStoreColors()
462 swapcopy16(pXWDCmap[pdefs[i].pixel].red, pdefs[i].red); in vfbStoreColors()
464 if (pdefs[i].flags & DoGreen) { in vfbStoreColors()
465 swapcopy16(pXWDCmap[pdefs[i].pixel].green, pdefs[i].green); in vfbStoreColors()
467 if (pdefs[i].flags & DoBlue) { in vfbStoreColors()
468 swapcopy16(pXWDCmap[pdefs[i].pixel].blue, pdefs[i].blue); in vfbStoreColors()
/OK3568_Linux_fs/external/xserver/hw/kdrive/ephyr/
H A Dephyr.c1209 ephyrGetColors(ScreenPtr pScreen, int n, xColorItem * pdefs) in ephyrGetColors() argument
1216 pdefs->red = 0; in ephyrGetColors()
1217 pdefs->green = 0; in ephyrGetColors()
1218 pdefs->blue = 0; in ephyrGetColors()
1219 pdefs++; in ephyrGetColors()
1225 ephyrPutColors(ScreenPtr pScreen, int n, xColorItem * pdefs) in ephyrPutColors() argument
1238 p = pdefs->pixel; in ephyrPutColors()
1245 pdefs->red >> 8, in ephyrPutColors()
1246 pdefs->green >> 8, pdefs->blue >> 8); in ephyrPutColors()
1247 pdefs++; in ephyrPutColors()
H A Dephyr.h146 ephyrGetColors(ScreenPtr pScreen, int n, xColorItem * pdefs);
149 ephyrPutColors(ScreenPtr pScreen, int n, xColorItem * pdefs);
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86cmap.c358 CMapStoreColors(ColormapPtr pmap, int ndef, xColorItem * pdefs) in CMapStoreColors() argument
369 (*pScreen->StoreColors) (pmap, ndef, pdefs); in CMapStoreColors()
388 if (pdefs[ndef].flags & DoRed) { in CMapStoreColors()
389 index = (pdefs[ndef].pixel & pVisual->redMask) >> in CMapStoreColors()
398 if (pdefs[ndef].flags & DoGreen) { in CMapStoreColors()
399 index = (pdefs[ndef].pixel & pVisual->greenMask) >> in CMapStoreColors()
408 if (pdefs[ndef].flags & DoBlue) { in CMapStoreColors()
409 index = (pdefs[ndef].pixel & pVisual->blueMask) >> in CMapStoreColors()
430 indices[ndef] = pdefs[ndef].pixel; in CMapStoreColors()
H A Dxf86VGAarbiterPriv.h175 * pdefs);
H A Dxf86VGAarbiter.c386 VGAarbiterStoreColors(ColormapPtr pmap, int ndef, xColorItem * pdefs) in VGAarbiterStoreColors() argument
392 (*pScreen->StoreColors) (pmap, ndef, pdefs); in VGAarbiterStoreColors()