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
22 <proto><name>glDeleteObjectARB</name></proto>
23 <alias name="glDeleteShader" />
24 <alias name="glDeleteProgram" />
27 <proto><name>glGetInfoLogARB</name></proto>
28 <alias name="glGetShaderInfoLog" />
29 <alias name="glGetProgramInfoLog" />
32 <proto><name>glGetObjectParameterivARB</name></proto>
33 <alias name="glGetShaderiv" />
34 <alias name="glGetProgramiv" />
37 <!-- This alias is missing because the ARB version returns GLhandleARB,
38 which is typedef'd as a pointer on OS X. It could cause problems on
39 64-bit macs with shaders only available through the extension. -->
41 <proto><name>glGetAttachedObjectsARB</name></proto>
42 <alias name="glGetAttachedShaders" />
47 <!-- These error codes weren't promoted to core with the rest of
48 EXT_framebuffer_object. There's no harm in taking them in since
49 they're not passed to GL at any point. -->
50 <enum value="0x8CD9" name="GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS"/>
51 <enum value="0x8CDA" name="GL_FRAMEBUFFER_INCOMPLETE_FORMATS"/>
54 <feature api="gl" name="MSPGL">
56 <enum name="GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS" />
57 <enum name="GL_FRAMEBUFFER_INCOMPLETE_FORMATS" />
61 <feature api="gl" name="MSPGL_REMOVE">
63 <!-- These have no counterparts in the core version of
64 ARB_shader_objects. -->
65 <command name="glGetHandleARB" />
66 <command name="glGetObjectParameterfvARB" />
67 <enum name="GL_PROGRAM_OBJECT_ARB" />
68 <enum name="GL_SHADER_OBJECT_ARB" />
69 <enum name="GL_OBJECT_TYPE_ARB" />
71 <!-- Ignore this, as it comes from ARB_vertex_program and I'm not
72 sure if it works with ARB_shader_objects. -->
73 <command name="glIsProgramARB" />
78 <!-- Some functions mentioned in GL_ARB_uniform_buffer_object
79 specification are missing from gl.xml. -->
80 <extension name="GL_ARB_uniform_buffer_object" supported="gl|glcore">
82 <command name="glBindBufferRange" />
83 <command name="glBindBufferBase" />