--- .empty Thu Jan 1 00:00:00 1970 +++ NEW/xc/programs/Xserver/hw/s24/s24-8.c Thu Jan 1 00:00:00 1970 @@ -0,0 +1,69 @@ +#include + +#include + +#include "s24.h" +#include "crossdepth.h" + +#define PSZ 8 +#include + +PixmapRec *create_8bit_pixmap(ScreenRec *s) +{ + return(cfbCreatePixmap(s,0,0,8)); +} + +Bool ds_8_ScreenInit(ScreenRec *s, void *p, int w, int h, int dx, int dy, int pw) +{ + return(cfbScreenInit(s,p,w,h,dx,dy,pw)); +} + +Bool ds_8_CreateWindow(WindowRec *w) +{ + return(cfbCreateWindow(w)); +} + +void ds_8_GetImage(DrawableRec *d, int x, int y, int w, int h, unsigned int fmt, unsigned long int pm, char *dst) +{ + cfbGetImage(d,x,y,w,h,fmt,pm,dst); +} + +void ds_8_GetSpans(DrawableRec *d, int wmax, DDXPointPtr pts, int *wvec, int nsp, char *dst) +{ + cfbGetSpans(d,wmax,pts,wvec,nsp,dst); +} + +Bool ds_8_DestroyWindow(WindowRec *w) +{ + return(cfbDestroyWindow(w)); +} + +Bool ds_8_PositionWindow(WindowRec *w, int x, int y) +{ + return(cfbPositionWindow(w,x,y)); +} + +Bool ds_8_ChangeWindowAttributes(WindowRec *w, unsigned long int mask) +{ + return(cfbChangeWindowAttributes(w,mask)); +} + +void ds_8_PaintWindow(WindowRec *w, RegionRec *r, int what) +{ + cfbPaintWindow(w,r,what); +} + +void ds_8_CopyWindow(WindowRec *w, DDXPointRec oo, RegionRec *src) +{ + cfbCopyWindow(w,oo,src); +} + +Bool ds_8_CreateGC(GC *gc) +{ + return(cfbCreateGC(gc)); +} + +Bool ds_8_CloseScreen(int inx, ScreenRec *s) +{ + return(cfbCloseScreen(inx,s)); +}