diff options
author | David Schleef <ds@schleef.org> | 2007-12-29 00:37:41 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2007-12-29 00:37:41 +0000 |
commit | 9c52a9cd0993b34d0cf02a8fea4fd39b4e8609c0 (patch) | |
tree | c0c10a8f3bc5e6b2287a3b01944dfdc029b603fb /sys/glsink/glextensions.c | |
parent | 07e3e6e2bd4c69380aeab3a0517ed0a0175d1964 (diff) | |
download | gst-plugins-bad-9c52a9cd0993b34d0cf02a8fea4fd39b4e8609c0.tar.gz gst-plugins-bad-9c52a9cd0993b34d0cf02a8fea4fd39b4e8609c0.tar.bz2 gst-plugins-bad-9c52a9cd0993b34d0cf02a8fea4fd39b4e8609c0.zip |
Major cleanup of code. Convert glupload to BaseTransform.
Original commit message from CVS:
* configure.ac:
* sys/glsink/glextensions.c:
* sys/glsink/glextensions.h:
* sys/glsink/glimagesink.c:
* sys/glsink/glimagesink.h:
* sys/glsink/gstglbuffer.c:
* sys/glsink/gstglbuffer.h:
* sys/glsink/gstglconvert.c:
* sys/glsink/gstgldisplay.c:
* sys/glsink/gstgldisplay.h:
* sys/glsink/gstgldownload.c:
* sys/glsink/gstglfilter.c:
* sys/glsink/gstglfilter.h:
* sys/glsink/gstglfilterexample.c:
* sys/glsink/gstgltestsrc.c:
* sys/glsink/gstglupload.c:
Major cleanup of code. Convert glupload to BaseTransform.
Handle caps negotiation mostly correctly. Reenable in build.
Diffstat (limited to 'sys/glsink/glextensions.c')
-rw-r--r-- | sys/glsink/glextensions.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/glsink/glextensions.c b/sys/glsink/glextensions.c index 6926a970..ccf55726 100644 --- a/sys/glsink/glextensions.c +++ b/sys/glsink/glextensions.c @@ -49,6 +49,7 @@ DEFINE_FUNC_RET (glCreateShaderObjectARB, GLhandleARB, (GLenum shaderType), (shaderType)); #if 0 typedef GLhandleARB type_glCreateShaderObjectARB (GLenum shaderType); + GLhandleARB glCreateShaderObjectARB (GLenum shaderType) { @@ -181,3 +182,8 @@ DEFINE_FUNC (glGetFramebufferAttachmentParameterivEXT, (GLenum target, DEFINE_FUNC (glGenerateMipmapEXT, (GLenum target), (target)); DEFINE_FUNC (glWindowPos2iARB, (GLint x, GLint y), (x, y)); + +DEFINE_FUNC (glGenProgramsARB, (GLsizei a, GLuint * b), (a, b)); +DEFINE_FUNC (glBindProgramARB, (GLenum a, GLuint b), (a, b)); +DEFINE_FUNC (glProgramStringARB, + (GLenum a, GLenum b, GLsizei c, const GLvoid * d), (a, b, c, d)); |