/* * Authors: Alan Hourihane, * Michel Dänzer, */ #include "compat-api.h" typedef struct { unsigned char* fbstart; unsigned char* fbmem; int fboff; int lineLength; int rotate; Bool shadowFB; void *shadow; CloseScreenProcPtr CloseScreen; CreateScreenResourcesProcPtr CreateScreenResources; void (*PointerMoved)(SCRN_ARG_TYPE arg, int x, int y); EntityInfoPtr pEnt; /* DGA info */ DGAModePtr pDGAMode; int nDGAMode; OptionInfoPtr Options; } FBDevRec, *FBDevPtr; #define FBDEVPTR(p) ((FBDevPtr)((p)->driverPrivate))