From 1a995d1676ee51845e04d77dc1b9bee69f829b70 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 10 Jun 2015 11:42:06 +0200 Subject: [PATCH] gl: OES_vertex_array_object is improperly implemented on PowerVR SGX 544MP https://bugzilla.gnome.org/show_bug.cgi?id=750185 --- gst-libs/gst/gl/gstglcontext.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c index eb3b7e6..5e6bc22 100644 --- a/gst-libs/gst/gl/gstglcontext.c +++ b/gst-libs/gst/gl/gstglcontext.c @@ -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: -- 2.7.4