gl: OES_vertex_array_object is improperly implemented on PowerVR SGX 544MP
authorSebastian Dröge <sebastian@centricular.com>
Wed, 10 Jun 2015 09:42:06 +0000 (11:42 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 10 Jun 2015 11:31:16 +0000 (13:31 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=750185

gst-libs/gst/gl/gstglcontext.c

index eb3b7e6..5e6bc22 100644 (file)
@@ -1485,6 +1485,18 @@ gst_gl_context_fill_info (GstGLContext * context, GError ** error)
     goto failure;
   }
 
+  /* Does not implement OES_vertex_array_object properly, see
+   * https://bugzilla.gnome.org/show_bug.cgi?id=750185 */
+  if (g_strcmp0 ((const gchar *) gl->GetString (GL_VENDOR),
+          "Imagination Technologies") == 0
+      && g_strcmp0 ((const gchar *) gl->GetString (GL_RENDERER),
+          "PowerVR SGX 544MP") == 0) {
+    gl->GenVertexArrays = NULL;
+    gl->DeleteVertexArrays = NULL;
+    gl->BindVertexArray = NULL;
+    gl->IsVertexArray = NULL;
+  }
+
   return TRUE;
 
 failure: