1 <?xml version="1.0" encoding="UTF-8"?>
3 <!-- This file defines several fake extensions to facilitate detection
4 of certain core functionalities for which there's no official backport
8 <!-- OpenGL ES does not have glDrawBuffer. -->
9 <extension name="GL_MSP_buffer_control" supported="gl">
11 <command name="glDrawBuffer" />
12 <command name="glReadBuffer" />
16 <!-- OpenGL ES does not have harwdare clipping. -->
17 <extension name="GL_MSP_clipping" supported="gl">
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" />
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">
33 <command name="glTexImage1D" />
34 <command name="glTexSubImage1D" />
35 <enum name="GL_TEXTURE_1D" />
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">
43 <enum name="GL_PRIMITIVE_RESTART" />
44 <enum name="GL_PRIMITIVE_RESTART_INDEX" />
45 <command name="glPrimitiveRestartIndex" />
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">
53 <command name="glClearBufferfi" />
54 <command name="glClearBufferfv" />
55 <command name="glClearBufferiv" />
56 <command name="glClearBufferuiv" />
60 <extension name="GL_MSP_luminance_formats" supported="gl">
62 <enum name="GL_LUMINANCE" />
63 <enum name="GL_LUMINANCE_ALPHA" />
64 <enum name="GL_LUMINANCE8" />
65 <enum name="GL_LUMINANCE8_ALPHA8" />