Blame | Last modification | View Log | RSS feed
# License Applicability. Except to the extent portions of this file are# made subject to an alternative license as permitted in the SGI Free# Software License B, Version 1.1 (the "License"), the contents of this# file are subject only to the provisions of the License. You may not use# this file except in compliance with the License. You may obtain a copy# of the License at Silicon Graphics, Inc., attn: Legal Services, 1600# Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:## http://oss.sgi.com/projects/FreeB## Note that, as provided in the License, the Software is distributed on an# "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS# DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND# CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A# PARTICULAR PURPOSE, AND NON-INFRINGEMENT.## Original Code. The Original Code is: OpenGL Sample Implementation,# Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,# Inc. The Original Code is Copyright (c) 1991-2005 Silicon Graphics, Inc.# Copyright in any portions created by third parties is as indicated# elsewhere herein. All Rights Reserved.## Additional Notice Provisions: This software was created using the# OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has# not been independently verified as being compliant with the OpenGL(R)# version 1.2.1 Specification.## $Date: 2005/01/20 08:44:12 $ $Revision: 1.6 $# $Header: /oss/CVS/cvs/projects/ogl-sample/main/doc/registry/specs/glxenum.spec,v 1.6 2005/01/20 08:44:12 ljp Exp $# This is the GLX enumerant registry.## It is an extremely important file. Do not mess with it unless# you know what you're doing and have permission to do so.## Rules for modification are the same as the rules for the OpenGL# enumerant registry (gl.spec). Basically, don't modify this# file unless you're SGI's ARB Representative.Extensions define:VERSION_1_1 = 1VERSION_1_2 = 1VERSION_1_3 = 1VERSION_1_4 = 1SGIS_multisample = 1EXT_visual_info = 1SGI_swap_control = 1SGI_video_sync = 1SGI_make_current_read = 1SGIX_video_source = 1EXT_visual_rating = 1EXT_import_context = 1SGIX_fbconfig = 1SGIX_pbuffer = 1SGI_cushion = 1SGIX_video_resize = 1SGIX_dmbuffer = 1SGIX_swap_group = 1SGIX_swap_barrier = 1SGIS_blended_overlay = 1SGIS_shared_multisample = 1SUN_get_transparent_index = 13DFX_multisample = 1MESA_copy_sub_buffer = 1MESA_pixmap_colormap = 1MESA_release_buffers = 1MESA_set_3dfx_mode = 1SGIX_visual_select_group = 1SGIX_hyperpipe = 1GLXStringName enum:VENDOR = 0x1VERSION = 0x2EXTENSIONS = 0x3GLXErrorCode enum:BAD_SCREEN = 1BAD_ATTRIBUTE = 2NO_EXTENSION = 3BAD_VISUAL = 4BAD_CONTEXT = 5BAD_VALUE = 6BAD_ENUM = 7BAD_HYPERPIPE_CONFIG_SGIX = 91 # SGIX_hyperpipeBAD_HYPERPIPE_SGIX = 92 # "GLXDrawableTypeMask enum:WINDOW_BIT = 0x00000001 # DRAWABLE_TYPE valuePIXMAP_BIT = 0x00000002 # "PBUFFER_BIT = 0x00000004 # "WINDOW_BIT_SGIX = 0x00000001 # DRAWABLE_TYPE_SGIX valuePIXMAP_BIT_SGIX = 0x00000002 # "PBUFFER_BIT_SGIX = 0x00000004 # "GLXRenderTypeMask enum:RGBA_BIT = 0x00000001 # RENDER_TYPE valueCOLOR_INDEX_BIT = 0x00000002 # "RGBA_BIT_SGIX = 0x00000001 # RENDER_TYPE_SGIX valueCOLOR_INDEX_BIT_SGIX = 0x00000002 # "RGBA_FLOAT_BIT_ARB = 0x00000004 # RENDER_TYPE value (from ARB_fbconfig_float)GLXSyncType enum:SYNC_FRAME_SGIX = 0x00000000 # ChannelRectSyncSGIX synctypeSYNC_SWAP_SGIX = 0x00000001 # "GLXEventMask enum:PBUFFER_CLOBBER_MASK = 0x08000000 # SelectEvent maskBUFFER_CLOBBER_MASK_SGIX = 0x08000000 # SelectEventSGIX maskGLXPbufferClobberMask enum:FRONT_LEFT_BUFFER_BIT = 0x00000001 # PbufferClobberEvent maskFRONT_RIGHT_BUFFER_BIT = 0x00000002 # "BACK_LEFT_BUFFER_BIT = 0x00000004 # "BACK_RIGHT_BUFFER_BIT = 0x00000008 # "AUX_BUFFERS_BIT = 0x00000010 # "DEPTH_BUFFER_BIT = 0x00000020 # "STENCIL_BUFFER_BIT = 0x00000040 # "ACCUM_BUFFER_BIT = 0x00000080 # "FRONT_LEFT_BUFFER_BIT_SGIX = 0x00000001 # BufferClobberEventSGIX maskFRONT_RIGHT_BUFFER_BIT_SGIX = 0x00000002 # "BACK_LEFT_BUFFER_BIT_SGIX = 0x00000004 # "BACK_RIGHT_BUFFER_BIT_SGIX = 0x00000008 # "AUX_BUFFERS_BIT_SGIX = 0x00000010 # "DEPTH_BUFFER_BIT_SGIX = 0x00000020 # "STENCIL_BUFFER_BIT_SGIX = 0x00000040 # "ACCUM_BUFFER_BIT_SGIX = 0x00000080 # "SAMPLE_BUFFERS_BIT_SGIX = 0x00000100 # "GLXHyperpipeTypeMask enum:HYPERPIPE_DISPLAY_PIPE_SGIX = 0x00000001 # SGIX_hyperpipeHYPERPIPE_RENDER_PIPE_SGIX = 0x00000002 # "GLXHyperpipeAttrib enum:PIPE_RECT_SGIX = 0x00000001 # SGIX_hyperpipePIPE_RECT_LIMITS_SGIX = 0x00000002 # "HYPERPIPE_STEREO_SGIX = 0x00000003 # "HYPERPIPE_PIXEL_AVERAGE_SGIX = 0x00000004 # "GLXHyperpipeMisc enum:HYPERPIPE_PIPE_NAME_LENGTH_SGIX = 80 # SGIX_hyperpipeGLXAttribute enum:USE_GL = 1 # Visual attributesBUFFER_SIZE = 2 # "LEVEL = 3 # "RGBA = 4 # "DOUBLEBUFFER = 5 # "STEREO = 6 # "AUX_BUFFERS = 7 # "RED_SIZE = 8 # "GREEN_SIZE = 9 # "BLUE_SIZE = 10 # "ALPHA_SIZE = 11 # "DEPTH_SIZE = 12 # "STENCIL_SIZE = 13 # "ACCUM_RED_SIZE = 14 # "ACCUM_GREEN_SIZE = 15 # "ACCUM_BLUE_SIZE = 16 # "ACCUM_ALPHA_SIZE = 17 # "CONFIG_CAVEAT = 0x20 # "X_VISUAL_TYPE = 0x22 # "TRANSPARENT_TYPE = 0x23 # "TRANSPARENT_INDEX_VALUE = 0x24 # "TRANSPARENT_RED_VALUE = 0x25 # "TRANSPARENT_GREEN_VALUE = 0x26 # "TRANSPARENT_BLUE_VALUE = 0x27 # "TRANSPARENT_ALPHA_VALUE = 0x28 # "DONT_CARE = 0xFFFFFFFF # may be specified for ChooseFBConfig attributesNONE = 0x8000 # several attribute valuesSLOW_CONFIG = 0x8001 # CONFIG_CAVEAT attribute valueTRUE_COLOR = 0x8002 # X_VISUAL_TYPE attribute valueDIRECT_COLOR = 0x8003 # "PSEUDO_COLOR = 0x8004 # "STATIC_COLOR = 0x8005 # "GRAY_SCALE = 0x8006 # "STATIC_GRAY = 0x8007 # "TRANSPARENT_RGB = 0x8008 # TRANSPARENT_TYPE attribute valueTRANSPARENT_INDEX = 0x8009 # "VISUAL_ID = 0x800B # Context attributeSCREEN = 0x800C # "NON_CONFORMANT_CONFIG = 0x800D # CONFIG_CAVEAT attribute valueDRAWABLE_TYPE = 0x8010 # FBConfig attributeRENDER_TYPE = 0x8011 # "X_RENDERABLE = 0x8012 # "FBCONFIG_ID = 0x8013 # "RGBA_TYPE = 0x8014 # CreateNewContext render_type valueCOLOR_INDEX_TYPE = 0x8015 # "MAX_PBUFFER_WIDTH = 0x8016 # FBConfig attributeMAX_PBUFFER_HEIGHT = 0x8017 # "MAX_PBUFFER_PIXELS = 0x8018 # "PRESERVED_CONTENTS = 0x801B # CreateGLXPbuffer attributeLARGEST_PBUFFER = 0x801C # "WIDTH = 0x801D # Drawable attributeHEIGHT = 0x801E # "EVENT_MASK = 0x801F # "DAMAGED = 0x8020 # PbufferClobber event_type valueSAVED = 0x8021 # "WINDOW = 0x8022 # PbufferClobber draw_type valuePBUFFER = 0x8023 # "PBUFFER_HEIGHT = 0x8040 # CreateGLXPbuffer attributePBUFFER_WIDTH = 0x8041 # "VISUAL_CAVEAT_EXT = 0x20 # Visual attributeX_VISUAL_TYPE_EXT = 0x22 # "TRANSPARENT_TYPE_EXT = 0x23 # "TRANSPARENT_INDEX_VALUE_EXT = 0x24 # "TRANSPARENT_RED_VALUE_EXT = 0x25 # "TRANSPARENT_GREEN_VALUE_EXT = 0x26 # "TRANSPARENT_BLUE_VALUE_EXT = 0x27 # "TRANSPARENT_ALPHA_VALUE_EXT = 0x28 # "NONE_EXT = 0x8000 # several EXT attribute valuesSLOW_VISUAL_EXT = 0x8001 # VISUAL_CAVEAT_EXT attribute valueTRUE_COLOR_EXT = 0x8002 # X_VISUAL_TYPE_EXT attribute valueDIRECT_COLOR_EXT = 0x8003 # "PSEUDO_COLOR_EXT = 0x8004 # "STATIC_COLOR_EXT = 0x8005 # "GRAY_SCALE_EXT = 0x8006 # "STATIC_GRAY_EXT = 0x8007 # "TRANSPARENT_RGB_EXT = 0x8008 # TRANSPARENT_TYPE_EXT attribute valueTRANSPARENT_INDEX_EXT = 0x8009 # "SHARE_CONTEXT_EXT = 0x800A # QueryContextInfoEXT attributeVISUAL_ID_EXT = 0x800B # "SCREEN_EXT = 0x800C # "NON_CONFORMANT_VISUAL_EXT = 0x800D # VISUAL_CAVEAT_EXT attribute valueDRAWABLE_TYPE_SGIX = 0x8010 # FBConfigSGIX attributeRENDER_TYPE_SGIX = 0x8011 # "X_RENDERABLE_SGIX = 0x8012 # "FBCONFIG_ID_SGIX = 0x8013 # "RGBA_TYPE_SGIX = 0x8014 # CreateContextWithConfigSGIX render_type valueCOLOR_INDEX_TYPE_SGIX = 0x8015 # "MAX_PBUFFER_WIDTH_SGIX = 0x8016 # FBConfigSGIX attributeMAX_PBUFFER_HEIGHT_SGIX = 0x8017 # "MAX_PBUFFER_PIXELS_SGIX = 0x8018 # "OPTIMAL_PBUFFER_WIDTH_SGIX = 0x8019 # "OPTIMAL_PBUFFER_HEIGHT_SGIX = 0x801A # "PRESERVED_CONTENTS_SGIX = 0x801B # PbufferSGIX attributeLARGEST_PBUFFER_SGIX = 0x801C # "WIDTH_SGIX = 0x801D # "HEIGHT_SGIX = 0x801E # "EVENT_MASK_SGIX = 0x801F # "DAMAGED_SGIX = 0x8020 # BufferClobberSGIX event_type valueSAVED_SGIX = 0x8021 # "WINDOW_SGIX = 0x8022 # BufferClobberSGIX draw_type valuePBUFFER_SGIX = 0x8023 # "DIGITAL_MEDIA_PBUFFER_SGIX = 0x8024 # PbufferSGIX attributeBLENDED_RGBA_SGIS = 0x8025 # TRANSPARENT_TYPE_EXT attribute valueMULTISAMPLE_SUB_RECT_WIDTH_SGIS = 0x8026 # Visual attribute (shared_multisample)MULTISAMPLE_SUB_RECT_HEIGHT_SGIS = 0x8027 # "VISUAL_SELECT_GROUP_SGIX = 0x8028 # Visual attribute (visual_select_group)HYPERPIPE_ID_SGIX = 0x8030 # Associated hyperpipe ID (SGIX_hyperpipe)SAMPLE_BUFFERS_SGIS = 100000 # Visual attribute (SGIS_multisample)SAMPLES_SGIS = 100001 # "SAMPLE_BUFFERS_ARB = 100000 # Visual attribute (ARB_multisample - alias of SGIS_multisample)SAMPLES_ARB = 100001 # "SAMPLE_BUFFERS = 100000 # Visual attribute (GLX 1.4 core - alias of SGIS_multisample)SAMPLES = 100001 # "################################################################################ NVIDIA: 0x20A0 - 0x219F# NV_float_buffer enum:FLOAT_COMPONENTS_NV = 0x20B0# NV_future_use: 0x20B1-0x20B8# ARB_fbconfig_float enum:RGBA_FLOAT_TYPE_ARB = 0x20B9# NV_future_use: 0x20BA-0x219F################################################################################ MESA (not in a reserved block)# MESA_set_3dfx_mode enum:# 3DFX_WINDOW_MODE_MESA = 0x1# 3DFX_FULLSCREEN_MODE_MESA = 0x2################################################################################ SGI_future_use: 0x8029-0x802F# SGIX_hyperpipe adds attribute name HYPERPIPE_ID_SGIX = 0x8030# SGI_future_use: 0x8031-0x803F################################################################################ ARB_future_use: 0x8042-0x804F################################################################################ 3DFX: 0x8050-0x805F# 3DFX_multisample enum:# SAMPLE_BUFFERS_3DFX = 0x8050# SAMPLES_3DFX = 0x8051################################################################################ OML: 0x8060-0x806F# OML_swap_method enum:# SWAP_METHOD_OML = 0x8060# SWAP_EXCHANGE_OML = 0x8061# SWAP_COPY_OML = 0x8062# SWAP_UNDEFINED_OML = 0x8063# OML_future_use: 0x8064-0x806F################################################################################ NVIDIA: 0x8070 - 0x816F################################################################################ SUN: 0x8170 - 0x817F################################################################################## PLEASE REMEMBER THAT NEW ENUMERANT ALLOCATIONS MUST BE OBTAINED BY### REQUEST TO SGI'S ARB REPRESENTATIVE (see comments at the top of this file)################################################################################ Any_vendor_future_use: 0x8180-0xFFFF## This range must be the last range in the file. To generate a new# range, allocate multiples of 16 from the beginning of the# Any_vendor_future_use range and update glxenum.spec, glxenumext.spec,# and extensions.reserved.