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 _X_EXPORT int PanoramiXNumScreens;
|
---|
12 | extern _X_EXPORT PanoramiXData *panoramiXdataPtr;
|
---|
13 | extern _X_EXPORT int PanoramiXPixWidth;
|
---|
14 | extern _X_EXPORT int PanoramiXPixHeight;
|
---|
15 |
|
---|
16 | extern _X_EXPORT VisualID PanoramiXTranslateVisualID(int screen, VisualID orig);
|
---|
17 | extern _X_EXPORT void PanoramiXConsolidate(void);
|
---|
18 | extern _X_EXPORT Bool PanoramiXCreateConnectionBlock(void);
|
---|
19 | extern _X_EXPORT PanoramiXRes * PanoramiXFindIDByScrnum(RESTYPE, XID, int);
|
---|
20 | extern _X_EXPORT Bool XineramaRegisterConnectionBlockCallback(void (*func)(void));
|
---|
21 | extern _X_EXPORT int XineramaDeleteResource(pointer, XID);
|
---|
22 |
|
---|
23 | extern _X_EXPORT void XineramaReinitData(ScreenPtr);
|
---|
24 |
|
---|
25 | extern _X_EXPORT RegionRec XineramaScreenRegions[MAXSCREENS];
|
---|
26 |
|
---|
27 | extern _X_EXPORT unsigned long XRC_DRAWABLE;
|
---|
28 | extern _X_EXPORT unsigned long XRT_WINDOW;
|
---|
29 | extern _X_EXPORT unsigned long XRT_PIXMAP;
|
---|
30 | extern _X_EXPORT unsigned long XRT_GC;
|
---|
31 | extern _X_EXPORT 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 _X_EXPORT XineramaVisualsEqualProcPtr XineramaVisualsEqualPtr;
|
---|
42 |
|
---|
43 | extern _X_EXPORT 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_ */
|
---|