GNOME Bugzilla – Bug 751228
texParameterf missing?
Last modified: 2015-06-23 14:52:41 UTC
in the opengl support in bad-plugins, the glTexParameterf call is not available. glTexParameteri, glTexParameteriv, and glTexParameterfv are all available. is there some particular reason this call was not exposed, or is this just an oversight? thanks
No reason AFAIK, want to provide a patch to add it?
i'm not currently enlisted as a gstreamer developer but will get on that. in the meantime, the change is simple. in gst-plugins-bad/gst-libs/gl/glprototypes/base.h, add the following function declaration at line 181 (or earlier if you are not concerned about table reordering) GST_GL_EXT_FUNCTION (void, TexParameterf, (GLenum target, GLenum pname, GLfloat param)) i've been building with this for 3 days and seems to work fine.
You don't have to get enlisted anywhere, if you provide a patch here in this bug report I'll merge it :)
Created attachment 305885 [details] [review] texparameterf added to gst-libs/gst/gl/glprototypes/base.h Missing TexParameterf entry point added to base.h
Comment on attachment 305885 [details] [review] texparameterf added to gst-libs/gst/gl/glprototypes/base.h That's not really a patch by I merged it now anyway :) For the future, do your changes, git commit them locally and then use git format-patch to get a patch file.
commit 1ece34af2cda3cfe2bbd2d69e6fbf6bea696b098 Author: John Ludwig <john@theludwigs.com> Date: Tue Jun 23 10:31:44 2015 +0200 gl: Include texParameterf in the GL function table https://bugzilla.gnome.org/show_bug.cgi?id=751228
thanks for taking the fix, and thanks for the patch tutorial, i'm a patch noob! very much appreciate all the work you do...