f78b12e570284aa8291f4ca1add24937fd107403vboxsync#ifndef _GLX_drawable_h_
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#define _GLX_drawable_h_
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync/*
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Permission is hereby granted, free of charge, to any person obtaining a
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * copy of this software and associated documentation files (the "Software"),
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * to deal in the Software without restriction, including without limitation
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * and/or sell copies of the Software, and to permit persons to whom the
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Software is furnished to do so, subject to the following conditions:
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * The above copyright notice including the dates of first publication and
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * either this permission notice or a reference to
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * http://oss.sgi.com/projects/FreeB/
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * shall be included in all copies or substantial portions of the Software.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * SOFTWARE.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync *
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Except as contained in this notice, the name of Silicon Graphics, Inc.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * shall not be used in advertising or otherwise to promote the sale, use or
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * other dealings in this Software without prior written authorization from
f78b12e570284aa8291f4ca1add24937fd107403vboxsync * Silicon Graphics, Inc.
f78b12e570284aa8291f4ca1add24937fd107403vboxsync */
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef struct {
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync DrawablePtr pDraw;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync __GLXvisualConfig *pGlxVisual;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync __GLXscreenInfo *pGlxScreen;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync __GLXFBConfig *pFBConfig;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync ScreenPtr pScreen;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync Bool idExists;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync int refcnt;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync XID *be_xids;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync} __GLXpixmap;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef struct {
f78b12e570284aa8291f4ca1add24937fd107403vboxsync DrawablePtr pDraw;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync int type;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync Bool idExists;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync int refcnt; /* contexts bound */
f78b12e570284aa8291f4ca1add24937fd107403vboxsync __GLXFBConfig *pGlxFBConfig;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync ScreenPtr pScreen;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync} __glXWindow;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsynctypedef struct {
f78b12e570284aa8291f4ca1add24937fd107403vboxsync __GLXscreenInfo *pGlxScreen;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync __GLXFBConfig *pFBConfig;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync ScreenPtr pScreen;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync Bool idExists;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync int refcnt;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync XID *be_xids;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync} __glXPbuffer;
f78b12e570284aa8291f4ca1add24937fd107403vboxsync
f78b12e570284aa8291f4ca1add24937fd107403vboxsync#endif /* !__GLX_drawable_h__ */