]> git.tdb.fi Git - libs/gl.git/blob - gl.msp.xml
Appease the compiler with some extra copy-ctor's and operator='s
[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         <extension name="GL_MSP_legacy_features" supported="gl">
9             <require>
10                 <command name="glEnableClientState" />
11                 <command name="glDisableClientState" />
12
13                 <enum name="GL_QUADS" />
14                 <enum name="GL_QUAD_STRIP" />
15                 <enum name="GL_LUMINANCE8" />
16                 <enum name="GL_LUMINANCE8_ALPHA8" />
17
18                 <enum name="GL_AMBIENT" />
19                 <enum name="GL_DIFFUSE" />
20                 <enum name="GL_SPECULAR" />
21                 <enum name="GL_EMISSION" />
22                 <enum name="GL_SHININESS" />
23                 <enum name="GL_LIGHTING" />
24                 <enum name="GL_LIGHT_MODEL_AMBIENT" />
25                 <enum name="GL_LIGHT0" />
26                 <enum name="GL_MAX_LIGHTS" />
27                 <enum name="GL_POSITION" />
28                 <enum name="GL_SPOT_DIRECTION" />
29                 <enum name="GL_SPOT_EXPONENT" />
30                 <enum name="GL_SPOT_CUTOFF" />
31                 <enum name="GL_CONSTANT_ATTENUATION" />
32                 <enum name="GL_LINEAR_ATTENUATION" />
33                 <enum name="GL_QUADRATIC_ATTENUATION" />
34                 <command name="glLightModelfv" />
35                 <command name="glLightf" />
36                 <command name="glLightfv" />
37                 <command name="glMaterialf" />
38                 <command name="glMaterialfv" />
39
40                 <enum name="GL_FOG" />
41                 <enum name="GL_FOG_MODE" />
42                 <enum name="GL_FOG_DENSITY" />
43                 <enum name="GL_FOG_COLOR" />
44                 <enum name="GL_EXP" />
45                 <command name="glFogi" />
46                 <command name="glFogf" />
47                 <command name="glFogfv" />
48
49                 <enum name="GL_MODELVIEW" />
50                 <enum name="GL_PROJECTION" />
51                 <command name="glMatrixMode" />
52                 <command name="glLoadMatrixf" />
53
54                 <!-- Can't reuse EXT_vertex_array for these, as the functions
55                 defined there have different signatures. -->
56                 <enum name="GL_VERTEX_ARRAY" />
57                 <enum name="GL_NORMAL_ARRAY" />
58                 <enum name="GL_COLOR_ARRAY" />
59                 <enum name="GL_TEXTURE_COORD_ARRAY" />
60                 <command name="glVertexPointer" />
61                 <command name="glNormalPointer" />
62                 <command name="glColorPointer" />
63                 <command name="glTexCoordPointer" />
64
65                 <command name="glClipPlane" />
66             </require>
67         </extension>
68
69         <!-- OpenGL ES does not have glDrawBuffer. -->
70         <extension name="GL_MSP_buffer_control" supported="gl">
71             <require>
72                 <command name="glDrawBuffer" />
73                 <command name="glReadBuffer" />
74             </require>
75         </extension>
76
77         <!-- OpenGL ES does not have harwdare clipping. -->
78         <extension name="GL_MSP_clipping" supported="gl">
79             <require>
80                 <enum name="GL_MAX_CLIP_PLANES" />
81                 <enum name="GL_CLIP_PLANE0" />
82                 <enum name="GL_CLIP_PLANE1" />
83                 <enum name="GL_CLIP_PLANE2" />
84                 <enum name="GL_CLIP_PLANE3" />
85                 <enum name="GL_CLIP_PLANE4" />
86                 <enum name="GL_CLIP_PLANE5" />
87             </require>
88         </extension>
89
90         <!-- 1D textures are not available in OpenGL ES, but could conceivably
91         be added at a later date. -->
92         <extension name="GL_MSP_texture1D" supported="gl">
93             <require>
94                 <command name="glTexImage1D" />
95                 <command name="glTexSubImage1D" />
96                 <enum name="GL_TEXTURE_1D" />
97             </require>
98         </extension>
99
100         <!-- The core version of primitive restart has different semantics
101         from the NV extension but is not available as a backport extension. -->
102         <extension name="GL_MSP_primitive_restart" supported="gl">
103             <require>
104                 <enum name="GL_PRIMITIVE_RESTART" />
105                 <enum name="GL_PRIMITIVE_RESTART_INDEX" />
106                 <command name="glPrimitiveRestartIndex" />
107             </require>
108         </extension>
109     </extensions>
110 </registry>