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 int PanoramiXPixWidth;
|
---|
13 | extern _X_EXPORT int PanoramiXPixHeight;
|
---|
14 |
|
---|
15 | extern _X_EXPORT VisualID PanoramiXTranslateVisualID(int screen, VisualID orig);
|
---|
16 | extern _X_EXPORT void PanoramiXConsolidate(void);
|
---|
17 | extern _X_EXPORT Bool PanoramiXCreateConnectionBlock(void);
|
---|
18 | extern _X_EXPORT PanoramiXRes * PanoramiXFindIDByScrnum(RESTYPE, XID, int);
|
---|
19 | extern _X_EXPORT Bool XineramaRegisterConnectionBlockCallback(void (*func)(void));
|
---|
20 | extern _X_EXPORT int XineramaDeleteResource(pointer, XID);
|
---|
21 |
|
---|
22 | extern _X_EXPORT void XineramaReinitData(ScreenPtr);
|
---|
23 |
|
---|
24 | extern _X_EXPORT unsigned long XRC_DRAWABLE;
|
---|
25 | extern _X_EXPORT unsigned long XRT_WINDOW;
|
---|
26 | extern _X_EXPORT unsigned long XRT_PIXMAP;
|
---|
27 | extern _X_EXPORT unsigned long XRT_GC;
|
---|
28 | extern _X_EXPORT unsigned long XRT_COLORMAP;
|
---|
29 |
|
---|
30 | /*
|
---|
31 | * Drivers are allowed to wrap this function. Each wrapper can decide that the
|
---|
32 | * two visuals are unequal, but if they are deemed equal, the wrapper must call
|
---|
33 | * down and return FALSE if the wrapped function does. This ensures that all
|
---|
34 | * layers agree that the visuals are equal. The first visual is always from
|
---|
35 | * screen 0.
|
---|
36 | */
|
---|
37 | typedef Bool (*XineramaVisualsEqualProcPtr)(VisualPtr, ScreenPtr, VisualPtr);
|
---|
38 | extern _X_EXPORT XineramaVisualsEqualProcPtr XineramaVisualsEqualPtr;
|
---|
39 |
|
---|
40 | extern _X_EXPORT void XineramaGetImageData(
|
---|
41 | DrawablePtr *pDrawables,
|
---|
42 | int left,
|
---|
43 | int top,
|
---|
44 | int width,
|
---|
45 | int height,
|
---|
46 | unsigned int format,
|
---|
47 | unsigned long planemask,
|
---|
48 | char *data,
|
---|
49 | int pitch,
|
---|
50 | Bool isRoot
|
---|
51 | );
|
---|
52 |
|
---|
53 | #endif /* _PANORAMIXSRV_H_ */
|
---|