]> git.tdb.fi Git - libs/gl.git/blob - gl.msp.xml
Use an Options struct to process command line options in viewer
[libs/gl.git] / gl.msp.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <registry>
3     <!-- This file defines several fake extensions to facilitate detection
4     of certain core functionalities for which there's no official backport
5     extension. -->
6
7     <extensions>
8         <!-- OpenGL ES does not have glDrawBuffer. -->
9         <extension name="GL_MSP_buffer_control" supported="gl">
10             <require>
11                 <command name="glDrawBuffer" />
12                 <command name="glReadBuffer" />
13             </require>
14         </extension>
15
16         <!-- OpenGL ES does not have harwdare clipping. -->
17         <extension name="GL_MSP_clipping" supported="gl">
18             <require>
19                 <enum name="GL_MAX_CLIP_PLANES" />
20                 <enum name="GL_CLIP_PLANE0" />
21                 <enum name="GL_CLIP_PLANE1" />
22                 <enum name="GL_CLIP_PLANE2" />
23                 <enum name="GL_CLIP_PLANE3" />
24                 <enum name="GL_CLIP_PLANE4" />
25                 <enum name="GL_CLIP_PLANE5" />
26             </require>
27         </extension>
28
29         <!-- 1D textures are not available in OpenGL ES, but could conceivably
30         be added at a later date. -->
31         <extension name="GL_MSP_texture1D" supported="gl">
32             <require>
33                 <command name="glTexImage1D" />
34                 <command name="glTexSubImage1D" />
35                 <enum name="GL_TEXTURE_1D" />
36             </require>
37         </extension>
38
39         <!-- The core version of primitive restart has different semantics
40         from the NV extension but is not available as a backport extension. -->
41         <extension name="GL_MSP_primitive_restart" supported="gl">
42             <require>
43                 <enum name="GL_PRIMITIVE_RESTART" />
44                 <enum name="GL_PRIMITIVE_RESTART_INDEX" />
45                 <command name="glPrimitiveRestartIndex" />
46             </require>
47         </extension>
48
49         <extension name="GL_MSP_luminance_formats" supported="gl">
50             <require>
51                 <enum name="GL_LUMINANCE" />
52                 <enum name="GL_LUMINANCE_ALPHA" />
53                 <enum name="GL_LUMINANCE8" />
54                 <enum name="GL_LUMINANCE8_ALPHA8" />
55             </require>
56         </extension>
57     </extensions>
58 </registry>