Lines Matching refs:palettes
2373 D3D8, so this should only be used for DX <=7 surfaces (with non-device palettes) */
2555 * is slow. Further RGB->P8 conversion is not possible because palettes can have
2564 /* In DirectDraw the palette is a property of the surface, there are no such things as device palettes. */
2577 /* Direct3D >= 8 palette usage style: P8 textures use device palettes, palette entry format is A8R8G8B8,
2582 table[i][0] = device->palettes[device->currentPalette][i].peRed;
2583 table[i][1] = device->palettes[device->currentPalette][i].peGreen;
2584 table[i][2] = device->palettes[device->currentPalette][i].peBlue;
2585 table[i][3] = device->palettes[device->currentPalette][i].peFlags;
2795 if (!memcmp(This->palette9, device->palettes[device->currentPalette], sizeof(PALETTEENTRY) * 256))
2802 memcpy(This->palette9, device->palettes[device->currentPalette], sizeof(PALETTEENTRY) * 256);