#ifndef __DGAPROC_H
#define __DGAPROC_H
#include "pixmap.h"
typedef struct {
int VSync_num;
int VSync_den;
int imageHeight;
int bytesPerScanline;
int depth;
int bitsPerPixel;
unsigned long red_mask;
unsigned long green_mask;
unsigned long blue_mask;
short visualClass;
int viewportWidth;
int viewportHeight;
int yViewportStep;
int maxViewportY;
int offset;
int reserved1;
int reserved2;
/* DDX interface */
int
int Index,
int num,
);
void
int Index,
);
void
int Index,
long mask
);
void DGAShutdown(void);
int DGAGetViewportStatus(int Index);
int
int Index,
int x, int y, int w, int h,
unsigned long color
);
int
int Index,
int w, int h,
);
int
int Index,
int w, int h,
unsigned long color
);
int
int Index,
int x, int y,
int mode
);
int DGAGetModes(int Index);
int DGAGetOldDGAMode(int Index);
Bool DGAVTSwitch(void);
void DGACloseFramebuffer(int Index);
int alloc);
extern unsigned char DGAReqCode;
extern int DGAErrorBase;
extern int DGAEventBase;
extern int *XDGAEventBase;
#endif /* __DGAPROC_H */