16747b715Smrg/*
26747b715Smrg * Copyright © 2009 NVIDIA Corporation
36747b715Smrg *
46747b715Smrg * Permission is hereby granted, free of charge, to any person obtaining a
56747b715Smrg * copy of this software and associated documentation files (the "Software"), to
66747b715Smrg * deal in the Software without restriction, including without limitation the
76747b715Smrg * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
86747b715Smrg * sell copies of the Software, and to permit persons to whom the Software is
96747b715Smrg * furnished to do so, subject to the following conditions:
106747b715Smrg *
116747b715Smrg * The above copyright notice and this permission notice (including the next
126747b715Smrg * paragraph) shall be included in all copies or substantial portions of the
136747b715Smrg * Software.
146747b715Smrg *
156747b715Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
166747b715Smrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
176747b715Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
186747b715Smrg * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
196747b715Smrg * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
206747b715Smrg * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
216747b715Smrg * SOFTWARE.
226747b715Smrg */
236747b715Smrg
246747b715Smrg#ifdef HAVE_DIX_CONFIG_H
256747b715Smrg#include <dix-config.h>
266747b715Smrg#endif
276747b715Smrg
286747b715Smrg#ifndef _COMPOSITEEXT_H_
296747b715Smrg#define _COMPOSITEEXT_H_
306747b715Smrg
316747b715Smrg#include "misc.h"
326747b715Smrg#include "scrnintstr.h"
336747b715Smrg
346747b715Smrgextern _X_EXPORT Bool CompositeRegisterAlternateVisuals(ScreenPtr pScreen,
3535c4bbdfSmrg                                                        VisualID * vids,
366747b715Smrg                                                        int nVisuals);
376747b715Smrg
3835c4bbdfSmrgextern _X_EXPORT Bool CompositeRegisterImplicitRedirectionException(ScreenPtr pScreen,
3935c4bbdfSmrg                                                                    VisualID parentVisual,
4035c4bbdfSmrg                                                                    VisualID winVisual);
4135c4bbdfSmrg
421b5d61b8Smrg
431b5d61b8Smrgextern _X_EXPORT Bool compIsAlternateVisual(ScreenPtr pScreen, XID visual);
4435c4bbdfSmrgextern _X_EXPORT RESTYPE CompositeClientWindowType;
4535c4bbdfSmrg
4635c4bbdfSmrg#endif                          /* _COMPOSITEEXT_H_ */
47