]> git.tdb.fi Git - libs/gl.git/blob - gl.msp.xml
Clean up includes and forward declarations for the core classes
[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         <!-- The targeted clear commands were introduced directly to OpenGL 3.0
50         without an extension. -->
51         <extension name="GL_MSP_clear_buffer" supported="gl">
52             <require>
53                 <command name="glClearBufferfi" />
54                 <command name="glClearBufferfv" />
55                 <command name="glClearBufferiv" />
56                 <command name="glClearBufferuiv" />
57             </require>
58         </extension>
59
60         <extension name="GL_MSP_luminance_formats" supported="gl">
61             <require>
62                 <enum name="GL_LUMINANCE" />
63                 <enum name="GL_LUMINANCE_ALPHA" />
64                 <enum name="GL_LUMINANCE8" />
65                 <enum name="GL_LUMINANCE8_ALPHA8" />
66             </require>
67         </extension>
68     </extensions>
69 </registry>