diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-06-10 11:42:06 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-06-10 13:31:16 +0200 |
commit | e7ca427ddbe4e89dbfc1f0279798891d75af39df (patch) | |
tree | 7e61770506bbe3bb69224e13d4a040ddde68a3c3 /gst-libs/gst/gl/gstglcontext.c | |
parent | 6101fc57b8afac4f4e4aa742892f0d9c99d38a8c (diff) | |
download | gstreamer-plugins-bad-e7ca427ddbe4e89dbfc1f0279798891d75af39df.tar.gz |
gl: OES_vertex_array_object is improperly implemented on PowerVR SGX 544MP
https://bugzilla.gnome.org/show_bug.cgi?id=750185
Diffstat (limited to 'gst-libs/gst/gl/gstglcontext.c')
-rw-r--r-- | gst-libs/gst/gl/gstglcontext.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c index eb3b7e626..5e6bc2245 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: |