| /OK3568_Linux_fs/external/xserver/hw/dmx/ |
| H A D | dmxcmap.c | 50 dmxAllocateColormapPrivates(ColormapPtr pColormap) in dmxAllocateColormapPrivates() argument 59 DMX_SET_COLORMAP_PRIV(pColormap, pCmapPriv); in dmxAllocateColormapPrivates() 66 dmxBECreateColormap(ColormapPtr pColormap) in dmxBECreateColormap() argument 68 ScreenPtr pScreen = pColormap->pScreen; in dmxBECreateColormap() 70 dmxColormapPrivPtr pCmapPriv = DMX_GET_COLORMAP_PRIV(pColormap); in dmxBECreateColormap() 71 VisualPtr pVisual = pColormap->pVisual; in dmxBECreateColormap() 91 dmxCreateColormap(ColormapPtr pColormap) in dmxCreateColormap() argument 93 ScreenPtr pScreen = pColormap->pScreen; in dmxCreateColormap() 97 if (!dmxAllocateColormapPrivates(pColormap)) in dmxCreateColormap() 101 if (!dmxBECreateColormap(pColormap)) in dmxCreateColormap() [all …]
|
| H A D | dmxcmap.h | 47 extern Bool dmxCreateColormap(ColormapPtr pColormap); 48 extern void dmxDestroyColormap(ColormapPtr pColormap); 49 extern void dmxInstallColormap(ColormapPtr pColormap); 50 extern void dmxStoreColors(ColormapPtr pColormap, int ndef, xColorItem * pdef); 54 extern Bool dmxBECreateColormap(ColormapPtr pColormap); 55 extern Bool dmxBEFreeColormap(ColormapPtr pColormap);
|
| /OK3568_Linux_fs/external/xserver/render/ |
| H A D | miindex.c | 44 miBuildRenderColormap(ColormapPtr pColormap, Pixel * pixels, int *nump) in miBuildRenderColormap() argument 55 if (pColormap->mid != pColormap->pScreen->defColormap) { in miBuildRenderColormap() 59 int avail = pColormap->pVisual->ColormapEntries; in miBuildRenderColormap() 64 (pColormap->pVisual->class | DynamicClass) == PseudoColor) in miBuildRenderColormap() 91 if (needed <= pColormap->freeRed) in miBuildRenderColormap() 105 if ((pColormap->pVisual->class | DynamicClass) == PseudoColor) { in miBuildRenderColormap() 107 cube * cube * cube < pColormap->pVisual->ColormapEntries; in miBuildRenderColormap() 120 needed = pColormap->pVisual->ColormapEntries - (cube * cube * cube); in miBuildRenderColormap() 127 gray = pColormap->pVisual->ColormapEntries; in miBuildRenderColormap() 142 memset(used, '\0', pColormap->pVisual->ColormapEntries * sizeof(Bool)); in miBuildRenderColormap() [all …]
|
| H A D | picture.c | 106 PictureStoreColors(ColormapPtr pColormap, int ndef, xColorItem * pdef) in PictureStoreColors() argument 108 ScreenPtr pScreen = pColormap->pScreen; in PictureStoreColors() 112 (*pScreen->StoreColors) (pColormap, ndef, pdef); in PictureStoreColors() 116 if (pColormap->class == PseudoColor || pColormap->class == GrayScale) { in PictureStoreColors() 122 format->index.pColormap == pColormap) { in PictureStoreColors() 423 if (format->type != PictTypeIndexed || format->index.pColormap) in PictureInitIndexedFormat() 427 dixLookupResourceByType((void **) &format->index.pColormap, in PictureInitIndexedFormat() 435 &format->index.pColormap, AllocNone, 0) in PictureInitIndexedFormat()
|
| H A D | picturestr.h | 41 ColormapPtr pColormap; member
|
| H A D | render.c | 401 pFormat->index.pColormap) in ProcRenderQueryPictFormats() 402 pictForm->colormap = pFormat->index.pColormap->mid; in ProcRenderQueryPictFormats()
|
| /OK3568_Linux_fs/external/xserver/hw/xwin/ |
| H A D | wincmap.c | 112 winInstallColormap(ColormapPtr pColormap) in winInstallColormap() argument 114 ScreenPtr pScreen = pColormap->pScreen; in winInstallColormap() 124 if (pColormap != oldpmap) { in winInstallColormap() 133 WalkTree(pColormap->pScreen, TellLostMap, (char *) &oldpmap->mid); in winInstallColormap() 137 pScreenPriv->pcmapInstalled = pColormap; in winInstallColormap() 138 WalkTree(pColormap->pScreen, TellGainedMap, (char *) &pColormap->mid); in winInstallColormap() 141 if (!((*pScreenPriv->pwinInstallColormap) (pColormap))) { in winInstallColormap() 150 pScreenPriv->pcmapInstalled = pColormap; in winInstallColormap() 297 winDestroyColormap(ColormapPtr pColormap) in winDestroyColormap() argument 299 winScreenPriv(pColormap->pScreen); in winDestroyColormap() [all …]
|
| H A D | winshadgdi.c | 72 winInstallColormapShadowGDI(ColormapPtr pColormap); 78 winCreateColormapShadowGDI(ColormapPtr pColormap); 81 winDestroyColormapShadowGDI(ColormapPtr pColormap); 894 winInstallColormapShadowGDI(ColormapPtr pColormap) in winInstallColormapShadowGDI() argument 896 ScreenPtr pScreen = pColormap->pScreen; in winInstallColormapShadowGDI() 901 winCmapPriv(pColormap); in winInstallColormapShadowGDI() 933 pScreenPriv->pcmapInstalled = pColormap; in winInstallColormapShadowGDI() 947 winStoreColorsShadowGDI(ColormapPtr pColormap, int ndef, xColorItem * pdefs) in winStoreColorsShadowGDI() argument 949 ScreenPtr pScreen = pColormap->pScreen; in winStoreColorsShadowGDI() 952 winCmapPriv(pColormap); in winStoreColorsShadowGDI() [all …]
|
| H A D | winshadddnl.c | 73 winInstallColormapShadowDDNL(ColormapPtr pColormap); 79 winCreateColormapShadowDDNL(ColormapPtr pColormap); 82 winDestroyColormapShadowDDNL(ColormapPtr pColormap); 1038 winInstallColormapShadowDDNL(ColormapPtr pColormap) in winInstallColormapShadowDDNL() argument 1040 ScreenPtr pScreen = pColormap->pScreen; in winInstallColormapShadowDDNL() 1043 winCmapPriv(pColormap); in winInstallColormapShadowDDNL() 1056 pScreenPriv->pcmapInstalled = pColormap; in winInstallColormapShadowDDNL() 1066 winStoreColorsShadowDDNL(ColormapPtr pColormap, int ndef, xColorItem * pdefs) in winStoreColorsShadowDDNL() argument 1068 ScreenPtr pScreen = pColormap->pScreen; in winStoreColorsShadowDDNL() 1071 winCmapPriv(pColormap); in winStoreColorsShadowDDNL() [all …]
|
| H A D | win.h | 280 typedef Bool (*winInstallColormapProcPtr) (ColormapPtr pColormap); 285 typedef Bool (*winCreateColormapProcPtr) (ColormapPtr pColormap); 287 typedef Bool (*winDestroyColormapProcPtr) (ColormapPtr pColormap);
|
| /OK3568_Linux_fs/external/xserver/mi/ |
| H A D | misprite.c | 89 ColormapPtr pColormap; member 330 pScreenPriv->pColormap = NULL; in miSpriteInitialize() 571 if (pPriv->pColormap != pMap) { in miSpriteInstallColormap() 604 if (pPriv->pColormap == pMap) { in miSpriteStoreColors() 667 if (pScreenPriv->pColormap != pScreenPriv->pInstalledMap || in miSpriteFindColors() 674 pScreenPriv->pColormap = pScreenPriv->pInstalledMap; in miSpriteFindColors() 678 FakeAllocColor(pScreenPriv->pColormap, sourceColor); in miSpriteFindColors() 682 FakeAllocColor(pScreenPriv->pColormap, maskColor); in miSpriteFindColors() 684 FakeFreeColor(pScreenPriv->pColormap, sourceColor->pixel); in miSpriteFindColors() 685 FakeFreeColor(pScreenPriv->pColormap, maskColor->pixel); in miSpriteFindColors()
|
| /OK3568_Linux_fs/external/xserver/composite/ |
| H A D | compinit.c | 92 compInstallColormap(ColormapPtr pColormap) in compInstallColormap() argument 94 VisualPtr pVisual = pColormap->pVisual; in compInstallColormap() 95 ScreenPtr pScreen = pColormap->pScreen; in compInstallColormap() 103 (*pScreen->InstallColormap) (pColormap); in compInstallColormap()
|