]> git.tdb.fi Git - libs/gl.git/blobdiff - extensions/oes_required_internalformat.glext
Make extensions compatible with OpenGL ES
[libs/gl.git] / extensions / oes_required_internalformat.glext
diff --git a/extensions/oes_required_internalformat.glext b/extensions/oes_required_internalformat.glext
new file mode 100644 (file)
index 0000000..bda4b00
--- /dev/null
@@ -0,0 +1,16 @@
+extension gles2.OES_required_internalformat
+# Some formats were not promoted to core in OpenGL ES
+ignore GL_ALPHA8_OES
+ignore GL_LUMINANCE4_ALPHA4_OES
+ignore GL_LUMINANCE8_ALPHA8_OES
+ignore GL_LUMINANCE8_OES
+ignore GL_RGB10_EXT
+# 32-bit fixed point depth was not promoted to core in OpenGL ES; prefer
+# GL_DEPTH_COMPONENT32F from ARB_depth_buffer_float
+optional GL_DEPTH_COMPONENT32_OES
+# 5/6/5-bit RGB internal format additionally requires ARB_ES2_compatibility on
+# desktop OpenGL
+optional GL_RGB565_OES
+# Combined depth/stencil format additionally requires EXT_packed_depth_stencil
+# on desktop OpenGL
+optional GL_DEPTH24_STENCIL8_OES