compint.h revision 040abec2534dadc53ebc8fa378ef03f4feecb7db
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Copyright © 2006 Sun Microsystems
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Permission to use, copy, modify, distribute, and sell this software and its
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * documentation for any purpose is hereby granted without fee, provided that
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * the above copyright notice appear in all copies and that both that
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * copyright notice and this permission notice appear in supporting
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * documentation, and that the name of Sun Microsystems not be used in
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * advertising or publicity pertaining to distribution of the software without
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * specific, written prior permission. Sun Microsystems makes no
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * representations about the suitability of this software for any purpose. It
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * is provided "as is" without express or implied warranty.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * PERFORMANCE OF THIS SOFTWARE.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Copyright © 2003 Keith Packard
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Permission to use, copy, modify, distribute, and sell this software and its
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * documentation for any purpose is hereby granted without fee, provided that
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * the above copyright notice appear in all copies and that both that
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * copyright notice and this permission notice appear in supporting
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * documentation, and that the name of Keith Packard not be used in
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * advertising or publicity pertaining to distribution of the software without
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * specific, written prior permission. Keith Packard makes no
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * representations about the suitability of this software for any purpose. It
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * is provided "as is" without express or implied warranty.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * PERFORMANCE OF THIS SOFTWARE.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * enable this for debugging
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync #define COMPOSITE_DEBUG
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynctypedef struct _CompClientWindow {
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynctypedef struct _CompWindow {
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynctypedef struct _CompSubwindows {
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynctypedef struct _CompOverlayClientRec *CompOverlayClientPtr;
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynctypedef struct _CompScreen {
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Called from ConfigureWindow, these
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * three track changes to the offscreen storage
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Reparenting has an effect on Subwindows redirect
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Colormaps for new visuals better not get installed
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Fake backing store via automatic redirection
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync ChangeWindowAttributesProcPtr ChangeWindowAttributes;
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync dixLookupPrivate(&(s)->devPrivates, CompScreenPrivateKey))
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync dixLookupPrivate(&(w)->devPrivates, CompWindowPrivateKey))
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync dixLookupPrivate(&(w)->devPrivates, CompSubwindowsPrivateKey))
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynccompRedirectWindow (ClientPtr pClient, WindowPtr pWin, int update);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynccompUnredirectWindow (ClientPtr pClient, WindowPtr pWin, int update);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynccompRedirectSubwindows (ClientPtr pClient, WindowPtr pWin, int update);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynccompUnredirectSubwindows (ClientPtr pClient, WindowPtr pWin, int update);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynccompRedirectOneSubwindow (WindowPtr pParent, WindowPtr pWin);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynccompUnredirectOneSubwindow (WindowPtr pParent, WindowPtr pWin);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync unsigned int w, unsigned int h, int bw);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncCompositeRegisterAlternateVisuals (ScreenPtr pScreen,
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynccompMoveWindow (WindowPtr pWin, int x, int y, WindowPtr pSib, VTKind kind);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynccompChangeBorderWidth (WindowPtr pWin, unsigned int border_width);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynccompReparentWindow (WindowPtr pWin, WindowPtr pPriorParent);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynccompSetRedirectBorderClip (WindowPtr pWin, RegionPtr pRegion);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsynccompCopyWindow (WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncdeleteCompOverlayClientsForScreen (ScreenPtr pScreen);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#endif /* _COMPINT_H_ */