Lines Matching full:indices
155 int *indices; in xf86HandleColormaps() local
167 if (!(indices = xallocarray(maxColors, sizeof(int)))) { in xf86HandleColormaps()
174 free(indices); in xf86HandleColormaps()
197 pScreenPriv->PreAllocIndices = indices; in xf86HandleColormaps()
364 int *indices = pScreenPriv->PreAllocIndices; in CMapStoreColors() local
393 if (indices[i] == index) in CMapStoreColors()
396 indices[num++] = index; in CMapStoreColors()
403 if (indices[i] == index) in CMapStoreColors()
406 indices[num++] = index; in CMapStoreColors()
413 if (indices[i] == index) in CMapStoreColors()
416 indices[num++] = index; in CMapStoreColors()
425 indices[i] = i; in CMapStoreColors()
430 indices[ndef] = pdefs[ndef].pixel; in CMapStoreColors()
433 CMapRefreshColors(pmap, num, indices); in CMapStoreColors()
534 int *indices = pScreenPriv->PreAllocIndices; in CMapReinstallMap() local
537 indices[i] = i; in CMapReinstallMap()
540 CMapRefreshColors(pmap, cmapPriv->numColors, indices); in CMapReinstallMap()
543 indices, cmapPriv->colors, pmap->pVisual); in CMapReinstallMap()
556 CMapRefreshColors(ColormapPtr pmap, int defs, int *indices) in CMapRefreshColors() argument
612 index = indices[i]; in CMapRefreshColors()
634 index = indices[i]; in CMapRefreshColors()
649 index = indices[i]; in CMapRefreshColors()
665 (*pScrn->LoadPalette) (pScrn, defs, indices, colors, pmap->pVisual); in CMapRefreshColors()
668 CMapSetOverscan(pmap, defs, indices); in CMapRefreshColors()
688 CMapSetOverscan(ColormapPtr pmap, int defs, int *indices) in CMapSetOverscan() argument
713 * all indices for a black or close match to black. in CMapSetOverscan()
716 * search the indices that were changed for a better match to black. in CMapSetOverscan()
741 index = indices[i]; in CMapSetOverscan()
789 index = indices[i]; in CMapSetOverscan()