]> git.tdb.fi Git - libs/gl.git/blob - gl.fixes.xml
Use a renderer in the viewer
[libs/gl.git] / gl.fixes.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <registry>
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. -->
6
7     <commands>
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. -->
10         <command>
11             <proto><name>glBindFramebufferEXT</name></proto>
12             <alias name="glBindFramebuffer" />
13         </command>
14         <command>
15             <proto><name>glBindRenderbufferEXT</name></proto>
16             <alias name="glBindRenderbuffer" />
17         </command>
18
19         <!-- ARB_shader_objects function names got changed when promoted to
20         core -->
21         <command>
22             <proto><name>glDeleteObjectARB</name></proto>
23             <alias name="glDeleteShader" />
24             <alias name="glDeleteProgram" />
25         </command>
26         <command>
27             <proto><name>glGetInfoLogARB</name></proto>
28             <alias name="glGetShaderInfoLog" />
29             <alias name="glGetProgramInfoLog" />
30         </command>
31         <command>
32             <proto><name>glGetObjectParameterivARB</name></proto>
33             <alias name="glGetShaderiv" />
34             <alias name="glGetProgramiv" />
35         </command>
36     </commands>
37
38     <feature api="gl" name="MSPGL_REMOVE">
39         <remove>
40             <!-- These have no counterparts in the core version of
41             ARB_shader_objects. -->
42             <command name="glGetHandleARB" />
43             <command name="glGetObjectParameterfvARB" />
44
45             <!-- Ignore this, as it comes from ARB_vertex_program and I'm not
46             sure if it works with ARB_shader_objects. -->
47             <command name="glIsProgramARB" />
48         </remove>
49     </feature>
50
51     <extensions>
52         <extension name="GL_ARB_uniform_buffer_object" supported="gl">
53             <require>
54                 <command name="glBindBufferRange" />
55                 <command name="glBindBufferBase" />
56             </require>
57         </extension>
58     </extensions>
59 </registry>