mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
Update OpenGL specs
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
f5aa5377a5
commit
f64773010d
10 changed files with 2522 additions and 274 deletions
|
|
@ -71,218 +71,323 @@ proc is-extension-supported? name {
|
|||
return [info exists extensions($name)]
|
||||
}
|
||||
|
||||
#This is going to need to be updated for OpenGL >= 2.1 in SnowLeopard.
|
||||
# This is going to need to be updated for future OpenGL versions:
|
||||
# cat specs/gl.tm | grep -v '^#' | awk -F, '{sub(/[ \t]+/, ""); print " "$1 " \"" $4 "\""}'
|
||||
# then change void from "*" to "void"
|
||||
#
|
||||
# TextureComponentCount is GLenum in SL for everything
|
||||
# It is GLint in mesa, but is GLenum for glTexImage3DEXT
|
||||
array set typemap {
|
||||
void void
|
||||
List GLuint
|
||||
Mode GLenum
|
||||
CheckedFloat32 GLfloat
|
||||
CheckedInt32 GLint
|
||||
Float32 GLfloat
|
||||
Int32 GLint
|
||||
Int64 GLint64EXT
|
||||
UInt64 GLuint64EXT
|
||||
Float64 GLdouble
|
||||
ListMode GLuint
|
||||
SizeI GLsizei
|
||||
ListNameType GLenum
|
||||
Void void
|
||||
BeginMode GLenum
|
||||
CoordF GLfloat
|
||||
UInt8 GLubyte
|
||||
Boolean GLboolean
|
||||
ColorIndexValueD GLdouble
|
||||
ColorB GLbyte
|
||||
ColorD GLdouble
|
||||
ColorF GLfloat
|
||||
ColorI GLint
|
||||
ColorS GLshort
|
||||
ColorUB GLubyte
|
||||
ColorUI GLuint
|
||||
ColorUS GLushort
|
||||
ColorIndexValueF GLfloat
|
||||
ColorIndexValueI GLint
|
||||
ColorIndexValueS GLshort
|
||||
Int8 GLbyte
|
||||
CoordD GLdouble
|
||||
Int16 GLshort
|
||||
CoordI GLint
|
||||
CoordS GLshort
|
||||
ClipPlaneName GLenum
|
||||
MaterialFace GLenum
|
||||
ColorMaterialParameter GLenum
|
||||
CullFaceMode GLenum
|
||||
FogParameter GLenum
|
||||
FrontFaceDirection GLenum
|
||||
HintTarget GLenum
|
||||
HintMode GLenum
|
||||
LightName GLenum
|
||||
LightParameter GLenum
|
||||
LightModelParameter GLenum
|
||||
LineStipple GLushort
|
||||
MaterialParameter GLenum
|
||||
PolygonMode GLenum
|
||||
WinCoord GLint
|
||||
ShadingModel GLenum
|
||||
TextureTarget GLenum
|
||||
TextureParameterName GLenum
|
||||
TextureComponentCount GLint
|
||||
PixelFormat GLenum
|
||||
PixelType GLenum
|
||||
TextureEnvTarget GLenum
|
||||
TextureEnvParameter GLenum
|
||||
TextureCoordName GLenum
|
||||
TextureGenParameter GLenum
|
||||
FeedbackType GLenum
|
||||
FeedbackElement GLfloat
|
||||
SelectName GLuint
|
||||
RenderingMode GLenum
|
||||
DrawBufferMode GLenum
|
||||
ClearBufferMask GLbitfield
|
||||
MaskedColorIndexValueF GLfloat
|
||||
ClampedColorF GLclampf
|
||||
StencilValue GLint
|
||||
ClampedFloat64 GLclampd
|
||||
MaskedStencilValue GLuint
|
||||
MaskedColorIndexValueI GLuint
|
||||
AccumOp GLenum
|
||||
EnableCap GLenum
|
||||
AttribMask GLbitfield
|
||||
MapTarget GLenum
|
||||
MeshMode1 GLenum
|
||||
MeshMode2 GLenum
|
||||
AlphaFunction GLenum
|
||||
ClampedFloat32 GLclampf
|
||||
BlendingFactorSrc GLenum
|
||||
BlendingFactorDest GLenum
|
||||
LogicOp GLenum
|
||||
StencilFunction GLenum
|
||||
ClampedStencilValue GLint
|
||||
MaskedStencilValue GLuint
|
||||
StencilOp GLenum
|
||||
DepthFunction GLenum
|
||||
PixelTransferParameter GLenum
|
||||
PixelStoreParameter GLenum
|
||||
PixelMap GLenum
|
||||
UInt32 GLuint
|
||||
UInt16 GLushort
|
||||
ReadBufferMode GLenum
|
||||
PixelCopyType GLenum
|
||||
GetPName GLenum
|
||||
ErrorCode GLenum
|
||||
GetMapQuery GLenum
|
||||
AccumOp "GLenum"
|
||||
AlphaFunction "GLenum"
|
||||
AttribMask "GLbitfield"
|
||||
BeginMode "GLenum"
|
||||
BinormalPointerTypeEXT "GLenum"
|
||||
BlendEquationMode "GLenum"
|
||||
BlendEquationModeEXT "GLenum"
|
||||
BlendFuncSeparateParameterEXT "GLenum"
|
||||
BlendingFactorDest "GLenum"
|
||||
BlendingFactorSrc "GLenum"
|
||||
Boolean "GLboolean"
|
||||
BooleanPointer "GLboolean*"
|
||||
Char "GLchar"
|
||||
CharPointer "GLchar*"
|
||||
CheckedFloat32 "GLfloat"
|
||||
CheckedInt32 "GLint"
|
||||
ClampColorTargetARB "GLenum"
|
||||
ClampColorModeARB "GLenum"
|
||||
ClampedColorF "GLclampf"
|
||||
ClampedFloat32 "GLclampf"
|
||||
ClampedFloat64 "GLclampd"
|
||||
ClampedStencilValue "GLint"
|
||||
ClearBufferMask "GLbitfield"
|
||||
ClientAttribMask "GLbitfield"
|
||||
ClipPlaneName "GLenum"
|
||||
ColorB "GLbyte"
|
||||
ColorD "GLdouble"
|
||||
ColorF "GLfloat"
|
||||
ColorI "GLint"
|
||||
ColorIndexValueD "GLdouble"
|
||||
ColorIndexValueF "GLfloat"
|
||||
ColorIndexValueI "GLint"
|
||||
ColorIndexValueS "GLshort"
|
||||
ColorIndexValueUB "GLubyte"
|
||||
ColorMaterialParameter "GLenum"
|
||||
ColorPointerType "GLenum"
|
||||
ColorS "GLshort"
|
||||
ColorTableParameterPName "GLenum"
|
||||
ColorTableParameterPNameSGI "GLenum"
|
||||
ColorTableTarget "GLenum"
|
||||
ColorTableTargetSGI "GLenum"
|
||||
ColorUB "GLubyte"
|
||||
ColorUI "GLuint"
|
||||
ColorUS "GLushort"
|
||||
CombinerBiasNV "GLenum"
|
||||
CombinerComponentUsageNV "GLenum"
|
||||
CombinerMappingNV "GLenum"
|
||||
CombinerParameterNV "GLenum"
|
||||
CombinerPortionNV "GLenum"
|
||||
CombinerRegisterNV "GLenum"
|
||||
CombinerScaleNV "GLenum"
|
||||
CombinerStageNV "GLenum"
|
||||
CombinerVariableNV "GLenum"
|
||||
CompressedTextureARB "GLvoid"
|
||||
ControlPointNV "GLvoid"
|
||||
ControlPointTypeNV "GLenum"
|
||||
ConvolutionParameter "GLenum"
|
||||
ConvolutionParameterEXT "GLenum"
|
||||
ConvolutionTarget "GLenum"
|
||||
ConvolutionTargetEXT "GLenum"
|
||||
CoordD "GLdouble"
|
||||
CoordF "GLfloat"
|
||||
CoordI "GLint"
|
||||
CoordS "GLshort"
|
||||
CullFaceMode "GLenum"
|
||||
CullParameterEXT "GLenum"
|
||||
DepthFunction "GLenum"
|
||||
DrawBufferMode "GLenum"
|
||||
DrawBufferName "GLint"
|
||||
DrawElementsType "GLenum"
|
||||
ElementPointerTypeATI "GLenum"
|
||||
EnableCap "GLenum"
|
||||
ErrorCode "GLenum"
|
||||
EvalMapsModeNV "GLenum"
|
||||
EvalTargetNV "GLenum"
|
||||
FeedbackElement "GLfloat"
|
||||
FeedbackType "GLenum"
|
||||
FenceNV "GLuint"
|
||||
FenceConditionNV "GLenum"
|
||||
FenceParameterNameNV "GLenum"
|
||||
FfdMaskSGIX "GLbitfield"
|
||||
FfdTargetSGIX "GLenum"
|
||||
Float32 "GLfloat"
|
||||
Float32Pointer "GLfloat*"
|
||||
Float64 "GLdouble"
|
||||
Float64Pointer "GLdouble*"
|
||||
FogParameter "GLenum"
|
||||
FogPointerTypeEXT "GLenum"
|
||||
FogPointerTypeIBM "GLenum"
|
||||
FragmentLightModelParameterSGIX "GLenum"
|
||||
FragmentLightNameSGIX "GLenum"
|
||||
FragmentLightParameterSGIX "GLenum"
|
||||
FramebufferAttachment "GLenum"
|
||||
FramebufferTarget "GLenum"
|
||||
FrontFaceDirection "GLenum"
|
||||
FunctionPointer "_GLfuncptr"
|
||||
GetColorTableParameterPName "GLenum"
|
||||
GetColorTableParameterPNameSGI "GLenum"
|
||||
GetConvolutionParameterPName "GLenum"
|
||||
GetHistogramParameterPName "GLenum"
|
||||
GetHistogramParameterPNameEXT "GLenum"
|
||||
GetMapQuery "GLenum"
|
||||
GetMinmaxParameterPName "GLenum"
|
||||
GetMinmaxParameterPNameEXT "GLenum"
|
||||
GetPName "GLenum"
|
||||
GetPointervPName "GLenum"
|
||||
GetTextureParameter "GLenum"
|
||||
HintMode "GLenum"
|
||||
HintTarget "GLenum"
|
||||
HintTargetPGI "GLenum"
|
||||
HistogramTarget "GLenum"
|
||||
HistogramTargetEXT "GLenum"
|
||||
IglooFunctionSelectSGIX "GLenum"
|
||||
IglooParameterSGIX "GLvoid"
|
||||
ImageTransformPNameHP "GLenum"
|
||||
ImageTransformTargetHP "GLenum"
|
||||
IndexFunctionEXT "GLenum"
|
||||
IndexMaterialParameterEXT "GLenum"
|
||||
IndexPointerType "GLenum"
|
||||
Int16 "GLshort"
|
||||
Int32 "GLint"
|
||||
Int8 "GLbyte"
|
||||
InterleavedArrayFormat "GLenum"
|
||||
LightEnvParameterSGIX "GLenum"
|
||||
LightModelParameter "GLenum"
|
||||
LightName "GLenum"
|
||||
LightParameter "GLenum"
|
||||
LightTextureModeEXT "GLenum"
|
||||
LightTexturePNameEXT "GLenum"
|
||||
LineStipple "GLushort"
|
||||
List "GLuint"
|
||||
ListMode "GLenum"
|
||||
ListNameType "GLenum"
|
||||
ListParameterName "GLenum"
|
||||
LogicOp "GLenum"
|
||||
MapAttribParameterNV "GLenum"
|
||||
MapParameterNV "GLenum"
|
||||
MapTarget "GLenum"
|
||||
MapTargetNV "GLenum"
|
||||
MapTypeNV "GLenum"
|
||||
MaskedColorIndexValueF "GLfloat"
|
||||
MaskedColorIndexValueI "GLuint"
|
||||
MaskedStencilValue "GLuint"
|
||||
MaterialFace "GLenum"
|
||||
MaterialParameter "GLenum"
|
||||
MatrixIndexPointerTypeARB "GLenum"
|
||||
MatrixMode "GLenum"
|
||||
MatrixTransformNV "GLenum"
|
||||
MeshMode1 "GLenum"
|
||||
MeshMode2 "GLenum"
|
||||
MinmaxTarget "GLenum"
|
||||
MinmaxTargetEXT "GLenum"
|
||||
NormalPointerType "GLenum"
|
||||
NurbsCallback "GLenum"
|
||||
NurbsObj "GLUnurbs*"
|
||||
NurbsProperty "GLenum"
|
||||
NurbsTrim "GLenum"
|
||||
OcclusionQueryParameterNameNV "GLenum"
|
||||
PixelCopyType "GLenum"
|
||||
PixelFormat "GLenum"
|
||||
PixelInternalFormat "GLenum"
|
||||
PixelMap "GLenum"
|
||||
PixelStoreParameter "GLenum"
|
||||
PixelTexGenModeSGIX "GLenum"
|
||||
PixelTexGenParameterNameSGIS "GLenum"
|
||||
PixelTransferParameter "GLenum"
|
||||
PixelTransformPNameEXT "GLenum"
|
||||
PixelTransformTargetEXT "GLenum"
|
||||
PixelType "GLenum"
|
||||
PointParameterNameARB "GLenum"
|
||||
PolygonMode "GLenum"
|
||||
ProgramNV "GLuint"
|
||||
ProgramCharacterNV "GLubyte"
|
||||
ProgramParameterNV "GLenum"
|
||||
ProgramParameterPName "GLenum"
|
||||
QuadricCallback "GLenum"
|
||||
QuadricDrawStyle "GLenum"
|
||||
QuadricNormal "GLenum"
|
||||
QuadricObj "GLUquadric*"
|
||||
QuadricOrientation "GLenum"
|
||||
ReadBufferMode "GLenum"
|
||||
RenderbufferTarget "GLenum"
|
||||
RenderingMode "GLenum"
|
||||
ReplacementCodeSUN "GLuint"
|
||||
ReplacementCodeTypeSUN "GLenum"
|
||||
SamplePassARB "GLenum"
|
||||
SamplePatternEXT "GLenum"
|
||||
SamplePatternSGIS "GLenum"
|
||||
SecondaryColorPointerTypeIBM "GLenum"
|
||||
SelectName "GLuint"
|
||||
SeparableTarget "GLenum"
|
||||
SeparableTargetEXT "GLenum"
|
||||
ShadingModel "GLenum"
|
||||
SizeI "GLsizei"
|
||||
SpriteParameterNameSGIX "GLenum"
|
||||
StencilFunction "GLenum"
|
||||
StencilFaceDirection "GLenum"
|
||||
StencilOp "GLenum"
|
||||
StencilValue "GLint"
|
||||
String "const GLubyte *"
|
||||
StringName GLenum
|
||||
GetTextureParameter GLenum
|
||||
MatrixMode GLenum
|
||||
ColorPointerType GLenum
|
||||
DrawElementsType GLenum
|
||||
GetPointervPName GLenum
|
||||
VoidPointer "void *"
|
||||
IndexPointerType GLenum
|
||||
InterleavedArrayFormat GLenum
|
||||
NormalPointerType GLenum
|
||||
TexCoordPointerType GLenum
|
||||
VertexPointerType GLenum
|
||||
PixelInternalFormat GLenum
|
||||
Texture GLuint
|
||||
ColorIndexValueUB GLubyte
|
||||
ClientAttribMask GLbitfield
|
||||
BlendEquationMode GLenum
|
||||
ColorTableTarget GLenum
|
||||
ColorTableParameterPName GLenum
|
||||
GetColorTableParameterPName GLenum
|
||||
ConvolutionTarget GLenum
|
||||
ConvolutionParameter GLenum
|
||||
GetConvolutionParameterPName GLenum
|
||||
SeparableTarget GLenum
|
||||
HistogramTarget GLenum
|
||||
GetHistogramParameterPName GLenum
|
||||
MinmaxTarget GLenum
|
||||
GetMinmaxParameterPName GLenum
|
||||
TextureTarget GLenum
|
||||
TextureUnit GLenum
|
||||
CompressedTextureARB "void"
|
||||
BlendFuncSeparateParameterEXT GLenum
|
||||
FogPointerTypeEXT GLenum
|
||||
PointParameterNameARB GLenum
|
||||
GLenum GLenum
|
||||
BufferTargetARB GLenum
|
||||
ConstUInt32 "const GLuint"
|
||||
BufferSize GLsizeiptr
|
||||
ConstVoid "const GLvoid"
|
||||
BufferUsageARB GLenum
|
||||
BufferOffset GLintptr
|
||||
BufferAccessARB GLenum
|
||||
BufferPNameARB GLenum
|
||||
BufferPointerNameARB GLenum
|
||||
BlendEquationModeEXT GLenum
|
||||
DrawBufferModeATI GLenum
|
||||
StencilFaceDirection GLenum
|
||||
Char GLchar
|
||||
VertexAttribPropertyARB GLenum
|
||||
VertexAttribPointerPropertyARB GLenum
|
||||
CharPointer "GLchar *"
|
||||
VertexAttribPointerTypeARB GLenum
|
||||
ClampColorTargetARB unknown3.0
|
||||
ClampColorModeARB unknown3.0
|
||||
VertexAttribEnum GLenum
|
||||
VertexAttribEnumNV GLenum
|
||||
DrawBufferName unknown3.0
|
||||
WeightPointerTypeARB GLenum
|
||||
ProgramTargetARB GLenum
|
||||
ProgramFormatARB GLenum
|
||||
ProgramStringPropertyARB GLenum
|
||||
BufferSizeARB GLsizeiptrARB
|
||||
BufferOffsetARB GLintptrARB
|
||||
handleARB GLhandleARB
|
||||
charPointerARB "GLcharARB *"
|
||||
charARB GLcharARB
|
||||
RenderbufferTarget GLenum
|
||||
FramebufferTarget GLenum
|
||||
FramebufferAttachment GLenum
|
||||
BinormalPointerTypeEXT GLenum
|
||||
HintTargetPGI GLenum
|
||||
ProgramParameterPName GLenum
|
||||
ProgramPropertyARB GLenum
|
||||
ElementPointerTypeATI GLenum
|
||||
FenceNV GLuint
|
||||
FenceConditionNV GLenum
|
||||
ObjectTypeAPPLE GLenum
|
||||
VertexArrayPNameAPPLE GLenum
|
||||
SeparableTargetEXT GLenum
|
||||
ColorTableTargetSGI GLenum
|
||||
ColorTableParameterPNameSGI GLenum
|
||||
CombinerOutputNV GLenum
|
||||
CombinerStageNV GLenum
|
||||
CombinerPortionNV GLenum
|
||||
CombinerRegisterNV GLenum
|
||||
CombinerScaleNV GLenum
|
||||
CombinerBiasNV GLenum
|
||||
CombinerComponentUsageNV GLenum
|
||||
CombinerMappingNV GLenum
|
||||
CombinerParameterNV GLenum
|
||||
CombinerVariableNV GLenum
|
||||
ConvolutionParameterEXT GLenum
|
||||
ConvolutionTargetEXT GLenum
|
||||
CullParameterEXT GLenum
|
||||
FenceParameterNameNV GLenum
|
||||
FragmentLightModelParameterSGIX GLenum
|
||||
FragmentLightNameSGIX GLenum
|
||||
FragmentLightParameterSGIX GLenum
|
||||
GetColorTableParameterPNameSGI GLenum
|
||||
GetHistogramParameterPNameEXT GLenum
|
||||
GetMinmaxParameterPNameEXT GLenum
|
||||
HistogramTargetEXT GLenum
|
||||
LightEnvParameterSGIX GLenum
|
||||
MinmaxTargetEXT GLenum
|
||||
PNTrianglesPNameATI GLenum
|
||||
ProgramCharacterNV GLubyte
|
||||
SamplePatternEXT GLenum
|
||||
SamplePatternSGIS GLenum
|
||||
TypeEnum GLenum
|
||||
StringName "GLenum"
|
||||
TangentPointerTypeEXT "GLenum"
|
||||
TessCallback "GLenum"
|
||||
TessContour "GLenum"
|
||||
TessProperty "GLenum"
|
||||
TesselatorObj "GLUtesselator*"
|
||||
TexCoordPointerType "GLenum"
|
||||
Texture "GLuint"
|
||||
TextureComponentCount "GLint"
|
||||
TextureCoordName "GLenum"
|
||||
TextureEnvParameter "GLenum"
|
||||
TextureEnvTarget "GLenum"
|
||||
TextureFilterSGIS "GLenum"
|
||||
TextureGenParameter "GLenum"
|
||||
TextureNormalModeEXT "GLenum"
|
||||
TextureParameterName "GLenum"
|
||||
TextureTarget "GLenum"
|
||||
TextureUnit "GLenum"
|
||||
UInt16 "GLushort"
|
||||
UInt32 "GLuint"
|
||||
UInt8 "GLubyte"
|
||||
VertexAttribEnum "GLenum"
|
||||
VertexAttribEnumNV "GLenum"
|
||||
VertexAttribPointerTypeNV "GLenum"
|
||||
VertexPointerType "GLenum"
|
||||
VertexWeightPointerTypeEXT "GLenum"
|
||||
Void "GLvoid"
|
||||
VoidPointer "GLvoid*"
|
||||
ConstVoidPointer "GLvoid* const"
|
||||
WeightPointerTypeARB "GLenum"
|
||||
WinCoord "GLint"
|
||||
void "void"
|
||||
ArrayObjectPNameATI "GLenum"
|
||||
ArrayObjectUsageATI "GLenum"
|
||||
ConstFloat32 "GLfloat"
|
||||
ConstInt32 "GLint"
|
||||
ConstUInt32 "GLuint"
|
||||
ConstVoid "GLvoid"
|
||||
DataTypeEXT "GLenum"
|
||||
FragmentOpATI "GLenum"
|
||||
GetTexBumpParameterATI "GLenum"
|
||||
GetVariantValueEXT "GLenum"
|
||||
ParameterRangeEXT "GLenum"
|
||||
PreserveModeATI "GLenum"
|
||||
ProgramFormatARB "GLenum"
|
||||
ProgramTargetARB "GLenum"
|
||||
ProgramTarget "GLenum"
|
||||
ProgramPropertyARB "GLenum"
|
||||
ProgramStringPropertyARB "GLenum"
|
||||
ScalarType "GLenum"
|
||||
SwizzleOpATI "GLenum"
|
||||
TexBumpParameterATI "GLenum"
|
||||
VariantCapEXT "GLenum"
|
||||
VertexAttribPointerPropertyARB "GLenum"
|
||||
VertexAttribPointerTypeARB "GLenum"
|
||||
VertexAttribPropertyARB "GLenum"
|
||||
VertexShaderCoordOutEXT "GLenum"
|
||||
VertexShaderOpEXT "GLenum"
|
||||
VertexShaderParameterEXT "GLenum"
|
||||
VertexShaderStorageTypeEXT "GLenum"
|
||||
VertexShaderTextureUnitParameter "GLenum"
|
||||
VertexShaderWriteMaskEXT "GLenum"
|
||||
VertexStreamATI "GLenum"
|
||||
PNTrianglesPNameATI "GLenum"
|
||||
BufferOffset "GLintptr"
|
||||
BufferSize "GLsizeiptr"
|
||||
BufferAccessARB "GLenum"
|
||||
BufferOffsetARB "GLintptrARB"
|
||||
BufferPNameARB "GLenum"
|
||||
BufferPointerNameARB "GLenum"
|
||||
BufferSizeARB "GLsizeiptrARB"
|
||||
BufferTargetARB "GLenum"
|
||||
BufferUsageARB "GLenum"
|
||||
ObjectTypeAPPLE "GLenum"
|
||||
VertexArrayPNameAPPLE "GLenum"
|
||||
DrawBufferModeATI "GLenum"
|
||||
Half16NV "GLhalfNV"
|
||||
PixelDataRangeTargetNV "GLenum"
|
||||
TypeEnum "GLenum"
|
||||
GLbitfield "GLbitfield"
|
||||
GLenum "GLenum"
|
||||
Int64 "GLint64"
|
||||
UInt64 "GLuint64"
|
||||
handleARB "GLhandleARB"
|
||||
charARB "GLcharARB"
|
||||
charPointerARB "GLcharARB*"
|
||||
sync "GLsync"
|
||||
Int64EXT "GLint64EXT"
|
||||
UInt64EXT "GLuint64EXT"
|
||||
FramebufferAttachment "GLenum"
|
||||
FramebufferAttachmentParameterName "GLenum"
|
||||
Framebuffer "GLuint"
|
||||
FramebufferStatus "GLenum"
|
||||
FramebufferTarget "GLenum"
|
||||
GetFramebufferParameter "GLenum"
|
||||
Intptr "GLintptr"
|
||||
ProgramFormat "GLenum"
|
||||
ProgramProperty "GLenum"
|
||||
ProgramStringProperty "GLenum"
|
||||
ProgramTarget "GLenum"
|
||||
Renderbuffer "GLuint"
|
||||
RenderbufferParameterName "GLenum"
|
||||
Sizeiptr "GLsizeiptr"
|
||||
TextureInternalFormat "GLenum"
|
||||
VertexBufferObjectAccess "GLenum"
|
||||
VertexBufferObjectParameter "GLenum"
|
||||
VertexBufferObjectUsage "GLenum"
|
||||
BufferAccessMask "GLbitfield"
|
||||
GetMultisamplePNameNV "GLenum"
|
||||
SampleMaskNV "GLbitfield"
|
||||
}
|
||||
|
||||
proc psplit s {
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@
|
|||
# It is an extremely important file. Do not mess with it unless
|
||||
# you know what you're doing and have permission to do so.
|
||||
#
|
||||
# $Revision: 10971 $ on $Date: 2010-04-09 02:45:33 -0700 (Fri, 09 Apr 2010) $
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# Before modifying this file, read the following:
|
||||
|
|
@ -217,11 +219,15 @@ EXT_multisample enum:
|
|||
|
||||
###############################################################################
|
||||
|
||||
# Note that COVERAGE_BUFFER_BIT_NV collides with AttribMask bit
|
||||
# HINT_BIT. This is OK since the extension is for OpenGL ES 2, which
|
||||
# doesn't have attribute groups.
|
||||
ClearBufferMask enum:
|
||||
use AttribMask COLOR_BUFFER_BIT
|
||||
use AttribMask ACCUM_BUFFER_BIT
|
||||
use AttribMask STENCIL_BUFFER_BIT
|
||||
use AttribMask DEPTH_BUFFER_BIT
|
||||
use AttribMask DEPTH_BUFFER_BIT # = 0x00000100
|
||||
use AttribMask ACCUM_BUFFER_BIT # = 0x00000200
|
||||
use AttribMask STENCIL_BUFFER_BIT # = 0x00000400
|
||||
use AttribMask COLOR_BUFFER_BIT # = 0x00004000
|
||||
use NV_coverage_sample COVERAGE_BUFFER_BIT_NV # = 0x00008000
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
|
@ -4334,7 +4340,7 @@ APPLE_object_purgeable enum: (additional; see below)
|
|||
|
||||
# APPLE_future_use: 0x85B4
|
||||
|
||||
## From Jeremy 2006/10/18 (Bugzilla bug 632) - unknown extension name
|
||||
## From Jeremy 2006/10/18 (Khronos bug 632) - unknown extension name
|
||||
# STORAGE_CLIENT_APPLE = 0x85B4
|
||||
|
||||
VERSION_3_0 enum:
|
||||
|
|
@ -4347,7 +4353,7 @@ APPLE_vertex_array_object enum:
|
|||
VERTEX_ARRAY_BINDING_APPLE = 0x85B5
|
||||
|
||||
# APPLE_future_use: 0x85B6
|
||||
## From Jeremy 2006/10/18 (Bugzilla bug 632) - unknown extension name
|
||||
## From Jeremy 2006/10/18 (Khronos bug 632) - unknown extension name
|
||||
# TEXTURE_MINIMIZE_STORAGE_APPLE = 0x85B6
|
||||
|
||||
APPLE_texture_range enum: (additional; see below)
|
||||
|
|
@ -5879,7 +5885,7 @@ APPLE_fence enum:
|
|||
DRAW_PIXELS_APPLE = 0x8A0A
|
||||
FENCE_APPLE = 0x8A0B
|
||||
|
||||
## From Jeremy 2006/10/18 (Bugzilla bug 632) - unknown extension name
|
||||
## From Jeremy 2006/10/18 (Khronos bug 632) - unknown extension name
|
||||
ELEMENT_ARRAY_APPLE = 0x8A0C
|
||||
ELEMENT_ARRAY_TYPE_APPLE = 0x8A0D
|
||||
ELEMENT_ARRAY_POINTER_APPLE = 0x8A0E
|
||||
|
|
@ -5888,7 +5894,7 @@ APPLE_float_pixels enum:
|
|||
COLOR_FLOAT_APPLE = 0x8A0F
|
||||
|
||||
# APPLE_future_use: 0x8A10
|
||||
## From Jeremy 2006/10/18 (Bugzilla bug 632) - unknown extension name
|
||||
## From Jeremy 2006/10/18 (Khronos bug 632) - unknown extension name
|
||||
# MIN_PBUFFER_VIEWPORT_DIMS_APPLE = 0x8A10
|
||||
# ELEMENT_BUFFER_BINDING_APPLE = 0x8A11
|
||||
# Apple says the extension that defined ELEMENT_BUFFER_BINDING_APPLE
|
||||
|
|
@ -6467,13 +6473,15 @@ NV_transform_feedback enum:
|
|||
|
||||
# ATI: 0x8C90-0x8C9F (Affie Munshi, OpenGL ES extensions)
|
||||
|
||||
# AMD_future_use: 0x8C90-0x8C91
|
||||
# Reassigned to Qualcomm at time of mobile/desktop split (bug 5874)
|
||||
# Qualcomm__future_use: 0x8C90-0x8C91
|
||||
|
||||
AMD_compressed_ATC_texture enum: (OpenGL ES only)
|
||||
ATC_RGB_AMD = 0x8C92
|
||||
ATC_RGBA_EXPLICIT_ALPHA_AMD = 0x8C93
|
||||
|
||||
# AMD_future_use: 0x8C94-0x8C9F
|
||||
# Reassigned to Qualcomm at time of mobile/desktop split (bug 5874)
|
||||
# Qualcomm_future_use: 0x8C94-0x8C9F
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
|
@ -6745,7 +6753,7 @@ OES_framebuffer_object enum: (OpenGL ES only)
|
|||
OES_compressed_ETC1_RGB8_texture enum: (OpenGL ES only)
|
||||
ETC1_RGB8_OES = 0x8D64
|
||||
|
||||
OES_EGL_image_external enum: (OpenGL ES only) (bug 4621)
|
||||
OES_EGL_image_external enum: (OpenGL ES only) (Khronos bug 4621)
|
||||
TEXTURE_EXTERNAL_OES = 0x8D65
|
||||
SAMPLER_EXTERNAL_OES = 0x8D66
|
||||
TEXTURE_BINDING_EXTERNAL_OES = 0x8D67
|
||||
|
|
@ -7050,7 +7058,8 @@ NV_present_video enum:
|
|||
PRESENT_TIME_NV = 0x8E2A
|
||||
PRESENT_DURATION_NV = 0x8E2B
|
||||
|
||||
# NV_future_use: 0x8E2C
|
||||
NV_depth_nonlinear enum: (OpenGL ES only)
|
||||
DEPTH_COMPONENT16_NONLINEAR_NV = 0x8E2C
|
||||
|
||||
EXT_direct_state_access enum:
|
||||
PROGRAM_MATRIX_EXT = 0x8E2D
|
||||
|
|
@ -7144,7 +7153,18 @@ ARB_texture_gather enum:
|
|||
# NVIDIA: 0x8ED0-0x8F4F
|
||||
# Assigned for Pat Brown (Khronos bug 3191)
|
||||
|
||||
# NV_future_use: 0x8ED0-0x8F1C
|
||||
NV_coverage_sample enum: (OpenGL ES only)
|
||||
COVERAGE_COMPONENT_NV = 0x8ED0
|
||||
COVERAGE_COMPONENT4_NV = 0x8ED1
|
||||
COVERAGE_ATTACHMENT_NV = 0x8ED2
|
||||
COVERAGE_BUFFERS_NV = 0x8ED3
|
||||
COVERAGE_SAMPLES_NV = 0x8ED4
|
||||
COVERAGE_ALL_FRAGMENTS_NV = 0x8ED5
|
||||
COVERAGE_EDGE_FRAGMENTS_NV = 0x8ED6
|
||||
COVERAGE_AUTOMATIC_NV = 0x8ED7
|
||||
COVERAGE_BUFFER_BIT_NV = 0x00008000
|
||||
|
||||
# NV_future_use: 0x8ED8-0x8F1C
|
||||
|
||||
NV_shader_buffer_load enum:
|
||||
BUFFER_GPU_ADDRESS_NV = 0x8F1D
|
||||
|
|
@ -7267,6 +7287,8 @@ AMD_vertex_shader_tesselator enum:
|
|||
DISCRETE_AMD = 0x9006
|
||||
CONTINUOUS_AMD = 0x9007
|
||||
|
||||
# AMD_future_use: 0x9008
|
||||
|
||||
ARB_texture_cube_map_array enum:
|
||||
TEXTURE_CUBE_MAP_ARRAY = 0x9009
|
||||
TEXTURE_BINDING_CUBE_MAP_ARRAY = 0x900A
|
||||
|
|
@ -7276,8 +7298,6 @@ ARB_texture_cube_map_array enum:
|
|||
INT_SAMPLER_CUBE_MAP_ARRAY = 0x900E
|
||||
UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY = 0x900F
|
||||
|
||||
# AMD_future_use: 0x9008-0x900F
|
||||
|
||||
EXT_texture_snorm enum:
|
||||
ALPHA_SNORM = 0x9010
|
||||
LUMINANCE_SNORM = 0x9011
|
||||
|
|
@ -7429,12 +7449,27 @@ VERSION_3_2 enum:
|
|||
|
||||
###############################################################################
|
||||
|
||||
# Imagination Tech.: 0x9130-0x913F (bug 882)
|
||||
# Imagination Tech.: 0x9130-0x913F (Khronos bug 882)
|
||||
|
||||
IMG_program_binary: (OpenGL ES only)
|
||||
IMG_program_binary enum: (OpenGL ES only)
|
||||
SGX_PROGRAM_BINARY_IMG = 0x9130
|
||||
|
||||
# IMG_future_use: 0x9131-0x913F
|
||||
# IMG_future_use: 0x9131-0x9132
|
||||
|
||||
IMG_multisampled_render_to_texture enum: (OpenGL ES only)
|
||||
RENDERBUFFER_SAMPLES_IMG = 0x9133
|
||||
FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG = 0x9134
|
||||
MAX_SAMPLES_IMG = 0x9135
|
||||
TEXTURE_SAMPLES_IMG = 0x9136
|
||||
|
||||
# IMG_future_use: 0x9137-0x913F
|
||||
|
||||
###############################################################################
|
||||
|
||||
# AMD: 0x9140-0x91BF (Khronos bugs 5899, 6004)
|
||||
|
||||
# AMD_future_use: 0x9140-0x91BF
|
||||
# AMD_future_use: 0x91C0-0x923F
|
||||
|
||||
###############################################################################
|
||||
### Please remember that new enumerant allocations must be obtained by request
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
# List of GL enumerants for glext.h header
|
||||
# enumext.spec - list of GL enumerants for glext.h header
|
||||
#
|
||||
# $Revision: 10971 $ on $Date: 2010-04-09 02:45:33 -0700 (Fri, 09 Apr 2010) $
|
||||
|
||||
# This is derived from the master GL enumerant registry (enum.spec).
|
||||
#
|
||||
# Unlike enum.spec, enumext.spec is
|
||||
|
|
@ -14,8 +16,8 @@
|
|||
# (4) Is processed by glextenum.pl, which has evolved
|
||||
# from enum.pl - should merge back into one script.
|
||||
|
||||
# glext.h version number - this should be automatically updated,
|
||||
# when changing either enum or template spec files.
|
||||
# The release number encoded into glext.h is now defined in
|
||||
# glextrelease.txt.
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
|
|
@ -1495,6 +1497,122 @@ passthru: /* Reuse tokens from ARB_texture_multisample */
|
|||
use ARB_texture_multisample MAX_INTEGER_SAMPLES
|
||||
passthru: /* Don't need to reuse tokens from ARB_vertex_array_bgra since they're already in 1.2 core */
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# OpenGL 3.3 enums
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
VERSION_3_3 enum:
|
||||
passthru: /* Reuse tokens from ARB_blend_func_extended */
|
||||
use ARB_blend_func_extended SRC1_COLOR
|
||||
use ARB_blend_func_extended ONE_MINUS_SRC1_COLOR
|
||||
use ARB_blend_func_extended ONE_MINUS_SRC1_ALPHA
|
||||
use ARB_blend_func_extended MAX_DUAL_SOURCE_DRAW_BUFFERS
|
||||
passthru: /* Would reuse tokens from ARB_explicit_attrib_location, but it has none */
|
||||
passthru: /* Reuse tokens from ARB_occlusion_query2 */
|
||||
use ARB_occlusion_query2 ANY_SAMPLES_PASSED
|
||||
passthru: /* Reuse tokens from ARB_sampler_objects */
|
||||
use ARB_sampler_objects SAMPLER_BINDING
|
||||
passthru: /* Would reuse tokens from ARB_shader_bit_encoding, but it has none */
|
||||
passthru: /* Reuse tokens from ARB_texture_rgb10_a2ui */
|
||||
use ARB_texture_rgb10_a2ui RGB10_A2UI
|
||||
passthru: /* Reuse tokens from ARB_texture_swizzle */
|
||||
use ARB_texture_swizzle TEXTURE_SWIZZLE_R
|
||||
use ARB_texture_swizzle TEXTURE_SWIZZLE_G
|
||||
use ARB_texture_swizzle TEXTURE_SWIZZLE_B
|
||||
use ARB_texture_swizzle TEXTURE_SWIZZLE_A
|
||||
use ARB_texture_swizzle TEXTURE_SWIZZLE_RGBA
|
||||
passthru: /* Reuse tokens from ARB_timer_query */
|
||||
use ARB_timer_query TIME_ELAPSED
|
||||
use ARB_timer_query TIMESTAMP
|
||||
passthru: /* Reuse tokens from ARB_vertex_type_2_10_10_10_rev */
|
||||
use ARB_vertex_type_2_10_10_10_rev INT_2_10_10_10_REV
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# OpenGL 4.0 enums
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
VERSION_4_0 enum:
|
||||
passthru: /* Reuse tokens from ARB_draw_indirect */
|
||||
use ARB_draw_indirect DRAW_INDIRECT_BUFFER
|
||||
use ARB_draw_indirect DRAW_INDIRECT_BUFFER_BINDING
|
||||
passthru: /* Reuse tokens from ARB_gpu_shader5 */
|
||||
use ARB_gpu_shader5 GEOMETRY_SHADER_INVOCATIONS
|
||||
use ARB_gpu_shader5 MAX_GEOMETRY_SHADER_INVOCATIONS
|
||||
use ARB_gpu_shader5 MIN_FRAGMENT_INTERPOLATION_OFFSET
|
||||
use ARB_gpu_shader5 MAX_FRAGMENT_INTERPOLATION_OFFSET
|
||||
use ARB_gpu_shader5 FRAGMENT_INTERPOLATION_OFFSET_BITS
|
||||
use ARB_gpu_shader5 MAX_VERTEX_STREAMS
|
||||
passthru: /* Reuse tokens from ARB_gpu_shader_fp64 */
|
||||
use ARB_gpu_shader_fp64 DOUBLE_VEC2
|
||||
use ARB_gpu_shader_fp64 DOUBLE_VEC3
|
||||
use ARB_gpu_shader_fp64 DOUBLE_VEC4
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT2
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT3
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT4
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT2x3
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT2x4
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT3x2
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT3x4
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT4x2
|
||||
use ARB_gpu_shader_fp64 DOUBLE_MAT4x3
|
||||
passthru: /* Reuse tokens from ARB_shader_subroutine */
|
||||
use ARB_shader_subroutine ACTIVE_SUBROUTINES
|
||||
use ARB_shader_subroutine ACTIVE_SUBROUTINE_UNIFORMS
|
||||
use ARB_shader_subroutine ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS
|
||||
use ARB_shader_subroutine ACTIVE_SUBROUTINE_MAX_LENGTH
|
||||
use ARB_shader_subroutine ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH
|
||||
use ARB_shader_subroutine MAX_SUBROUTINES
|
||||
use ARB_shader_subroutine MAX_SUBROUTINE_UNIFORM_LOCATIONS
|
||||
use ARB_shader_subroutine NUM_COMPATIBLE_SUBROUTINES
|
||||
use ARB_shader_subroutine COMPATIBLE_SUBROUTINES
|
||||
passthru: /* Reuse tokens from ARB_tessellation_shader */
|
||||
use ARB_tessellation_shader PATCHES
|
||||
use ARB_tessellation_shader PATCH_VERTICES
|
||||
use ARB_tessellation_shader PATCH_DEFAULT_INNER_LEVEL
|
||||
use ARB_tessellation_shader PATCH_DEFAULT_OUTER_LEVEL
|
||||
use ARB_tessellation_shader TESS_CONTROL_OUTPUT_VERTICES
|
||||
use ARB_tessellation_shader TESS_GEN_MODE
|
||||
use ARB_tessellation_shader TESS_GEN_SPACING
|
||||
use ARB_tessellation_shader TESS_GEN_VERTEX_ORDER
|
||||
use ARB_tessellation_shader TESS_GEN_POINT_MODE
|
||||
use ARB_tessellation_shader ISOLINES
|
||||
use ARB_tessellation_shader FRACTIONAL_ODD
|
||||
use ARB_tessellation_shader FRACTIONAL_EVEN
|
||||
use ARB_tessellation_shader MAX_PATCH_VERTICES
|
||||
use ARB_tessellation_shader MAX_TESS_GEN_LEVEL
|
||||
use ARB_tessellation_shader MAX_TESS_CONTROL_UNIFORM_COMPONENTS
|
||||
use ARB_tessellation_shader MAX_TESS_EVALUATION_UNIFORM_COMPONENTS
|
||||
use ARB_tessellation_shader MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS
|
||||
use ARB_tessellation_shader MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS
|
||||
use ARB_tessellation_shader MAX_TESS_CONTROL_OUTPUT_COMPONENTS
|
||||
use ARB_tessellation_shader MAX_TESS_PATCH_COMPONENTS
|
||||
use ARB_tessellation_shader MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS
|
||||
use ARB_tessellation_shader MAX_TESS_EVALUATION_OUTPUT_COMPONENTS
|
||||
use ARB_tessellation_shader MAX_TESS_CONTROL_UNIFORM_BLOCKS
|
||||
use ARB_tessellation_shader MAX_TESS_EVALUATION_UNIFORM_BLOCKS
|
||||
use ARB_tessellation_shader MAX_TESS_CONTROL_INPUT_COMPONENTS
|
||||
use ARB_tessellation_shader MAX_TESS_EVALUATION_INPUT_COMPONENTS
|
||||
use ARB_tessellation_shader MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS
|
||||
use ARB_tessellation_shader MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS
|
||||
use ARB_tessellation_shader UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER
|
||||
use ARB_tessellation_shader UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER
|
||||
use ARB_tessellation_shader TESS_EVALUATION_SHADER
|
||||
use ARB_tessellation_shader TESS_CONTROL_SHADER
|
||||
passthru: /* Would reuse tokens from ARB_texture_buffer_object_rgb32, but it has none */
|
||||
passthru: /* Reuse tokens from ARB_transform_feedback2 */
|
||||
use ARB_tessellation_shader TRANSFORM_FEEDBACK
|
||||
use ARB_tessellation_shader TRANSFORM_FEEDBACK_BUFFER_PAUSED
|
||||
use ARB_tessellation_shader TRANSFORM_FEEDBACK_BUFFER_ACTIVE
|
||||
use ARB_tessellation_shader TRANSFORM_FEEDBACK_BINDING
|
||||
passthru: /* Reuse tokens from ARB_transform_feedback3 */
|
||||
use ARB_tessellation_shader MAX_TRANSFORM_FEEDBACK_BUFFERS
|
||||
use ARB_tessellation_shader MAX_VERTEX_STREAMS
|
||||
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# ARB extensions, in ARB extension order
|
||||
|
|
@ -2534,10 +2652,12 @@ ARB_vertex_array_bgra enum:
|
|||
# No new tokens
|
||||
# ARB Extension #69
|
||||
ARB_draw_buffers_blend enum:
|
||||
#@@@ Add ARB suffixes here & functions!
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #70
|
||||
#@@@ Add ARB suffixes here & functions!
|
||||
ARB_sample_shading enum:
|
||||
SAMPLE_SHADING = 0x8C36
|
||||
MIN_SAMPLE_SHADING_VALUE = 0x8C37
|
||||
|
|
@ -2545,6 +2665,7 @@ ARB_sample_shading enum:
|
|||
###############################################################################
|
||||
|
||||
# ARB Extension #71
|
||||
#@@@ Add ARB suffixes here & functions!
|
||||
ARB_texture_cube_map_array enum:
|
||||
TEXTURE_CUBE_MAP_ARRAY = 0x9009
|
||||
TEXTURE_BINDING_CUBE_MAP_ARRAY = 0x900A
|
||||
|
|
@ -2557,10 +2678,10 @@ ARB_texture_cube_map_array enum:
|
|||
###############################################################################
|
||||
|
||||
# ARB Extension #72
|
||||
#@@@ Add ARB suffixes here & functions!
|
||||
ARB_texture_gather enum:
|
||||
MIN_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5E
|
||||
MAX_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5F
|
||||
MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS = 0x8F9F
|
||||
MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB = 0x8E5E
|
||||
MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB = 0x8E5F
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
|
@ -2574,6 +2695,206 @@ ARB_texture_query_lod enum:
|
|||
# ARB Extension #74 - WGL_ARB_create_context_profile
|
||||
# ARB Extension #75 - GLX_ARB_create_context_profile
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #76
|
||||
ARB_shading_language_include enum:
|
||||
SHADER_INCLUDE_ARB = 0x8DAE
|
||||
NAMED_STRING_LENGTH_ARB = 0x8DE9
|
||||
NAMED_STRING_TYPE_ARB = 0x8DEA
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #77
|
||||
ARB_texture_compression_bptc enum:
|
||||
COMPRESSED_RGBA_BPTC_UNORM_ARB = 0x8E8C
|
||||
COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB = 0x8E8D
|
||||
COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB = 0x8E8E
|
||||
COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB = 0x8E8F
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #78
|
||||
ARB_blend_func_extended enum:
|
||||
SRC1_COLOR = 0x88F9
|
||||
use VERSION_1_5_DEPRECATED SRC1_ALPHA
|
||||
ONE_MINUS_SRC1_COLOR = 0x88FA
|
||||
ONE_MINUS_SRC1_ALPHA = 0x88FB
|
||||
MAX_DUAL_SOURCE_DRAW_BUFFERS = 0x88FC
|
||||
|
||||
###############################################################################
|
||||
|
||||
# No new tokens
|
||||
# ARB Extension #79
|
||||
ARB_explicit_attrib_location enum:
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #80
|
||||
ARB_occlusion_query2 enum:
|
||||
ANY_SAMPLES_PASSED = 0x8C2F
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #81
|
||||
ARB_sampler_objects enum:
|
||||
SAMPLER_BINDING = 0x8919
|
||||
|
||||
###############################################################################
|
||||
|
||||
# No new tokens
|
||||
# ARB Extension #82
|
||||
ARB_shader_bit_encoding enum:
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #83
|
||||
ARB_texture_rgb10_a2ui enum:
|
||||
RGB10_A2UI = 0x906F
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #84
|
||||
ARB_texture_swizzle enum:
|
||||
TEXTURE_SWIZZLE_R = 0x8E42
|
||||
TEXTURE_SWIZZLE_G = 0x8E43
|
||||
TEXTURE_SWIZZLE_B = 0x8E44
|
||||
TEXTURE_SWIZZLE_A = 0x8E45
|
||||
TEXTURE_SWIZZLE_RGBA = 0x8E46
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #85
|
||||
ARB_timer_query enum:
|
||||
TIME_ELAPSED = 0x88BF
|
||||
TIMESTAMP = 0x8E28
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #86
|
||||
ARB_vertex_type_2_10_10_10_rev enum:
|
||||
use VERSION_1_2 UNSIGNED_INT_2_10_10_10_REV
|
||||
INT_2_10_10_10_REV = 0x8D9F
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #87
|
||||
ARB_draw_indirect enum:
|
||||
DRAW_INDIRECT_BUFFER = 0x8F3F
|
||||
DRAW_INDIRECT_BUFFER_BINDING = 0x8F43
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #88
|
||||
ARB_gpu_shader5 enum:
|
||||
GEOMETRY_SHADER_INVOCATIONS = 0x887F
|
||||
MAX_GEOMETRY_SHADER_INVOCATIONS = 0x8E5A
|
||||
MIN_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5B
|
||||
MAX_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5C
|
||||
FRAGMENT_INTERPOLATION_OFFSET_BITS = 0x8E5D
|
||||
MAX_VERTEX_STREAMS = 0x8E71
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #89
|
||||
ARB_gpu_shader_fp64 enum:
|
||||
use VERSION_1_1 DOUBLE
|
||||
DOUBLE_VEC2 = 0x8FFC
|
||||
DOUBLE_VEC3 = 0x8FFD
|
||||
DOUBLE_VEC4 = 0x8FFE
|
||||
DOUBLE_MAT2 = 0x8F46
|
||||
DOUBLE_MAT3 = 0x8F47
|
||||
DOUBLE_MAT4 = 0x8F48
|
||||
DOUBLE_MAT2x3 = 0x8F49
|
||||
DOUBLE_MAT2x4 = 0x8F4A
|
||||
DOUBLE_MAT3x2 = 0x8F4B
|
||||
DOUBLE_MAT3x4 = 0x8F4C
|
||||
DOUBLE_MAT4x2 = 0x8F4D
|
||||
DOUBLE_MAT4x3 = 0x8F4E
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #90
|
||||
ARB_shader_subroutine enum:
|
||||
ACTIVE_SUBROUTINES = 0x8DE5
|
||||
ACTIVE_SUBROUTINE_UNIFORMS = 0x8DE6
|
||||
ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS = 0x8E47
|
||||
ACTIVE_SUBROUTINE_MAX_LENGTH = 0x8E48
|
||||
ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH = 0x8E49
|
||||
MAX_SUBROUTINES = 0x8DE7
|
||||
MAX_SUBROUTINE_UNIFORM_LOCATIONS = 0x8DE8
|
||||
NUM_COMPATIBLE_SUBROUTINES = 0x8E4A
|
||||
COMPATIBLE_SUBROUTINES = 0x8E4B
|
||||
use ARB_uniform_buffer_object UNIFORM_SIZE
|
||||
use ARB_uniform_buffer_object UNIFORM_NAME_LENGTH
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #91
|
||||
ARB_tessellation_shader enum:
|
||||
PATCHES = 0x000E
|
||||
PATCH_VERTICES = 0x8E72
|
||||
PATCH_DEFAULT_INNER_LEVEL = 0x8E73
|
||||
PATCH_DEFAULT_OUTER_LEVEL = 0x8E74
|
||||
TESS_CONTROL_OUTPUT_VERTICES = 0x8E75
|
||||
TESS_GEN_MODE = 0x8E76
|
||||
TESS_GEN_SPACING = 0x8E77
|
||||
TESS_GEN_VERTEX_ORDER = 0x8E78
|
||||
TESS_GEN_POINT_MODE = 0x8E79
|
||||
use VERSION_1_1 TRIANGLES
|
||||
use VERSION_1_1 QUADS
|
||||
ISOLINES = 0x8E7A
|
||||
use VERSION_1_1 EQUAL
|
||||
FRACTIONAL_ODD = 0x8E7B
|
||||
FRACTIONAL_EVEN = 0x8E7C
|
||||
use VERSION_1_1 CCW
|
||||
use VERSION_1_1 CW
|
||||
MAX_PATCH_VERTICES = 0x8E7D
|
||||
MAX_TESS_GEN_LEVEL = 0x8E7E
|
||||
MAX_TESS_CONTROL_UNIFORM_COMPONENTS = 0x8E7F
|
||||
MAX_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E80
|
||||
MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS = 0x8E81
|
||||
MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS = 0x8E82
|
||||
MAX_TESS_CONTROL_OUTPUT_COMPONENTS = 0x8E83
|
||||
MAX_TESS_PATCH_COMPONENTS = 0x8E84
|
||||
MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS = 0x8E85
|
||||
MAX_TESS_EVALUATION_OUTPUT_COMPONENTS = 0x8E86
|
||||
MAX_TESS_CONTROL_UNIFORM_BLOCKS = 0x8E89
|
||||
MAX_TESS_EVALUATION_UNIFORM_BLOCKS = 0x8E8A
|
||||
MAX_TESS_CONTROL_INPUT_COMPONENTS = 0x886C
|
||||
MAX_TESS_EVALUATION_INPUT_COMPONENTS = 0x886D
|
||||
MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS = 0x8E1E
|
||||
MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E1F
|
||||
UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER = 0x84F0
|
||||
UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x84F1
|
||||
TESS_EVALUATION_SHADER = 0x8E87
|
||||
TESS_CONTROL_SHADER = 0x8E88
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #92
|
||||
ARB_texture_buffer_object_rgb32 enum:
|
||||
use VERSION_3_0 RGB32F
|
||||
use VERSION_3_0 RGB32UI
|
||||
use VERSION_3_0 RGB32I
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #93
|
||||
ARB_transform_feedback2 enum:
|
||||
TRANSFORM_FEEDBACK = 0x8E22
|
||||
TRANSFORM_FEEDBACK_BUFFER_PAUSED = 0x8E23
|
||||
TRANSFORM_FEEDBACK_BUFFER_ACTIVE = 0x8E24
|
||||
TRANSFORM_FEEDBACK_BINDING = 0x8E25
|
||||
|
||||
###############################################################################
|
||||
|
||||
# ARB Extension #94
|
||||
ARB_transform_feedback3 enum:
|
||||
MAX_TRANSFORM_FEEDBACK_BUFFERS = 0x8E70
|
||||
MAX_VERTEX_STREAMS = 0x8E71
|
||||
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# non-ARB extensions follow, in registry order
|
||||
|
|
@ -5360,7 +5681,10 @@ NV_vertex_program3 enum:
|
|||
|
||||
# Extension #307 - GLX_SGIX_hyperpipe
|
||||
# Extension #308 - GLX_MESA_agp_offset
|
||||
|
||||
# Extension #309 - GL_EXT_texture_compression_dxt1 (OpenGL ES only, subset of _s3tc version)
|
||||
# use EXT_texture_compression_s3tc COMPRESSED_RGB_S3TC_DXT1_EXT
|
||||
# use EXT_texture_compression_s3tc COMPRESSED_RGBA_S3TC_DXT1_EXT
|
||||
|
||||
###############################################################################
|
||||
|
||||
|
|
@ -6193,3 +6517,26 @@ NV_vertex_buffer_unified_memory enum:
|
|||
# No new tokens
|
||||
# Extension #381
|
||||
NV_texture_barrier enum:
|
||||
|
||||
###############################################################################
|
||||
|
||||
# No new tokens
|
||||
# Extension #382
|
||||
AMD_shader_stencil_export enum:
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #383
|
||||
AMD_seamless_cubemap_per_texture enum:
|
||||
use ARB_seamless_cube_map TEXTURE_CUBE_MAP_SEAMLESS_ARB
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #384 - GLX_INTEL_swap_event
|
||||
|
||||
###############################################################################
|
||||
|
||||
# No new tokens
|
||||
# Extension #385
|
||||
AMD_conservative_depth enum:
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -284,10 +284,15 @@ Half16NV,*,*, GLhalfNV,*,*
|
|||
PixelDataRangeTargetNV,*,*, GLenum,*,*
|
||||
# Generic types for as-yet-unspecified enums
|
||||
TypeEnum,*,*, GLenum,*,*
|
||||
GLbitfield,*,*, GLbitfield,*,*
|
||||
GLenum,*,*, GLenum,*,*
|
||||
Int64,*,*, GLint64,*,*
|
||||
UInt64,*,*, GLuint64,*,*
|
||||
# Object handle & data pointers
|
||||
handleARB,*,*, GLhandleARB,*,*
|
||||
charARB,*,*, GLcharARB,*,*
|
||||
charPointerARB,*,*, GLcharARB*,*,*
|
||||
sync,*,*, GLsync,*,*,
|
||||
# EXT_timer_query
|
||||
Int64EXT,*,*, GLint64EXT,*,*
|
||||
UInt64EXT,*,*, GLuint64EXT,*,*
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
# Copyright (C) 1991-2005 Silicon Graphics, Inc. All Rights Reserved.
|
||||
# Copyright (c) 1991-2005 Silicon Graphics, Inc. All Rights Reserved.
|
||||
# Copyright (c) 2006-2010 The Khronos Group, Inc.
|
||||
#
|
||||
# This document is licensed under the SGI Free Software B License Version
|
||||
# 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
|
||||
#
|
||||
# $Revision: 10796 $ on $Date: 2010-03-19 17:31:10 -0700 (Fri, 19 Mar 2010) $
|
||||
|
||||
required-props:
|
||||
param: retval retained
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
# Copyright (C) 1991-2005 Silicon Graphics, Inc. All Rights Reserved.
|
||||
# Copyright (c) 1991-2005 Silicon Graphics, Inc. All Rights Reserved.
|
||||
# Copyright (c) 2006-2010 The Khronos Group, Inc.
|
||||
#
|
||||
# This document is licensed under the SGI Free Software B License Version
|
||||
# 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
|
||||
#
|
||||
# $Revision: 10796 $ on $Date: 2010-03-19 17:31:10 -0700 (Fri, 19 Mar 2010) $
|
||||
|
||||
# This is the GLX enumerant registry.
|
||||
#
|
||||
|
|
@ -84,7 +87,7 @@ GLXSyncType enum:
|
|||
GLXEventMask enum:
|
||||
PBUFFER_CLOBBER_MASK = 0x08000000 # SelectEvent mask
|
||||
BUFFER_CLOBBER_MASK_SGIX = 0x08000000 # SelectEventSGIX mask
|
||||
# INTEL_future_use = 0x04000000 # SelectEvent mask (for GLX_INTEL_swap_event)
|
||||
BUFFER_SWAP_COMPLETE_INTEL_MASK = 0x04000000 # SelectEvent mask (for GLX_INTEL_swap_event)
|
||||
|
||||
GLXPbufferClobberMask enum:
|
||||
FRONT_LEFT_BUFFER_BIT = 0x00000001 # PbufferClobberEvent mask
|
||||
|
|
@ -390,9 +393,12 @@ SUN_future_use: 0x8170-0x817F
|
|||
|
||||
# INTEL: 0x8180 - 0x818F
|
||||
|
||||
# INTEL_swap_event: 0x8180-??? (in process, see Khronos bug 5752)
|
||||
# INTEL_swap_event: 0x8180-0x8182
|
||||
# EXCHANGE_COMPLETE_INTEL = 0x8180
|
||||
# COPY_COMPLETE_INTEL = 0x8181
|
||||
# FLIP_COMPLETE_INTEL = 0x8182
|
||||
|
||||
INTEL_future_use: 0x8180-0x818F
|
||||
INTEL_future_use: 0x8183-0x818F
|
||||
|
||||
###############################################################################
|
||||
### Please remember that new GLX enum allocations must be obtained by request
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
# Copyright (C) 1991-2005 Silicon Graphics, Inc. All Rights Reserved.
|
||||
# Copyright (c) 1991-2005 Silicon Graphics, Inc. All Rights Reserved.
|
||||
# Copyright (c) 2006-2010 The Khronos Group, Inc.
|
||||
#
|
||||
# This document is licensed under the SGI Free Software B License Version
|
||||
# 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
|
||||
#
|
||||
# $Revision: 10796 $ on $Date: 2010-03-19 17:31:10 -0700 (Fri, 19 Mar 2010) $
|
||||
|
||||
# List of GLX enumerants for glxext.h header
|
||||
#
|
||||
|
|
@ -22,9 +25,9 @@
|
|||
|
||||
passthru:
|
||||
passthru: /* Header file version number, required by OpenGL ABI for Linux */
|
||||
passthru: /* glxext.h last updated 2009/10/08 */
|
||||
passthru: /* glxext.h last updated 2010/02/10 */
|
||||
passthru: /* Current version at http://www.opengl.org/registry/ */
|
||||
passthru: #define GLX_GLXEXT_VERSION 25
|
||||
passthru: #define GLX_GLXEXT_VERSION 27
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
|
|
@ -501,3 +504,12 @@ EXT_swap_control enum:
|
|||
# No new tokens
|
||||
# Extension #376
|
||||
NV_copy_image enum:
|
||||
|
||||
###############################################################################
|
||||
|
||||
# Extension #384
|
||||
INTEL_swap_event enum:
|
||||
BUFFER_SWAP_COMPLETE_INTEL_MASK = 0x04000000
|
||||
EXCHANGE_COMPLETE_INTEL = 0x8180
|
||||
COPY_COMPLETE_INTEL = 0x8181
|
||||
FLIP_COMPLETE_INTEL = 0x8182
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||
# glxext.spec file
|
||||
# DON'T REMOVE PREVIOUS LINE!!! libspec depends on it!
|
||||
#
|
||||
# Copyright (C) 1991-2005 Silicon Graphics, Inc. All Rights Reserved.
|
||||
# Copyright (c) 1991-2005 Silicon Graphics, Inc. All Rights Reserved.
|
||||
# Copyright (c) 2006-2010 The Khronos Group, Inc.
|
||||
#
|
||||
# This document is licensed under the SGI Free Software B License Version
|
||||
# 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
|
||||
#
|
||||
# $Revision: 10796 $ on $Date: 2010-03-19 17:31:10 -0700 (Fri, 19 Mar 2010) $
|
||||
|
||||
required-props:
|
||||
param: retval retained
|
||||
|
|
@ -1289,7 +1292,7 @@ SwapIntervalEXT(dpy, drawable, interval)
|
|||
###############################################################################
|
||||
#
|
||||
# Extension #376
|
||||
# GLX_NV_copy_image commands
|
||||
# NV_copy_image commands
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
|
|
@ -1316,3 +1319,12 @@ CopyImageSubDataNV(dpy, srcCtx, srcName, srcTarget, srcLevel, srcX, srcY, srcZ,
|
|||
category NV_copy_image
|
||||
glxflags client-handcode server-handcode
|
||||
|
||||
###############################################################################
|
||||
#
|
||||
# Extension #384
|
||||
# INTEL_swap_event commands
|
||||
#
|
||||
###############################################################################
|
||||
|
||||
# (none)
|
||||
newcategory: INTEL_swap_event
|
||||
|
|
|
|||
4
src/glx/apple/specs/update.sh
Executable file
4
src/glx/apple/specs/update.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
for f in enum.spec enumext.spec gl.spec gl.tm glx.spec glxenum.spec glxenumext.spec glxext.spec ; do
|
||||
curl -LO http://www.opengl.org/registry/api/$f
|
||||
done
|
||||
|
||||
Loading…
Add table
Reference in a new issue