VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.9.0/globals.h@ 38889

Last change on this file since 38889 was 32163, checked in by vboxsync, 14 years ago

Additions/x11/x11include: additional headers for building drivers for X.Org Server 1.9

  • Property svn:eol-style set to native
File size: 2.5 KB
Line 
1
2#ifndef _XSERV_GLOBAL_H_
3#define _XSERV_GLOBAL_H_
4
5#include "window.h" /* for WindowPtr */
6
7/* Global X server variables that are visible to mi, dix, os, and ddx */
8
9extern _X_EXPORT CARD32 defaultScreenSaverTime;
10extern _X_EXPORT CARD32 defaultScreenSaverInterval;
11extern _X_EXPORT CARD32 ScreenSaverTime;
12extern _X_EXPORT CARD32 ScreenSaverInterval;
13
14#ifdef SCREENSAVER
15extern _X_EXPORT Bool screenSaverSuspended;
16#endif
17
18extern _X_EXPORT char *defaultFontPath;
19extern _X_EXPORT int monitorResolution;
20extern _X_EXPORT int defaultColorVisualClass;
21
22extern _X_EXPORT int GrabInProgress;
23extern _X_EXPORT Bool noTestExtensions;
24
25extern _X_EXPORT char *ConnectionInfo;
26
27#ifdef DPMSExtension
28extern _X_EXPORT CARD32 DPMSStandbyTime;
29extern _X_EXPORT CARD32 DPMSSuspendTime;
30extern _X_EXPORT CARD32 DPMSOffTime;
31extern _X_EXPORT CARD16 DPMSPowerLevel;
32extern _X_EXPORT Bool DPMSEnabled;
33extern _X_EXPORT Bool DPMSDisabledSwitch;
34extern _X_EXPORT Bool DPMSCapableFlag;
35#endif
36
37#ifdef PANORAMIX
38extern _X_EXPORT Bool PanoramiXExtensionDisabledHack;
39#endif
40
41#ifdef COMPOSITE
42extern _X_EXPORT Bool noCompositeExtension;
43#endif
44
45#ifdef DAMAGE
46extern _X_EXPORT Bool noDamageExtension;
47#endif
48
49#ifdef DBE
50extern _X_EXPORT Bool noDbeExtension;
51#endif
52
53#ifdef DPMSExtension
54extern _X_EXPORT Bool noDPMSExtension;
55#endif
56
57#ifdef GLXEXT
58extern _X_EXPORT Bool noGlxExtension;
59#endif
60
61#ifdef SCREENSAVER
62extern _X_EXPORT Bool noScreenSaverExtension;
63#endif
64
65#ifdef MITSHM
66extern _X_EXPORT Bool noMITShmExtension;
67#endif
68
69#ifdef RANDR
70extern _X_EXPORT Bool noRRExtension;
71#endif
72
73extern _X_EXPORT Bool noRenderExtension;
74
75#ifdef XCSECURITY
76extern _X_EXPORT Bool noSecurityExtension;
77#endif
78
79#ifdef RES
80extern _X_EXPORT Bool noResExtension;
81#endif
82
83#ifdef XF86BIGFONT
84extern _X_EXPORT Bool noXFree86BigfontExtension;
85#endif
86
87#ifdef XFreeXDGA
88extern _X_EXPORT Bool noXFree86DGAExtension;
89#endif
90
91#ifdef XF86DRI
92extern _X_EXPORT Bool noXFree86DRIExtension;
93#endif
94
95#ifdef XF86VIDMODE
96extern _X_EXPORT Bool noXFree86VidModeExtension;
97#endif
98
99#ifdef XFIXES
100extern _X_EXPORT Bool noXFixesExtension;
101#endif
102
103#ifdef PANORAMIX
104extern _X_EXPORT Bool noPanoramiXExtension;
105#endif
106
107#ifdef XSELINUX
108extern _X_EXPORT Bool noSELinuxExtension;
109
110#define SELINUX_MODE_DEFAULT 0
111#define SELINUX_MODE_DISABLED 1
112#define SELINUX_MODE_PERMISSIVE 2
113#define SELINUX_MODE_ENFORCING 3
114extern _X_EXPORT int selinuxEnforcingState;
115#endif
116
117#ifdef XV
118extern _X_EXPORT Bool noXvExtension;
119#endif
120
121#ifdef DRI2
122extern _X_EXPORT Bool noDRI2Extension;
123#endif
124
125#endif /* !_XSERV_GLOBAL_H_ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette