1 2 3 /* Prototypes of functions defined in interface.c. */ 4 5 /* 6 * This is a temporary function that allocates and fills in a ModeInfo 7 * structure based on a svgalib mode number. 8 */ 9 10 ModeInfo *__svgalib_createModeInfoStructureForSvgalibMode(int mode); 11 12 /* 13 * This function converts a number of significant color bits to a matching 14 * DAC mode type as defined in the RAMDAC interface. 15 */ 16 17 int __svgalib_colorbits_to_colormode(int bpp, int colorbits); 18 19 /* 20 * Clear the accelspecs structure (disable acceleration). 21 */ 22 23 void __svgalib_clear_accelspecs(AccelSpecs * accelspecs); 24