diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:57 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:48:57 +0000 |
commit | 9508a382f8a9f241dab097d921b6d290c1c3a776 (patch) | |
tree | fa456480bae7040c3f971a70b390f2d091c680b5 /hw/xfree86/xf8_16bpp/cfb8_16.h | |
parent | ded6147bfb5d75ff1e67c858040a628b61bc17d1 (diff) |
Initial revision
Diffstat (limited to 'hw/xfree86/xf8_16bpp/cfb8_16.h')
-rw-r--r-- | hw/xfree86/xf8_16bpp/cfb8_16.h | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/hw/xfree86/xf8_16bpp/cfb8_16.h b/hw/xfree86/xf8_16bpp/cfb8_16.h new file mode 100644 index 000000000..b7fa9fd00 --- /dev/null +++ b/hw/xfree86/xf8_16bpp/cfb8_16.h @@ -0,0 +1,69 @@ +/* $XFree86: xc/programs/Xserver/hw/xfree86/xf8_16bpp/cfb8_16.h,v 1.2 1999/03/28 15:33:09 dawes Exp $ */ + +#ifndef _CFB8_16_H +#define _CFB8_16_H + +#include "regionstr.h" +#include "windowstr.h" + +typedef struct { + pointer pix8; + int width8; + pointer pix16; + int width16; + unsigned char key; +} cfb8_16ScreenRec, *cfb8_16ScreenPtr; + +extern int cfb8_16ScreenPrivateIndex; + +Bool +cfb8_16ScreenInit ( + ScreenPtr pScreen, + pointer pbits16, + pointer pbits8, + int xsize, int ysize, + int dpix, int dpiy, + int width16, + int width8 +); + +void +cfb8_16PaintWindow ( + WindowPtr pWin, + RegionPtr pRegion, + int what +); + +Bool cfb8_16CreateWindow(WindowPtr pWin); +Bool cfb8_16DestroyWindow(WindowPtr pWin); + +Bool +cfb8_16PositionWindow( + WindowPtr pWin, + int x, int y +); + +void +cfb8_16CopyWindow( + WindowPtr pWin, + DDXPointRec ptOldOrg, + RegionPtr prgnSrc +); + +Bool +cfb8_16ChangeWindowAttributes( + WindowPtr pWin, + unsigned long mask +); + +void +cfb8_16WindowExposures( + WindowPtr pWin, + RegionPtr pReg, + RegionPtr pOtherReg +); + +#define CFB8_16_GET_SCREEN_PRIVATE(pScreen)\ + (cfb8_16ScreenPtr)((pScreen)->devPrivates[cfb8_16ScreenPrivateIndex].ptr) + +#endif /* _CFB8_16_H */ |