- <feature api="gl" name="MSPGL_REMOVE">
- <remove>
- <!-- These have no counterparts in the core version of
- ARB_shader_objects. -->
- <command name="glGetHandleARB" />
- <command name="glGetObjectParameterfvARB" />
-
- <!-- Ignore this, as it comes from ARB_vertex_program and I'm not
- sure if it works with ARB_shader_objects. -->
- <command name="glIsProgramARB" />
- </remove>
+ <enums>
+ <!-- ARB_shader_objects enum names got changed when promoted to core. -->
+ <enum value="0x8B80" name="GL_OBJECT_DELETE_STATUS_ARB" alias="GL_DELETE_STATUS"/>
+ <enum value="0x8B81" name="GL_OBJECT_COMPILE_STATUS_ARB" alias="GL_COMPILE_STATUS"/>
+ <enum value="0x8B82" name="GL_OBJECT_LINK_STATUS_ARB" alias="GL_LINK_STATUS"/>
+ <enum value="0x8B83" name="GL_OBJECT_VALIDATE_STATUS_ARB" alias="GL_VALIDATE_STATUS"/>
+ <enum value="0x8B84" name="GL_OBJECT_INFO_LOG_LENGTH_ARB" alias="GL_INFO_LOG_LENGTH"/>
+ <enum value="0x8B85" name="GL_OBJECT_ATTACHED_OBJECTS_ARB" alias="GL_ATTACHED_SHADERS"/>
+ <enum value="0x8B86" name="GL_OBJECT_ACTIVE_UNIFORMS_ARB" alias="GL_ACTIVE_UNIFORMS"/>
+ <enum value="0x8B87" name="GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB" alias="GL_ACTIVE_UNIFORM_MAX_LENGTH"/>
+ <enum value="0x8B88" name="GL_OBJECT_SHADER_SOURCE_LENGTH_ARB" alias="GL_SHADER_SOURCE_LENGTH"/>
+ <enum value="0x8B89" name="GL_OBJECT_ACTIVE_ATTRIBUTES_ARB" alias="GL_ACTIVE_ATTRIBUTES"/>
+ <enum value="0x8B8A" name="GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB" alias="GL_ACTIVE_ATTRIBUTE_MAX_LENGTH"/>
+
+ <!-- The name got changed but as far as I can tell they mean the same
+ thing. -->
+ <enum value="0x8CD4" name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT" alias="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER"/>
+
+ <!-- Add an alias to improve desktop OpenGL compatibility even though
+ this was not promoted to core in OpenGL ES. -->
+ <enum value="0x81A7" name="GL_DEPTH_COMPONENT32_OES" alias="GL_DEPTH_COMPONENT32"/>
+ </enums>
+
+ <feature api="gl" name="GL_VERSION_1_4" number="1.4">
+ <require>
+ <!-- All evidence points to this being promoted but it's not marked
+ as such. -->
+ <enum name="GL_BLEND_EQUATION"/>
+ </require>
+ </feature>
+
+ <feature api="gles2">
+ <require>
+ <!-- Annotate support for certain things in OpenGL ES. Don't set
+ version because they are only available through extensions. -->
+ <enum name="GL_DEPTH_COMPONENT32"/>
+ <enum name="GL_BUFFER_ACCESS"/>
+ <command name="glBindFragDataLocation"/>
+ <command name="glMapBuffer"/>
+ </require>