4c221b0da1816acf2ca302b10092df059484468dvboxsync/*
4c221b0da1816acf2ca302b10092df059484468dvboxsync * Copyright 2003 Red Hat Inc., Raleigh, North Carolina.
4c221b0da1816acf2ca302b10092df059484468dvboxsync *
4c221b0da1816acf2ca302b10092df059484468dvboxsync * All Rights Reserved.
4c221b0da1816acf2ca302b10092df059484468dvboxsync *
4c221b0da1816acf2ca302b10092df059484468dvboxsync * Permission is hereby granted, free of charge, to any person obtaining
4c221b0da1816acf2ca302b10092df059484468dvboxsync * a copy of this software and associated documentation files (the
4c221b0da1816acf2ca302b10092df059484468dvboxsync * "Software"), to deal in the Software without restriction, including
4c221b0da1816acf2ca302b10092df059484468dvboxsync * without limitation on the rights to use, copy, modify, merge,
4c221b0da1816acf2ca302b10092df059484468dvboxsync * publish, distribute, sublicense, and/or sell copies of the Software,
4c221b0da1816acf2ca302b10092df059484468dvboxsync * and to permit persons to whom the Software is furnished to do so,
4c221b0da1816acf2ca302b10092df059484468dvboxsync * subject to the following conditions:
4c221b0da1816acf2ca302b10092df059484468dvboxsync *
4c221b0da1816acf2ca302b10092df059484468dvboxsync * The above copyright notice and this permission notice (including the
4c221b0da1816acf2ca302b10092df059484468dvboxsync * next paragraph) shall be included in all copies or substantial
4c221b0da1816acf2ca302b10092df059484468dvboxsync * portions of the Software.
4c221b0da1816acf2ca302b10092df059484468dvboxsync *
4c221b0da1816acf2ca302b10092df059484468dvboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
4c221b0da1816acf2ca302b10092df059484468dvboxsync * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
4c221b0da1816acf2ca302b10092df059484468dvboxsync * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
4c221b0da1816acf2ca302b10092df059484468dvboxsync * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
4c221b0da1816acf2ca302b10092df059484468dvboxsync * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
4c221b0da1816acf2ca302b10092df059484468dvboxsync * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
4c221b0da1816acf2ca302b10092df059484468dvboxsync * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
4c221b0da1816acf2ca302b10092df059484468dvboxsync * SOFTWARE.
4c221b0da1816acf2ca302b10092df059484468dvboxsync */
4c221b0da1816acf2ca302b10092df059484468dvboxsync
4c221b0da1816acf2ca302b10092df059484468dvboxsync/*
4c221b0da1816acf2ca302b10092df059484468dvboxsync * Authors:
4c221b0da1816acf2ca302b10092df059484468dvboxsync * Kevin E. Martin <kem@redhat.com>
4c221b0da1816acf2ca302b10092df059484468dvboxsync *
4c221b0da1816acf2ca302b10092df059484468dvboxsync */
4c221b0da1816acf2ca302b10092df059484468dvboxsync
4c221b0da1816acf2ca302b10092df059484468dvboxsync#ifndef __GLX_swap_h__
4c221b0da1816acf2ca302b10092df059484468dvboxsync#define __GLX_swap_h__
4c221b0da1816acf2ca302b10092df059484468dvboxsync
4c221b0da1816acf2ca302b10092df059484468dvboxsyncextern int JoinSwapGroupSGIX(DrawablePtr pDraw, DrawablePtr pMember);
4c221b0da1816acf2ca302b10092df059484468dvboxsyncextern int SGSwapBuffers(__GLXclientState *cl, XID drawId, GLXContextTag tag,
4c221b0da1816acf2ca302b10092df059484468dvboxsync DrawablePtr pDraw);
4c221b0da1816acf2ca302b10092df059484468dvboxsync
4c221b0da1816acf2ca302b10092df059484468dvboxsyncextern void SwapBarrierInit(void);
4c221b0da1816acf2ca302b10092df059484468dvboxsyncextern void SwapBarrierReset(void);
4c221b0da1816acf2ca302b10092df059484468dvboxsyncextern int QueryMaxSwapBarriersSGIX(int screen);
4c221b0da1816acf2ca302b10092df059484468dvboxsyncextern int BindSwapBarrierSGIX(DrawablePtr pDraw, int barrier);
4c221b0da1816acf2ca302b10092df059484468dvboxsync
4c221b0da1816acf2ca302b10092df059484468dvboxsync#endif /* !__GLX_swap_h__ */