1 <?xml version="1.0" encoding="UTF-8"?>
3 <!-- The gl.xml file does not contain enough information to make all the
4 connections between extension and core functions correctly. This file
5 attempts to rectify these problems. -->
8 <!-- The EXT versions allow user-generated names; core versions don't.
9 Since we use GL-generated names, it's safe to alias them. -->
11 <proto><name>glBindFramebufferEXT</name></proto>
12 <alias name="glBindFramebuffer"/>
15 <proto><name>glBindRenderbufferEXT</name></proto>
16 <alias name="glBindRenderbuffer"/>
19 <!-- ARB_shader_objects function names got changed when promoted to
20 core. The ARB versions can be used to operate on either shaders or
21 programs, but we use the core names so this is safe. -->
23 <proto><name>glDeleteObjectARB</name></proto>
24 <alias name="glDeleteShader"/>
25 <alias name="glDeleteProgram"/>
28 <proto><name>glGetInfoLogARB</name></proto>
29 <alias name="glGetShaderInfoLog"/>
30 <alias name="glGetProgramInfoLog"/>
33 <proto><name>glGetObjectParameterivARB</name></proto>
34 <alias name="glGetShaderiv"/>
35 <alias name="glGetProgramiv"/>
38 <!-- This alias is missing because the ARB version returns GLhandleARB,
39 which is typedef'd as a pointer on OS X. It could cause problems on
40 64-bit macs with shaders only available through the extension. -->
42 <proto><name>glGetAttachedObjectsARB</name></proto>
43 <alias name="glGetAttachedShaders"/>
46 <!-- The APPLE version allows user-generated names. -->
48 <proto><name>glBindVertexArrayAPPLE</name></proto>
49 <alias name="glBindVertexArray"/>
54 <!-- ARB_shader_objects enum names got changed when promoted to core. -->
55 <enum value="0x8B80" name="GL_OBJECT_DELETE_STATUS_ARB" alias="GL_DELETE_STATUS"/>
56 <enum value="0x8B81" name="GL_OBJECT_COMPILE_STATUS_ARB" alias="GL_COMPILE_STATUS"/>
57 <enum value="0x8B82" name="GL_OBJECT_LINK_STATUS_ARB" alias="GL_LINK_STATUS"/>
58 <enum value="0x8B83" name="GL_OBJECT_VALIDATE_STATUS_ARB" alias="GL_VALIDATE_STATUS"/>
59 <enum value="0x8B84" name="GL_OBJECT_INFO_LOG_LENGTH_ARB" alias="GL_INFO_LOG_LENGTH"/>
60 <enum value="0x8B85" name="GL_OBJECT_ATTACHED_OBJECTS_ARB" alias="GL_ATTACHED_SHADERS"/>
61 <enum value="0x8B86" name="GL_OBJECT_ACTIVE_UNIFORMS_ARB" alias="GL_ACTIVE_UNIFORMS"/>
62 <enum value="0x8B87" name="GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB" alias="GL_ACTIVE_UNIFORM_MAX_LENGTH"/>
63 <enum value="0x8B88" name="GL_OBJECT_SHADER_SOURCE_LENGTH_ARB" alias="GL_SHADER_SOURCE_LENGTH"/>
64 <enum value="0x8B89" name="GL_OBJECT_ACTIVE_ATTRIBUTES_ARB" alias="GL_ACTIVE_ATTRIBUTES"/>
65 <enum value="0x8B8A" name="GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB" alias="GL_ACTIVE_ATTRIBUTE_MAX_LENGTH"/>
67 <!-- The name got changed but as far as I can tell they mean the same
69 <enum value="0x8CD4" name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT" alias="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER"/>
72 <feature api="gl" name="GL_VERSION_1_4" number="1.4">
74 <!-- All evidence points to this being promoted but it's not marked
76 <enum name="GL_BLEND_EQUATION"/>
81 <!-- Put GL_RED here for the benefit of OpenGL ES. -->
82 <extension name="GL_ARB_texture_rg" supported="gl|glcore">
88 <!-- And the remaining color components here. -->
89 <extension name="GL_ARB_texture_swizzle" supported="gl|glcore">
91 <enum name="GL_GREEN"/>
92 <enum name="GL_BLUE"/>
93 <enum name="GL_ALPHA"/>