b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * Copyright (c) 1998-2001 by The XFree86 Project, Inc.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * Permission is hereby granted, free of charge, to any person obtaining a
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * copy of this software and associated documentation files (the "Software"),
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * to deal in the Software without restriction, including without limitation
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * and/or sell copies of the Software, and to permit persons to whom the
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * Software is furnished to do so, subject to the following conditions:
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * The above copyright notice and this permission notice shall be included in
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * all copies or substantial portions of the Software.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * OTHER DEALINGS IN THE SOFTWARE.
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * Except as contained in this notice, the name of the copyright holder(s)
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * and author(s) shall not be used in advertising or otherwise to promote
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * the sale, use or other dealings in this Software without prior written
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync * authorization from the copyright holder(s) and author(s).
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync void (*MoveAreaCallback)(struct _FBArea*, struct _FBArea*);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync void (*MoveLinearCallback)(struct _FBLinear*, struct _FBLinear*);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsynctypedef void (*FreeBoxCallbackProcPtr)(ScreenPtr, RegionPtr, pointer);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsynctypedef void (*MoveAreaCallbackProcPtr)(FBAreaPtr, FBAreaPtr);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsynctypedef void (*RemoveAreaCallbackProcPtr)(FBAreaPtr);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsynctypedef void (*MoveLinearCallbackProcPtr)(FBLinearPtr, FBLinearPtr);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsynctypedef void (*RemoveLinearCallbackProcPtr)(FBLinearPtr);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsynctypedef struct {
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int w, int h,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync Bool (*ResizeOffscreenArea)(FBAreaPtr area, int w, int h);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync/* linear functions */
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync Bool (*ResizeOffscreenLinear)(FBLinearPtr area, int size);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int w, int h,
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncextern _X_EXPORT void xf86FreeOffscreenArea(FBAreaPtr area);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsyncextern _X_EXPORT void xf86FreeOffscreenLinear(FBLinearPtr area);
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync int w, int h
b9a21c3c91c47e090316e28d759194e46628ed49vboxsync#endif /* _XF86FBMAN_H */