diff options
author | David Schleef <ds@schleef.org> | 2007-12-21 00:03:11 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2007-12-21 00:03:11 +0000 |
commit | bb4e1d10e99c206fdf0ca22a43ef20efa24236ef (patch) | |
tree | 5d99e25822404edf4c91fd1e96ee33be00cee66b /sys/glsink/glextensions.h | |
parent | 1bc2202132e729b40e002eb98520ee7b2a788149 (diff) | |
download | gst-plugins-bad-bb4e1d10e99c206fdf0ca22a43ef20efa24236ef.tar.gz gst-plugins-bad-bb4e1d10e99c206fdf0ca22a43ef20efa24236ef.tar.bz2 gst-plugins-bad-bb4e1d10e99c206fdf0ca22a43ef20efa24236ef.zip |
sys/glsink/: Switch to using framebuffer_objects instead of GLXPixmaps, because that's what my driver supports. Remo...
Original commit message from CVS:
* sys/glsink/Makefile.am:
* sys/glsink/glextensions.c:
* sys/glsink/glextensions.h:
* sys/glsink/glimagesink.c:
* sys/glsink/glimagesink.h:
* sys/glsink/glvideo.c:
* sys/glsink/glvideo.h:
* sys/glsink/gstglbuffer.c:
* sys/glsink/gstglbuffer.h:
* sys/glsink/gstgldownload.c:
* sys/glsink/gstglfilter.c:
* sys/glsink/gstglupload.c:
* sys/glsink/gstopengl.c:
Switch to using framebuffer_objects instead of GLXPixmaps,
because that's what my driver supports. Remove GLDrawable,
since GstGLDisplay now has a default drawable and context.
Diffstat (limited to 'sys/glsink/glextensions.h')
-rw-r--r-- | sys/glsink/glextensions.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sys/glsink/glextensions.h b/sys/glsink/glextensions.h index fd3f8ea7..48161c49 100644 --- a/sys/glsink/glextensions.h +++ b/sys/glsink/glextensions.h @@ -29,6 +29,30 @@ Bool glXWaitForSbcOML (Display *, GLXDrawable, int64_t, int64_t *, int64_t *, in int glXSwapIntervalSGI (int); int glXSwapIntervalMESA (unsigned int); +/* EXT_framebuffer_object */ +Bool glIsRenderbufferEXT (GLuint renderbuffer); +void glBindRenderbufferEXT (GLenum target, GLuint renderbuffer); +void glDeleteRenderbuffersEXT (GLsizei n, GLuint *renderbuffers); +void glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers); +void glRenderbufferStorageEXT (GLenum target, GLenum internalformat, + GLsizei width, GLsizei height); +void glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params); +Bool glIsFramebufferEXT (GLuint framebuffer); +void glBindFramebufferEXT (GLenum target, GLuint framebuffer); +void glDeleteFramebuffersEXT (GLsizei n, GLuint *framebuffers); +void glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers); +GLenum glCheckFramebufferStatusEXT (GLenum target); +void glFramebufferTexture1DEXT (GLenum target, GLenum attachment, + GLenum textarget, GLuint texture, GLint level); +void glFramebufferTexture2DEXT (GLenum target, GLenum attachment, + GLenum textarget, GLuint texture, GLint level); +void glFramebufferTexture3DEXT (GLenum target, GLenum attachment, + GLenum textarget, GLuint texture, GLint level, GLint zoffset); +void glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, + GLenum renderbuffertarget, GLuint renderbuffer); +void glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum pname, + GLint *params); +void glGenerateMipmapEXT (GLenum target); #endif |