61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * Permission is hereby granted, free of charge, to any person obtaining a
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * copy of this software and associated documentation files (the "Software"),
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * to deal in the Software without restriction, including without limitation
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * and/or sell copies of the Software, and to permit persons to whom the
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * Software is furnished to do so, subject to the following conditions:
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * The above copyright notice including the dates of first publication and
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * either this permission notice or a reference to
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * shall be included in all copies or substantial portions of the Software.
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * SOFTWARE.
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * Except as contained in this notice, the name of Silicon Graphics, Inc.
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * shall not be used in advertising or otherwise to promote the sale, use or
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * other dealings in this Software without prior written authorization from
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * Silicon Graphics, Inc.
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync GLint accumRedBits, accumGreenBits, accumBlueBits, accumAlphaBits;
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync GLint visualType; /**< One of the GLX X visual types. (i.e.,
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * \c GLX_TRUE_COLOR, etc.)
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync /* EXT_visual_rating / GLX 1.2 */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync /* EXT_visual_info / GLX 1.2 */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync /* colors are floats scaled to ints */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync GLint transparentRed, transparentGreen, transparentBlue, transparentAlpha;
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync /* ARB_multisample / SGIS_multisample */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync /* SGIX_fbconfig / GLX 1.3 */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync /* SGIX_pbuffer / GLX 1.3 */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync GLint optimalPbufferWidth; /* Only for SGIX_pbuffer. */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync GLint optimalPbufferHeight; /* Only for SGIX_pbuffer. */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync /* SGIX_visual_select_group */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync /* OML_swap_method */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync /* EXT_texture_from_pixmap */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync /* ARB_framebuffer_sRGB */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync** Screen dependent data. These methods are the interface between the DIX
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync** and DDX layers of the GLX server extension. The methods provide an
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync** interface for context management on a screen.
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync __GLXcontext *(*createContext) (__GLXscreen * screen,
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync __GLXdrawable *(*createDrawable) (ClientPtr client,
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync int (*swapInterval) (__GLXdrawable * drawable, int interval);
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync /* Linked list of valid fbconfigs for this screen. */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync /* Subset of fbconfigs that are exposed as GLX visuals. */
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * \name GLX version supported by this screen.
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * Since the GLX version advertised by the server is for the whole server,
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync * the GLX protocol code uses the minimum version supported on all screens.
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsyncvoid __glXScreenInit(__GLXscreen * screen, ScreenPtr pScreen);
61cb83a8ccd1dd7f671f31fa93c9d8b7be09b4ccvboxsync#endif /* !__GLX_screens_h__ */