1 #ifndef XORG_COMPOSITE_H
2 #define XORG_COMPOSITE_H
3 
4 #include "xorg_exa.h"
5 
6 boolean xorg_composite_accelerated(int op,
7                                    PicturePtr pSrcPicture,
8                                    PicturePtr pMaskPicture,
9                                    PicturePtr pDstPicture);
10 
11 boolean xorg_composite_bind_state(struct exa_context *exa,
12                                   int op,
13                                   PicturePtr pSrcPicture,
14                                   PicturePtr pMaskPicture,
15                                   PicturePtr pDstPicture,
16                                   struct exa_pixmap_priv *pSrc,
17                                   struct exa_pixmap_priv *pMask,
18                                   struct exa_pixmap_priv *pDst);
19 
20 void xorg_composite(struct exa_context *exa,
21                     struct exa_pixmap_priv *dst,
22                     int srcX, int srcY, int maskX, int maskY,
23                     int dstX, int dstY, int width, int height);
24 
25 boolean xorg_solid_bind_state(struct exa_context *exa,
26                               struct exa_pixmap_priv *pixmap,
27                               Pixel fg);
28 void xorg_solid(struct exa_context *exa,
29                 struct exa_pixmap_priv *pixmap,
30                 int x0, int y0, int x1, int y1);
31 
32 
33 void
34 xorg_composite_done(struct exa_context *exa);
35 
36 #endif
37