]> git.tdb.fi Git - libs/gl.git/blobdiff - extensions/arb_vertex_buffer_object.glext
Make extensions compatible with OpenGL ES
[libs/gl.git] / extensions / arb_vertex_buffer_object.glext
index 16d804f3c806e8b16d415217923661f1d836e250..c08254cd959a7767c820ee05067f70c68f80f344 100644 (file)
@@ -1,5 +1,5 @@
 extension ARB_vertex_buffer_object
-# Fixed-function arrays are deprecated and we don't query the bindings
+# Queries for fixed-function array buffer bindings are deprecated
 ignore GL_COLOR_ARRAY_BUFFER_BINDING_ARB
 ignore GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB
 ignore GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB
@@ -9,3 +9,22 @@ ignore GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB
 ignore GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB
 ignore GL_VERTEX_ARRAY_BUFFER_BINDING_ARB
 ignore GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB
+# Buffer mapping has a separate extension on OpenGL ES; see OES_mapbuffer
+ignore glMapBufferARB
+ignore glUnmapBufferARB
+ignore GL_BUFFER_ACCESS_ARB
+ignore GL_BUFFER_MAPPED_ARB
+ignore GL_BUFFER_MAP_POINTER_ARB
+ignore glGetBufferPointervARB
+ignore GL_READ_ONLY_ARB
+ignore GL_WRITE_ONLY_ARB
+ignore GL_READ_WRITE_ARB
+# Buffer content readback is not supported on OpenGL ES
+ignore glGetBufferSubDataARB
+# OpenGL ES does not support copy and read usages before 3.0
+optional GL_DYNAMIC_COPY_ARB
+optional GL_DYNAMIC_READ_ARB
+optional GL_STATIC_COPY_ARB
+optional GL_STATIC_READ_ARB
+optional GL_STREAM_COPY_ARB
+optional GL_STREAM_READ_ARB