diff options
author | David Schleef <ds@schleef.org> | 2007-12-27 04:15:26 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2007-12-27 04:15:26 +0000 |
commit | 2b704cae584bb3f0749389d57e52dddac32ab89f (patch) | |
tree | 0dba25d1af8c1c1b4abbe2a898ce4b4ea9e18d3f /sys/glsink/gltestsrc.c | |
parent | 3b15f24af01272a011b9e8d9df500a7c62eb496d (diff) | |
download | gst-plugins-bad-2b704cae584bb3f0749389d57e52dddac32ab89f.tar.gz gst-plugins-bad-2b704cae584bb3f0749389d57e52dddac32ab89f.tar.bz2 gst-plugins-bad-2b704cae584bb3f0749389d57e52dddac32ab89f.zip |
sys/glsink/: Convert gldownload to BaseTransform. Make glfilterexample visually interesting. Add support for variou...
Original commit message from CVS:
* sys/glsink/gltestsrc.c:
* sys/glsink/gstglbuffer.c:
* sys/glsink/gstglbuffer.h:
* sys/glsink/gstgldownload.c:
* sys/glsink/gstglfilter.c:
* sys/glsink/gstglfilterexample.c:
* sys/glsink/gstgltestsrc.c:
* sys/glsink/gstglupload.c:
Convert gldownload to BaseTransform. Make glfilterexample
visually interesting. Add support for various formats to
downloading. Fix a few places where we leak GL state to
other elements (bad, but hard to prevent).
Diffstat (limited to 'sys/glsink/gltestsrc.c')
-rw-r--r-- | sys/glsink/gltestsrc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/glsink/gltestsrc.c b/sys/glsink/gltestsrc.c index c6e79617..05750f73 100644 --- a/sys/glsink/gltestsrc.c +++ b/sys/glsink/gltestsrc.c @@ -91,6 +91,9 @@ gst_gl_test_src_smpte (GstGLTestSrc * v, GstGLBuffer * buffer, int w, int h) glClearColor (0.0, 0.0, 0.0, 1.0); glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); + glDisable (GL_CULL_FACE); + glDisable (GL_TEXTURE_RECTANGLE_ARB); + glMatrixMode (GL_PROJECTION); glLoadIdentity (); |