xref: /OK3568_Linux_fs/external/xserver/include/extinit.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /************************************************************
2*4882a593Smuzhiyun 
3*4882a593Smuzhiyun Copyright 1996 by Thomas E. Dickey <dickey@clark.net>
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun                         All Rights Reserved
6*4882a593Smuzhiyun 
7*4882a593Smuzhiyun Permission to use, copy, modify, and distribute this software and its
8*4882a593Smuzhiyun documentation for any purpose and without fee is hereby granted,
9*4882a593Smuzhiyun provided that the above copyright notice appear in all copies and that
10*4882a593Smuzhiyun both that copyright notice and this permission notice appear in
11*4882a593Smuzhiyun supporting documentation, and that the name of the above listed
12*4882a593Smuzhiyun copyright holder(s) not be used in advertising or publicity pertaining
13*4882a593Smuzhiyun to distribution of the software without specific, written prior
14*4882a593Smuzhiyun permission.
15*4882a593Smuzhiyun 
16*4882a593Smuzhiyun THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
17*4882a593Smuzhiyun TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
18*4882a593Smuzhiyun AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
19*4882a593Smuzhiyun LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
20*4882a593Smuzhiyun WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
21*4882a593Smuzhiyun ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
22*4882a593Smuzhiyun OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23*4882a593Smuzhiyun 
24*4882a593Smuzhiyun ********************************************************/
25*4882a593Smuzhiyun 
26*4882a593Smuzhiyun /*
27*4882a593Smuzhiyun  * Copyright (C) 1994-2003 The XFree86 Project, Inc.  All Rights Reserved.
28*4882a593Smuzhiyun  *
29*4882a593Smuzhiyun  * Permission is hereby granted, free of charge, to any person obtaining a copy of
30*4882a593Smuzhiyun  * this software and associated documentation files (the "Software"), to deal in
31*4882a593Smuzhiyun  * the Software without restriction, including without limitation the rights to
32*4882a593Smuzhiyun  * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
33*4882a593Smuzhiyun  * of the Software, and to permit persons to whom the Software is furnished to do
34*4882a593Smuzhiyun  * so, subject to the following conditions:
35*4882a593Smuzhiyun  *
36*4882a593Smuzhiyun  * The above copyright notice and this permission notice shall be included in all
37*4882a593Smuzhiyun  * copies or substantial portions of the Software.
38*4882a593Smuzhiyun  *
39*4882a593Smuzhiyun  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40*4882a593Smuzhiyun  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
41*4882a593Smuzhiyun  * NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
42*4882a593Smuzhiyun  * XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
43*4882a593Smuzhiyun  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
44*4882a593Smuzhiyun  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
45*4882a593Smuzhiyun  *
46*4882a593Smuzhiyun  * Except as contained in this notice, the name of the XFree86 Project shall not
47*4882a593Smuzhiyun  * be used in advertising or otherwise to promote the sale, use or other dealings
48*4882a593Smuzhiyun  * in this Software without prior written authorization from the XFree86 Project.
49*4882a593Smuzhiyun  */
50*4882a593Smuzhiyun 
51*4882a593Smuzhiyun #ifndef EXTINIT_H
52*4882a593Smuzhiyun #define EXTINIT_H
53*4882a593Smuzhiyun 
54*4882a593Smuzhiyun #include "extnsionst.h"
55*4882a593Smuzhiyun 
56*4882a593Smuzhiyun #ifdef COMPOSITE
57*4882a593Smuzhiyun extern _X_EXPORT Bool noCompositeExtension;
58*4882a593Smuzhiyun extern void CompositeExtensionInit(void);
59*4882a593Smuzhiyun #endif
60*4882a593Smuzhiyun 
61*4882a593Smuzhiyun #ifdef DAMAGE
62*4882a593Smuzhiyun extern _X_EXPORT Bool noDamageExtension;
63*4882a593Smuzhiyun extern void DamageExtensionInit(void);
64*4882a593Smuzhiyun #endif
65*4882a593Smuzhiyun 
66*4882a593Smuzhiyun #if defined(DBE)
67*4882a593Smuzhiyun extern _X_EXPORT Bool noDbeExtension;
68*4882a593Smuzhiyun extern void DbeExtensionInit(void);
69*4882a593Smuzhiyun #endif
70*4882a593Smuzhiyun 
71*4882a593Smuzhiyun #if defined(DPMSExtension)
72*4882a593Smuzhiyun extern _X_EXPORT Bool noDPMSExtension;
73*4882a593Smuzhiyun extern void DPMSExtensionInit(void);
74*4882a593Smuzhiyun #endif
75*4882a593Smuzhiyun 
76*4882a593Smuzhiyun extern Bool noGEExtension;
77*4882a593Smuzhiyun extern void GEExtensionInit(void);
78*4882a593Smuzhiyun 
79*4882a593Smuzhiyun #ifdef GLXEXT
80*4882a593Smuzhiyun extern _X_EXPORT Bool noGlxExtension;
81*4882a593Smuzhiyun extern void GlxExtensionInit(void);
82*4882a593Smuzhiyun #endif
83*4882a593Smuzhiyun 
84*4882a593Smuzhiyun #ifdef PANORAMIX
85*4882a593Smuzhiyun extern _X_EXPORT Bool noPanoramiXExtension;
86*4882a593Smuzhiyun extern void PanoramiXExtensionInit(void);
87*4882a593Smuzhiyun #endif
88*4882a593Smuzhiyun 
89*4882a593Smuzhiyun #ifdef RANDR
90*4882a593Smuzhiyun extern _X_EXPORT Bool noRRExtension;
91*4882a593Smuzhiyun extern void RRExtensionInit(void);
92*4882a593Smuzhiyun #endif
93*4882a593Smuzhiyun 
94*4882a593Smuzhiyun #if defined(XRECORD)
95*4882a593Smuzhiyun extern void RecordExtensionInit(void);
96*4882a593Smuzhiyun #endif
97*4882a593Smuzhiyun 
98*4882a593Smuzhiyun extern _X_EXPORT Bool noRenderExtension;
99*4882a593Smuzhiyun extern void RenderExtensionInit(void);
100*4882a593Smuzhiyun 
101*4882a593Smuzhiyun #if defined(RES)
102*4882a593Smuzhiyun extern _X_EXPORT Bool noResExtension;
103*4882a593Smuzhiyun extern void ResExtensionInit(void);
104*4882a593Smuzhiyun #endif
105*4882a593Smuzhiyun 
106*4882a593Smuzhiyun #if defined(SCREENSAVER)
107*4882a593Smuzhiyun extern _X_EXPORT Bool noScreenSaverExtension;
108*4882a593Smuzhiyun extern void ScreenSaverExtensionInit(void);
109*4882a593Smuzhiyun #endif
110*4882a593Smuzhiyun 
111*4882a593Smuzhiyun extern void ShapeExtensionInit(void);
112*4882a593Smuzhiyun 
113*4882a593Smuzhiyun #ifdef MITSHM
114*4882a593Smuzhiyun extern _X_EXPORT Bool noMITShmExtension;
115*4882a593Smuzhiyun extern void ShmExtensionInit(void);
116*4882a593Smuzhiyun #endif
117*4882a593Smuzhiyun 
118*4882a593Smuzhiyun extern void SyncExtensionInit(void);
119*4882a593Smuzhiyun 
120*4882a593Smuzhiyun extern void XCMiscExtensionInit(void);
121*4882a593Smuzhiyun 
122*4882a593Smuzhiyun #ifdef XCSECURITY
123*4882a593Smuzhiyun extern _X_EXPORT Bool noSecurityExtension;
124*4882a593Smuzhiyun extern void SecurityExtensionInit(void);
125*4882a593Smuzhiyun #endif
126*4882a593Smuzhiyun 
127*4882a593Smuzhiyun #ifdef XF86BIGFONT
128*4882a593Smuzhiyun extern _X_EXPORT Bool noXFree86BigfontExtension;
129*4882a593Smuzhiyun extern void XFree86BigfontExtensionInit(void);
130*4882a593Smuzhiyun #endif
131*4882a593Smuzhiyun 
132*4882a593Smuzhiyun extern void BigReqExtensionInit(void);
133*4882a593Smuzhiyun 
134*4882a593Smuzhiyun extern _X_EXPORT Bool noXFixesExtension;
135*4882a593Smuzhiyun extern void XFixesExtensionInit(void);
136*4882a593Smuzhiyun 
137*4882a593Smuzhiyun extern void XInputExtensionInit(void);
138*4882a593Smuzhiyun 
139*4882a593Smuzhiyun extern void XkbExtensionInit(void);
140*4882a593Smuzhiyun 
141*4882a593Smuzhiyun #if defined(XSELINUX)
142*4882a593Smuzhiyun extern _X_EXPORT Bool noSELinuxExtension;
143*4882a593Smuzhiyun extern void SELinuxExtensionInit(void);
144*4882a593Smuzhiyun #endif
145*4882a593Smuzhiyun 
146*4882a593Smuzhiyun #ifdef XTEST
147*4882a593Smuzhiyun extern void XTestExtensionInit(void);
148*4882a593Smuzhiyun #endif
149*4882a593Smuzhiyun 
150*4882a593Smuzhiyun #if defined(XV)
151*4882a593Smuzhiyun extern _X_EXPORT Bool noXvExtension;
152*4882a593Smuzhiyun extern void XvExtensionInit(void);
153*4882a593Smuzhiyun extern void XvMCExtensionInit(void);
154*4882a593Smuzhiyun #endif
155*4882a593Smuzhiyun 
156*4882a593Smuzhiyun #if defined(DRI3)
157*4882a593Smuzhiyun extern void dri3_extension_init(void);
158*4882a593Smuzhiyun #endif
159*4882a593Smuzhiyun 
160*4882a593Smuzhiyun #if defined(PRESENT)
161*4882a593Smuzhiyun #include "presentext.h"
162*4882a593Smuzhiyun #endif
163*4882a593Smuzhiyun 
164*4882a593Smuzhiyun #endif
165