GNOME Bugzilla – Bug 742887
glprototypes : sync extension not loaded
Last modified: 2016-09-28 05:46:51 UTC
Created attachment 294486 [details] [review] misc patch to load sync extension sync.h didn't have any extension_suffixes/names ,makes extension not load at all. this misc patch load it (which is GL_ARB_sync,not sure if should try "EXT") both in GST_GL_API_OPENGL/GST_GL_API_OPENGL3 . or is this blocked temporary for test purpose ?
GL_ARB_sync depends on GL 3.1 and we currently don't have any way to limit checking extensions depending on the GL api version. With mesa if you create a legacy GL context, you get 3.0 and if we tried to load the sync extension (which succeeds in retreiving the function pointers) then use the sync functions when it's technically not supported mesa outputs a warning. The other option is to add GST_GL_API_OPENGL to the api list which will still require GL 3.2 in order to use the sync functions so all is well. Or implement core contexts for wgl.
We have core GL context support for wgl now so I think this is obselete now.