1 |
|
---|
2 | #ifdef HAVE_DIX_CONFIG_H
|
---|
3 | #include <dix-config.h>
|
---|
4 | #endif
|
---|
5 |
|
---|
6 | #ifndef _PANORAMIXSRV_H_
|
---|
7 | #define _PANORAMIXSRV_H_
|
---|
8 |
|
---|
9 | #include "panoramiX.h"
|
---|
10 |
|
---|
11 | extern int PanoramiXNumScreens;
|
---|
12 | extern PanoramiXData *panoramiXdataPtr;
|
---|
13 | extern int PanoramiXPixWidth;
|
---|
14 | extern int PanoramiXPixHeight;
|
---|
15 |
|
---|
16 | extern VisualID PanoramiXTranslateVisualID(int screen, VisualID orig);
|
---|
17 | extern void PanoramiXConsolidate(void);
|
---|
18 | extern Bool PanoramiXCreateConnectionBlock(void);
|
---|
19 | extern PanoramiXRes * PanoramiXFindIDByScrnum(RESTYPE, XID, int);
|
---|
20 | extern Bool XineramaRegisterConnectionBlockCallback(void (*func)(void));
|
---|
21 | extern int XineramaDeleteResource(pointer, XID);
|
---|
22 |
|
---|
23 | extern void XineramaReinitData(ScreenPtr);
|
---|
24 |
|
---|
25 | extern RegionRec XineramaScreenRegions[MAXSCREENS];
|
---|
26 |
|
---|
27 | extern unsigned long XRC_DRAWABLE;
|
---|
28 | extern unsigned long XRT_WINDOW;
|
---|
29 | extern unsigned long XRT_PIXMAP;
|
---|
30 | extern unsigned long XRT_GC;
|
---|
31 | extern unsigned long XRT_COLORMAP;
|
---|
32 |
|
---|
33 | /*
|
---|
34 | * Drivers are allowed to wrap this function. Each wrapper can decide that the
|
---|
35 | * two visuals are unequal, but if they are deemed equal, the wrapper must call
|
---|
36 | * down and return FALSE if the wrapped function does. This ensures that all
|
---|
37 | * layers agree that the visuals are equal. The first visual is always from
|
---|
38 | * screen 0.
|
---|
39 | */
|
---|
40 | typedef Bool (*XineramaVisualsEqualProcPtr)(VisualPtr, ScreenPtr, VisualPtr);
|
---|
41 | extern XineramaVisualsEqualProcPtr XineramaVisualsEqualPtr;
|
---|
42 |
|
---|
43 | extern void XineramaGetImageData(
|
---|
44 | DrawablePtr *pDrawables,
|
---|
45 | int left,
|
---|
46 | int top,
|
---|
47 | int width,
|
---|
48 | int height,
|
---|
49 | unsigned int format,
|
---|
50 | unsigned long planemask,
|
---|
51 | char *data,
|
---|
52 | int pitch,
|
---|
53 | Bool isRoot
|
---|
54 | );
|
---|
55 |
|
---|
56 | #endif /* _PANORAMIXSRV_H_ */
|
---|