1 /*
2  * Copyright © 2009 NVIDIA Corporation
3  *
4  * Permission is hereby granted, free of charge, to any person obtaining a
5  * copy of this software and associated documentation files (the "Software"), to
6  * deal in the Software without restriction, including without limitation the
7  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8  * sell copies of the Software, and to permit persons to whom the Software is
9  * furnished to do so, subject to the following conditions:
10  *
11  * The above copyright notice and this permission notice (including the next
12  * paragraph) shall be included in all copies or substantial portions of the
13  * Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
18  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21  * SOFTWARE.
22  */
23 
24 #ifdef HAVE_DIX_CONFIG_H
25 #include <dix-config.h>
26 #endif
27 
28 #ifndef _COMPOSITEEXT_H_
29 #define _COMPOSITEEXT_H_
30 
31 #include "misc.h"
32 #include "scrnintstr.h"
33 
34 extern _X_EXPORT Bool CompositeRegisterAlternateVisuals(ScreenPtr pScreen,
35                                                         VisualID * vids,
36                                                         int nVisuals);
37 
38 extern _X_EXPORT Bool CompositeRegisterImplicitRedirectionException(ScreenPtr pScreen,
39                                                                     VisualID parentVisual,
40                                                                     VisualID winVisual);
41 
42 
43 extern _X_EXPORT Bool compIsAlternateVisual(ScreenPtr pScreen, XID visual);
44 extern _X_EXPORT RESTYPE CompositeClientWindowType;
45 
46 #endif                          /* _COMPOSITEEXT_H_ */
47