vramdac.h revision bdcaa8d0
1/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/rendition/vramdac.h,v 1.6 2002/04/04 14:05:45 eich Exp $ */ 2/* 3 * file vramdac.h 4 * 5 * headfile for vramdac.c 6 */ 7 8#ifndef __VRAMDAC_H__ 9#define __VRAMDAC_H__ 10 11 12 13/* 14 * includes 15 */ 16 17#include "vtypes.h" 18 19 20 21/* 22 * defines 23 */ 24 25#define VERITE_NOCURSOR 0 26#define VERITE_2COLORS 1 27#define VERITE_3COLORS 2 28#define VERITE_XCURSOR 3 29 30#define VERITE_CURSOR32 0 31#define VERITE_CURSOR64 1 32 33 34 35/* 36 * function prototypes 37 */ 38 39void verite_savedac (ScrnInfoPtr pScreenInfo); 40void verite_restoredac (ScrnInfoPtr pScreenInfo, RenditionRegPtr reg); 41int verite_initdac(ScrnInfoPtr pScreenInfo, vu8 bpp, vu8 doubleclock); 42void verite_enablecursor(ScrnInfoPtr pScreenInfo, int type, int size); 43void verite_movecursor(ScrnInfoPtr pScreenInfo, vu16 x, vu16 y, vu8 xo, vu8 yo); 44void verite_setcursorcolor(ScrnInfoPtr pScreenInfo, vu32 bg, vu32 fg); 45void verite_loadcursor(ScrnInfoPtr pScreenInfo, vu8 type, vu8 *cursorimage); 46void verite_setpalette(ScrnInfoPtr pScreenInfo, int numColors, int *indices, 47 LOCO *colors, VisualPtr pVisual); 48 49 50 51#endif /* #ifndef _VRAMDAC_H_ */ 52 53/* 54 * end of file vramdac.h 55 */ 56