1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#ifndef DRV_TYPES_H
#define DRV_TYPES_H
#include "colormap.h"
typedef struct _DrvPixmap *DrvPixmapPtr;
typedef struct _DrvPicture *DrvPicturePtr;
typedef struct _DrvGC *DrvGCPtr;
typedef struct _drvdamage *DrvDamagePtr;
typedef Bool (* DrvCreateGCProcPtr)(DrvGCPtr /*pGC*/);
typedef void (*drvCopyProc) (DrvPixmapPtr pSrcPixmap,
DrvPixmapPtr pDstPixmap,
DrvGCPtr pGC,
BoxPtr pDstBox,
int nbox,
int dx,
int dy,
Bool reverse,
Bool upsidedown,
Pixel bitplane,
void *closure);
typedef void (* DrvGetImageProcPtr)(
DrvPixmapPtr /*pPixmap*/,
int /*sx*/,
int /*sy*/,
int /*w*/,
int /*h*/,
unsigned int /*format*/,
unsigned long /*planeMask*/,
char * /*pdstLine*/);
typedef void (* DrvGetSpansProcPtr)(
DrvPixmapPtr /*pPixmap*/,
int /*wMax*/,
DDXPointPtr /*ppt*/,
int* /*pwidth*/,
int /*nspans*/,
char * /*pdstStart*/);
typedef void (* PixmapWindowFixupProcPtr)(DrvPixmapPtr *ppPixmap, int bpp);
#endif
|