7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * Permission is hereby granted, free of charge, to any person obtaining a
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * copy of this software and associated documentation files (the "Software"),
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * to deal in the Software without restriction, including without limitation
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * and/or sell copies of the Software, and to permit persons to whom the
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * Software is furnished to do so, subject to the following conditions:
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * The above copyright notice including the dates of first publication and
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * either this permission notice or a reference to
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * shall be included in all copies or substantial portions of the Software.
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * SILICON GRAPHICS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * SOFTWARE.
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * Except as contained in this notice, the name of Silicon Graphics, Inc.
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * shall not be used in advertising or otherwise to promote the sale, use or
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * other dealings in this Software without prior written authorization from
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * Silicon Graphics, Inc.
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsyncextern "C" {
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync** Visual Config Attributes (glXGetConfig, glXGetFBConfigAttrib)
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_BUFFER_SIZE 2 /* depth of the color buffer */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_DOUBLEBUFFER 5 /* double buffering supported */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_STEREO 6 /* stereo buffering supported */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_AUX_BUFFERS 7 /* number of aux buffers */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_RED_SIZE 8 /* number of red component bits */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_GREEN_SIZE 9 /* number of green component bits */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_BLUE_SIZE 10 /* number of blue component bits */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_ALPHA_SIZE 11 /* number of alpha component bits */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_DEPTH_SIZE 12 /* number of depth bits */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_STENCIL_SIZE 13 /* number of stencil bits */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_ACCUM_RED_SIZE 14 /* number of red accum bits */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_ACCUM_GREEN_SIZE 15 /* number of green accum bits */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_ACCUM_BLUE_SIZE 16 /* number of blue accum bits */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_ACCUM_ALPHA_SIZE 17 /* number of alpha accum bits */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync** FBConfig-specific attributes
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_CONFIG_CAVEAT 0x20 /* Like visual_info VISUAL_CAVEAT_EXT */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* FBConfigSGIX Attributes */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync** Error return values from glXGetConfig. Success is indicated by
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync** a value of 0.
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_BAD_ATTRIBUTE 2 /* attribute to get is bad */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_NO_EXTENSION 3 /* no glx extension on server */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_BAD_VISUAL 4 /* visual # not known by GLX */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_BAD_CONTEXT 5 /* returned only by import_context EXT? */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_BAD_VALUE 6 /* returned only by glXSwapIntervalSGI? */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* FBConfig attribute values */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync** Generic "don't care" value for glX ChooseFBConfig attributes (except
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync** GLX_LEVEL)
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* GLX_RENDER_TYPE bits */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* GLX_DRAWABLE_TYPE bits */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* GLX_CONFIG_CAVEAT attribute values */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* GLX_X_VISUAL_TYPE attribute values */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* GLX_TRANSPARENT_TYPE attribute values */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* #define GLX_NONE 0x8000 */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* glXCreateGLXPbuffer attributes */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_PBUFFER_HEIGHT 0x8040 /* New for GLX 1.3 */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_PBUFFER_WIDTH 0x8041 /* New for GLX 1.3 */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* glXQueryGLXPBuffer attributes */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* glXCreateNewContext render_type attribute values */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* glXQueryContext attributes */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* #define GLX_FBCONFIG_ID 0x8013 */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* #define GLX_RENDER_TYPE 0x8011 */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* glXSelectEvent event mask bits */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* GLXPbufferClobberEvent event_type values */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* GLXPbufferClobberEvent draw_type values */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* GLXPbufferClobberEvent buffer_mask bits */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync** Extension return values from glXGetConfig. These are also
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync** accepted as parameter values for glXChooseVisual.
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_X_VISUAL_TYPE_EXT 0x22 /* visual_info extension type */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_TRANSPARENT_TYPE_EXT 0x23 /* visual_info extension */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24 /* visual_info extension */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_TRANSPARENT_RED_VALUE_EXT 0x25 /* visual_info extension */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26 /* visual_info extension */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27 /* visual_info extension */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28 /* visual_info extension */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* Property values for visual_type */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* Property values for transparent pixel */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* Property values for visual_rating */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_VISUAL_CAVEAT_EXT 0x20 /* visual_rating extension type */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* Property values for swap method (GLX_OML_swap_method) */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync/* Property values for multi-sampling */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028 /* visuals grouped by select priority */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync** Names for attributes to glXGetClientString.
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync** Names for attributes to glXQueryContextInfoEXT.
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_SHARE_CONTEXT_EXT 0x800A /* id of share context */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#define GLX_VISUAL_ID_EXT 0x800B /* id of context's visual */
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync** GLX_EXT_texture_from_pixmap
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync * GLX 1.4 and later:
7a0d67332f33bc21290d63bc7c8150b0cf0a4b21vboxsync#endif /* !__GLX_glxtokens_h__ */