<!-- 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>
</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>
+ </feature>
+
<extensions>
- <!-- Put GL_RED here for the benefit of OpenGL ES. -->
- <extension name="GL_ARB_texture_rg" supported="gl|glcore">
+ <extension name="GL_ARB_depth_texture" supported="gl">
<require>
- <enum name="GL_RED"/>
+ <!-- The base GL_DEPTH_COMPONENT format was introduced for
+ other purposes before it could be used for textures. -->
+ <enum name="GL_DEPTH_COMPONENT"/>
</require>
</extension>
- <!-- And the remaining color components here. -->
- <extension name="GL_ARB_texture_swizzle" supported="gl|glcore">
+ <extension name="GL_ARB_texture_rg" supported="gl|glcore">
<require>
- <enum name="GL_GREEN"/>
- <enum name="GL_BLUE"/>
- <enum name="GL_ALPHA"/>
+ <!-- GL_RED is mentioned in the extension spec. -->
+ <enum name="GL_RED"/>
</require>
</extension>
</extensions>