glxvisuals.h revision 65fea56f17cd614bc8908264df980a62e1931468
4c221b0da1816acf2ca302b10092df059484468dvboxsync/*
4c221b0da1816acf2ca302b10092df059484468dvboxsync * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
4c221b0da1816acf2ca302b10092df059484468dvboxsync * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
4c221b0da1816acf2ca302b10092df059484468dvboxsync *
4c221b0da1816acf2ca302b10092df059484468dvboxsync * Permission is hereby granted, free of charge, to any person obtaining a
4c221b0da1816acf2ca302b10092df059484468dvboxsync * copy of this software and associated documentation files (the "Software"),
4c221b0da1816acf2ca302b10092df059484468dvboxsync * to deal in the Software without restriction, including without limitation
4c221b0da1816acf2ca302b10092df059484468dvboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
4c221b0da1816acf2ca302b10092df059484468dvboxsync * and/or sell copies of the Software, and to permit persons to whom the
4c221b0da1816acf2ca302b10092df059484468dvboxsync * Software is furnished to do so, subject to the following conditions:
4c221b0da1816acf2ca302b10092df059484468dvboxsync *
4c221b0da1816acf2ca302b10092df059484468dvboxsync * The above copyright notice including the dates of first publication and
4c221b0da1816acf2ca302b10092df059484468dvboxsync * either this permission notice or a reference to
4c221b0da1816acf2ca302b10092df059484468dvboxsync * http://oss.sgi.com/projects/FreeB/
4c221b0da1816acf2ca302b10092df059484468dvboxsync * shall be included in all copies or substantial portions of the Software.
4c221b0da1816acf2ca302b10092df059484468dvboxsync *
4c221b0da1816acf2ca302b10092df059484468dvboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
4c221b0da1816acf2ca302b10092df059484468dvboxsync * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
4c221b0da1816acf2ca302b10092df059484468dvboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
4c221b0da1816acf2ca302b10092df059484468dvboxsync * SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
4c221b0da1816acf2ca302b10092df059484468dvboxsync * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
4c221b0da1816acf2ca302b10092df059484468dvboxsync * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
4c221b0da1816acf2ca302b10092df059484468dvboxsync * SOFTWARE.
4c221b0da1816acf2ca302b10092df059484468dvboxsync *
4c221b0da1816acf2ca302b10092df059484468dvboxsync * Except as contained in this notice, the name of Silicon Graphics, Inc.
4c221b0da1816acf2ca302b10092df059484468dvboxsync * shall not be used in advertising or otherwise to promote the sale, use or
4c221b0da1816acf2ca302b10092df059484468dvboxsync * other dealings in this Software without prior written authorization from
4c221b0da1816acf2ca302b10092df059484468dvboxsync * Silicon Graphics, Inc.
4c221b0da1816acf2ca302b10092df059484468dvboxsync */
4c221b0da1816acf2ca302b10092df059484468dvboxsync
4c221b0da1816acf2ca302b10092df059484468dvboxsync#ifndef _GLX_VISUALS_H
4c221b0da1816acf2ca302b10092df059484468dvboxsync#define _GLX_VISUALS_H
4c221b0da1816acf2ca302b10092df059484468dvboxsync
4c221b0da1816acf2ca302b10092df059484468dvboxsyncint glxVisualsMatch(__GLXvisualConfig * v1, __GLXvisualConfig * v2);
4c221b0da1816acf2ca302b10092df059484468dvboxsync
4c221b0da1816acf2ca302b10092df059484468dvboxsyncVisualID glxMatchGLXVisualInConfigList(__GLXvisualConfig * pGlxVisual,
4c221b0da1816acf2ca302b10092df059484468dvboxsync __GLXvisualConfig * configs,
4c221b0da1816acf2ca302b10092df059484468dvboxsync int nconfigs);
4c221b0da1816acf2ca302b10092df059484468dvboxsync
4c221b0da1816acf2ca302b10092df059484468dvboxsyncVisualID glxMatchVisualInConfigList(ScreenPtr pScreen, VisualPtr pVisual,
4c221b0da1816acf2ca302b10092df059484468dvboxsync __GLXvisualConfig * configs, int nconfigs);
4c221b0da1816acf2ca302b10092df059484468dvboxsync
4c221b0da1816acf2ca302b10092df059484468dvboxsyncVisualPtr glxMatchVisual(ScreenPtr pScreen, VisualPtr pVisual,
4c221b0da1816acf2ca302b10092df059484468dvboxsync ScreenPtr pMatchScreen);
4c221b0da1816acf2ca302b10092df059484468dvboxsync
4c221b0da1816acf2ca302b10092df059484468dvboxsync#endif
4c221b0da1816acf2ca302b10092df059484468dvboxsync