platform/upstream/gstreamer.git
10 years ago[426/906] multiply: fix a compilation error with Apple compiler
Vinson Lee [Sun, 25 Apr 2010 08:04:28 +0000 (10:04 +0200)]
[426/906] multiply: fix a compilation error with Apple compiler

Fix multiply_fragment_source to compile with Apple GLSL compiler.

https://bugzilla.gnome.org/show_bug.cgi?id=616748

10 years ago[425/906] twirl: get rid of polar coordinates conversion
Filippo Argiolas [Sat, 24 Apr 2010 19:11:35 +0000 (21:11 +0200)]
[425/906] twirl: get rid of polar coordinates conversion

Get rid of polar coordinates in the twirl effect. The same can be done
using a rotation matrix, saving alu instructions and, most of all,
avoiding the use of the evil atan() function (which uses IF operators).
Calculate rotation angle in a saner, understandable way.
Works on i915! (Hope it still works elsewhere too as I'm not able to
test at the moment)

10 years ago[424/906] tunnel: get rid of polar coordinates conversion
Filippo Argiolas [Sat, 24 Apr 2010 18:43:39 +0000 (20:43 +0200)]
[424/906] tunnel: get rid of polar coordinates conversion

Get rid of polar coordinates in the tunnel effect as the same can easily
be done just clamping the radius and multiplying.
Remove the evil atan() call that uses branching and a lot of unneeded alu
instructions. Now works on i915!

10 years ago[423/906] convolution: generate gaussian kernel on the fly
Filippo Argiolas [Fri, 23 Apr 2010 18:06:48 +0000 (20:06 +0200)]
[423/906] convolution: generate gaussian kernel on the fly

Generate a normalized gaussian kernel with given size and standard
deviation on the fly.
Remove "norm_const" uniform from convolution shaders and provide a
normalized kernel instead. Remove norm_offset uniform as it was always
zero, will reintroduce it if really needed in the future. Thanks to Eric
Anholt for suggesting it.
Save some ALU instruction calculating directly the coordinate for
texture lookup instead of summing an offset.
Still exceed maximum indirect texture lookups on i915, the only solution
I see is using a 3x3 kernel.

10 years ago[422/906] convolution: reduce the number of register used
Filippo Argiolas [Fri, 23 Apr 2010 15:49:45 +0000 (17:49 +0200)]
[422/906] convolution: reduce the number of register used

Reduce the number of register calculating texture lookup offset on the
fly. It was just a simple sequence, no need to store it in a array.
Fixes maximum number of registers exceeded error with i915. Still
exceed maximum indirect texture lookups and maximum ALU instructions.
Maybe we should gave up some blur goodness and use lightly more little
kernels.

10 years ago[421/906] convolution: don't check kernel[i] to be non zero
Filippo Argiolas [Fri, 23 Apr 2010 15:37:21 +0000 (17:37 +0200)]
[421/906] convolution: don't check kernel[i] to be non zero

Apparently saving up some texture lookup for zero kernel elements is
definitely not worth the use of branching. This way convolution
fragment programs also work where IF operator is not supported (tested
on i915 and nouveau). See also discussion on bug #615696.
Thanks to Eric Anholt for spotting this.

10 years ago[420/906] blur: use common shader sources
Filippo Argiolas [Fri, 23 Apr 2010 15:30:45 +0000 (17:30 +0200)]
[420/906] blur: use common shader sources

Port blur filter to use the common convolution shaders in
gstgleffectssources.c. This reduces code duplication and, incidentally,
the shaders in the common file were already updated to not use array
constructor and to not depend on #version 120.
First step towards bug #615696 fixing.

10 years ago[419/906] blur: remove horizontal flip
Filippo Argiolas [Fri, 23 Apr 2010 15:19:50 +0000 (17:19 +0200)]
[419/906] blur: remove horizontal flip

Apparently there was some stale horizontal flip function still there
from my summer of code experiments. Remove it.

10 years ago[418/906] effects: disable gst-indent in the sources
Filippo Argiolas [Fri, 23 Apr 2010 15:14:59 +0000 (17:14 +0200)]
[418/906] effects: disable gst-indent in the sources

Fix some crazy formatting caused by gst-indent previous runs and disable
the script for this file. The best would be to move shaders into
separate files and load them at runtime or hardcode them at compile
time.

10 years ago[417/906] glbumper: Use png_sig_cmp() instead of png_check_sig()
Руслан Ижбулатов [Wed, 31 Mar 2010 10:40:12 +0000 (12:40 +0200)]
[417/906] glbumper: Use png_sig_cmp() instead of png_check_sig()

Fixes bug #613186

10 years ago[416/906] gl: use gst_element_class_set_details_simple()
Tim-Philipp Müller [Wed, 24 Mar 2010 11:10:21 +0000 (11:10 +0000)]
[416/906] gl: use gst_element_class_set_details_simple()

Fixes #613371.

10 years ago[415/906] gstglwindow_win32: share opengl context in correct order
Nicholas Panayis [Tue, 9 Mar 2010 00:35:42 +0000 (01:35 +0100)]
[415/906] gstglwindow_win32: share opengl context in correct order

Allow to use the opengl context sharing feature if the original
context has been used already.
This is only possible on win32 with wglShareLists because on other
backends, the sharing is made when a context is created.
This new feature is only usefull when using external context
because gst-gl internally makes sure that the orginal context is not
already used when sharing it.

Fix bug #611067

10 years ago[414/906] glbumper/gldifferencematte/gloverlay: libpng 1.4.x compatible
David Hoyt [Tue, 9 Mar 2010 00:24:06 +0000 (01:24 +0100)]
[414/906] glbumper/gldifferencematte/gloverlay: libpng 1.4.x compatible

Fix bug #608643

10 years ago[413/906] Fix Windows compiler warning in test/examples/gtk/fxtest/pixbufdrop.c
Руслан Ижбулатов [Tue, 12 Jan 2010 15:32:39 +0000 (18:32 +0300)]
[413/906] Fix Windows compiler warning in test/examples/gtk/fxtest/pixbufdrop.c

10 years ago[412/906] Cocoa backend: improve support on GNUStep
Julien Isorce [Tue, 5 Jan 2010 23:13:46 +0000 (00:13 +0100)]
[412/906] Cocoa backend: improve support on GNUStep

10 years ago[411/906] gstglmixer: copy/past recent changes from gstvideomixer
Julien Isorce [Thu, 17 Dec 2009 23:34:13 +0000 (00:34 +0100)]
[411/906] gstglmixer: copy/past recent changes from gstvideomixer

10 years ago[410/906] gstglmixer: inactivate shared gl context before to release ours
Julien Isorce [Wed, 16 Dec 2009 00:33:39 +0000 (01:33 +0100)]
[410/906] gstglmixer: inactivate shared gl context before to release ours

First, inactivate shared gl contexts known by each sink pad.
Then, destroy the gl context known by the glmixer.
Finally, re-activate shared gl contexts.
This is to satisfy the fact that no shared gl context must be current
when an opengl context is destroyed.
Moreover the application may hang or crash without those steps.

10 years ago[409/906] gleffects: indent and fix some warnings in ES 2.0 mode
Julien Isorce [Wed, 25 Nov 2009 09:24:37 +0000 (10:24 +0100)]
[409/906] gleffects: indent and fix some warnings in ES 2.0 mode

10 years ago[408/906] gleffects: start to make it compatible with OpenGL ES 2.0
Julien Isorce [Sat, 21 Nov 2009 20:40:14 +0000 (21:40 +0100)]
[408/906] gleffects: start to make it compatible with OpenGL ES 2.0

For now only identity, mirror and squeeze effects are available.
Maybe some factorization is needed about compilation shader
before to put the other effects since only a copy/past is needed,
at least until effect number 9: heat.
The effects from 10:sepia to 15:glow require more work.

10 years ago[407/906] winCE backend: fix build
Julien Isorce [Sat, 21 Nov 2009 12:32:59 +0000 (13:32 +0100)]
[407/906] winCE backend: fix build

10 years ago[406/906] glimagesink: add a client-data property
Julien Isorce [Sat, 21 Nov 2009 12:21:54 +0000 (13:21 +0100)]
[406/906] glimagesink: add a client-data property

Also add it to glfilterapp.

Fixes #559131

10 years ago[405/906] glfilter: add external-opengl-context property
Julien Isorce [Tue, 17 Nov 2009 22:47:24 +0000 (23:47 +0100)]
[405/906] glfilter: add external-opengl-context property

It repairs the cluttershare and sdlshare example

10 years ago[404/906] glupload: repair external_opengl_context property
Julien Isorce [Tue, 17 Nov 2009 21:54:39 +0000 (22:54 +0100)]
[404/906] glupload: repair external_opengl_context property

qglwtextureshare now works again. In this example,
the pipeline is src ! glupload ! fakesink.
So in this case the glupload element is a sink in
terms of gl chain.
But the problem is still there if the pipeline is
src ! glupload ! glfilter ! fakesink
(it's the case in sdlshare and cluttershare examples)
because since recent changes about how the gstgldisplay
is transmitted to the gl element, the context is usually
created by the sink in terms of gl chain.
A solution would be to also install this property on glfilter.

10 years ago[403/906] gstglmixer: Initialise the debug category
Jan Schmidt [Tue, 17 Nov 2009 02:16:01 +0000 (02:16 +0000)]
[403/906] gstglmixer: Initialise the debug category

Initialise the gstglmixer debug category before using it.

10 years ago[402/906] gloverlay: fix some warnings
Julien Isorce [Tue, 17 Nov 2009 00:08:09 +0000 (01:08 +0100)]
[402/906] gloverlay: fix some warnings

10 years ago[401/906] gloverlay: Added rotate texture
Anthony Violo [Mon, 16 Nov 2009 13:32:16 +0000 (14:32 +0100)]
[401/906] gloverlay: Added rotate texture

fix #601277

10 years ago[400/906] gstgldisplay: no need the I420 work around if ATI Mobility
Julien Isorce [Thu, 5 Nov 2009 13:53:35 +0000 (14:53 +0100)]
[400/906] gstgldisplay: no need the I420 work around if ATI Mobility

fix #588653

10 years ago[399/906] glmixer: fix when no more gl elements after it
Julien Isorce [Wed, 4 Nov 2009 22:44:46 +0000 (23:44 +0100)]
[399/906] glmixer: fix when no more gl elements after it

For example:
videotestsrc ! glupload ! ... ! glfiter ! ... ! glmosaic ! fakesink
Usefull when using glmixer inside cluttershare or sdlshare cases.

10 years ago[398/906] gldownload: do not forgot to create the gl context
Julien Isorce [Wed, 4 Nov 2009 22:12:42 +0000 (23:12 +0100)]
[398/906] gldownload: do not forgot to create the gl context

fix #600630

10 years ago[397/906] glmosaic: fix a comparison warning
Julien Isorce [Wed, 4 Nov 2009 22:11:54 +0000 (23:11 +0100)]
[397/906] glmosaic: fix a comparison warning

10 years ago[396/906] gldifferencematte: fix some warnings from vc9
Julien Isorce [Wed, 4 Nov 2009 22:10:16 +0000 (23:10 +0100)]
[396/906] gldifferencematte: fix some warnings from vc9

10 years ago[395/906] differencematte: fix regressions from gdkpixbuf to libpng migration
Filippo Argiolas [Wed, 28 Oct 2009 09:41:53 +0000 (10:41 +0100)]
[395/906] differencematte: fix regressions from gdkpixbuf to libpng migration

The background image needs to be scaled to fit current texture size.
Previously this was done by gdk_pixbuf_scale_simple but that's been
removed.
Create a texture from the background pixbuf with correct dimensions and
use interpolation shader to scale it to the right size. Interpolation
fragment shader doesn't have too much sense if all the textures don't
have the same size so this seemed the most natural place to do the
scaling. It could probably be done with some custom texture mapping
outside the shader but it involved more code.

Fixes bug #599883.

10 years ago[394/906] gstgldisplay: use of GL_DEPTH_COMPONENT16 if OpenGL ES 2.0
Pratheesh Gangadhar [Tue, 27 Oct 2009 16:02:23 +0000 (17:02 +0100)]
[394/906] gstgldisplay: use of GL_DEPTH_COMPONENT16 if OpenGL ES 2.0

glRenderbufferStorage does not accept GL_DEPTH_COMPONENT in
OpenGL ES 2.0.

Fix bug #593786

10 years ago[393/906] glmosaic: for now it's a cube mosaic
Julien Isorce [Tue, 27 Oct 2009 14:27:14 +0000 (15:27 +0100)]
[393/906] glmosaic: for now it's a cube mosaic

Also use GPtrArray instead of GArray in glmixer.
And add a pipeline to tests/pieplines

10 years ago[392/906] glmosaic: desactivate shader when done
Julien Isorce [Tue, 27 Oct 2009 10:14:38 +0000 (11:14 +0100)]
[392/906] glmosaic: desactivate shader when done

10 years ago[391/906] Cocoa: fix backend since recent changes
Julien Isorce [Mon, 26 Oct 2009 10:44:35 +0000 (11:44 +0100)]
[391/906] Cocoa: fix backend since recent changes

Before, the window size was given at its creation. Now, it's done at
the drawing step because it's only relevant when there is a glimagesink
element in the pipeline.

10 years ago[390/906] remove warnings from vs9
Julien Isorce [Fri, 23 Oct 2009 18:53:32 +0000 (20:53 +0200)]
[390/906] remove warnings from vs9

10 years ago[389/906] fix codeblocks build on win32
Julien Isorce [Fri, 23 Oct 2009 18:52:32 +0000 (20:52 +0200)]
[389/906] fix codeblocks build on win32

10 years ago[388/906] just fix builds and indent
Julien Isorce [Fri, 23 Oct 2009 08:52:39 +0000 (10:52 +0200)]
[388/906] just fix builds and indent

10 years ago[387/906] glmixer: add a glmixer base element
Julien Isorce [Thu, 22 Oct 2009 23:11:27 +0000 (01:11 +0200)]
[387/906] glmixer: add a glmixer base element

glmixer can be seen as a glfilter except it handles N requested
sink pads.
Each sink pad and the src pad are video/x-raw-gl.
glmixer is responsible for managing different framerates from inputs.
It uses OpenGL context sharing. It means that each input is in its
own OpenGL context shared together and shared with the OpenGL context
of the ouput gl chain.
Also add a glmosaic which is an example of implementation of glmixer.
For now glmosaic is a cube but it will be fixed in the next commits.
For now the glmixer has some weird behaviours in some configurations
but it will be improved in the next commits.
The autotools builds is temporarly broken since those changes
have been made on win32.

10 years ago[386/906] pixbufdrop: fix example on win32
Julien Isorce [Thu, 22 Oct 2009 23:07:29 +0000 (01:07 +0200)]
[386/906] pixbufdrop: fix example on win32

10 years ago[385/906] rewrite the way a gstgldisplay is transmited to the gl elements
Julien Isorce [Sun, 4 Oct 2009 00:23:45 +0000 (02:23 +0200)]
[385/906] rewrite the way a gstgldisplay is transmited to the gl elements

Before, a gstgldisplay was instancied by the gl src in terms of gl chain.
And then the next element got it through the first gstglbuffer.
Now, this is done though queries.
All glelements get their ref on a gstgldisplay in READY state.
This rewrite is mainly a first step to be able to share OpenGL context hold
by the gstgldisplay using more complex glelements.
For example, with a glvideomixer. The associated gstgldisplay of each gl chain
of the sink pads will share their OpenGL context.

10 years ago[384/906] build: use <stdio.h> / "stdio.h"
Stefan Kost [Fri, 16 Oct 2009 15:08:11 +0000 (18:08 +0300)]
[384/906] build: use <stdio.h> / "stdio.h"

10 years ago[383/906] build: include <stdio.h> when using printf & co.
Stefan Kost [Fri, 16 Oct 2009 14:29:08 +0000 (17:29 +0300)]
[383/906] build: include <stdio.h> when using printf & co.

10 years ago[382/906] ES2.0: remove warnings
Julien Isorce [Thu, 15 Oct 2009 13:40:11 +0000 (15:40 +0200)]
[382/906] ES2.0: remove warnings

Partially fix #593786

10 years ago[381/906] EGL and GLX:: set a minimum depth size
Julien Isorce [Thu, 15 Oct 2009 12:59:08 +0000 (14:59 +0200)]
[381/906] EGL and GLX:: set a minimum depth size

10 years ago[380/906] gloverlay: can put video over png images
Anthony Violo [Mon, 21 Sep 2009 13:00:02 +0000 (15:00 +0200)]
[380/906] gloverlay: can put video over png images

Fix bug #595303

10 years ago[379/906] gloverlay: add support to use RGB png images
Anthony Violo [Mon, 21 Sep 2009 08:51:47 +0000 (10:51 +0200)]
[379/906] gloverlay: add support to use RGB png images

Previously restricted to RGBA, now gloverlay can also handle a RGB image.

10 years ago[378/906] gldisplay: avoid to request gl thread when deleting a texture
Julien Isorce [Sat, 19 Sep 2009 12:31:28 +0000 (14:31 +0200)]
[378/906] gldisplay: avoid to request gl thread when deleting a texture

A texture is not destroyed when when we are done with it.
This texture is just added to the texture pool in order to be
re-used. In this case no OpenGL code is executed so we do not need to
request gl thread.

10 years ago[377/906] gldisplay: avoid to request gl thread when generating a texture
Julien Isorce [Sat, 19 Sep 2009 12:16:25 +0000 (14:16 +0200)]
[377/906] gldisplay: avoid to request gl thread when generating a texture

Thanks to the texture pool the gl textures are re-used.
When re-using one, no opengl code is executed so do not need
to request gl thread.

10 years ago[376/906] build: support openGLES on linux via autofoo. Partialy fixes #593786
Stefan Kost [Tue, 1 Sep 2009 12:21:39 +0000 (15:21 +0300)]
[376/906] build: support openGLES on linux via autofoo. Partialy fixes #593786

Add a pkg-config check for opengl and if not found assume opengl-es. If user has
none of both one still get build error later on (there is no pkg-config for
opengl-es).
Add more files to EXTRA dist and build the opengles variant if selected.
Simmilar changes could be done for the winCE backend.

10 years ago[375/906] gloverlay: can control image size and position
Anthony Violo [Wed, 2 Sep 2009 08:06:36 +0000 (10:06 +0200)]
[375/906] gloverlay: can control image size and position

Fix bug #591591

10 years ago[374/906] sdlshare example: fix build on win32
Julien Isorce [Tue, 1 Sep 2009 17:46:10 +0000 (19:46 +0200)]
[374/906] sdlshare example: fix build on win32

10 years ago[373/906] sdlshare example: review includes order and fix closure
Julien Isorce [Mon, 31 Aug 2009 15:26:34 +0000 (17:26 +0200)]
[373/906] sdlshare example: review includes order and fix closure

10 years ago[372/906] make sdlshare example work on linux. Fix bug #593486
Miquel Àngel Farré [Mon, 31 Aug 2009 15:18:01 +0000 (17:18 +0200)]
[372/906] make sdlshare example work on linux. Fix bug #593486

10 years ago[371/906] tests: add sdlshare example
Julien Isorce [Wed, 26 Aug 2009 21:43:37 +0000 (23:43 +0200)]
[371/906] tests: add sdlshare example

It shows how to use gl textures that come
from gst gl elements inside a SDL OpenGL scene

10 years ago[370/906] Add missing header file to Makefile.am and update spec file to actually...
Christian Schaller [Mon, 17 Aug 2009 14:48:09 +0000 (15:48 +0100)]
[370/906] Add missing header file to Makefile.am and update spec file to actually be for this package

10 years ago[369/906] define missing glew macro on older versions
Julien Isorce [Mon, 3 Aug 2009 15:52:31 +0000 (17:52 +0200)]
[369/906] define missing glew macro on older versions

10 years ago[368/906] Cocoa backend: fix crash when resizing
Julien Isorce [Mon, 3 Aug 2009 08:13:02 +0000 (10:13 +0200)]
[368/906] Cocoa backend: fix crash when resizing

Default implementation of NSOpenglView::update is not safe because it
just calls update on the opengl context whereas we are not in the gl thread.
Also fix the white flickering when resizing, because now we need to call
the draw callback manually when resizing.

10 years ago[367/906] docs: fix GstXvImageSInk -> GstGLImageSink and reindent
Stefan Kost [Fri, 31 Jul 2009 15:17:55 +0000 (18:17 +0300)]
[367/906] docs: fix GstXvImageSInk -> GstGLImageSink and reindent

10 years ago[366/906] docs: make remaining elements show up in docs
Tim-Philipp Müller [Wed, 29 Jul 2009 23:36:30 +0000 (00:36 +0100)]
[366/906] docs: make remaining elements show up in docs

Split out declarations into header files and hook everything up so
that five more elements show up in the plugin docs. Fixes #559135.

10 years ago[365/906] Cocoa backend: make sure that nsapp is initialized
Julien Isorce [Mon, 27 Jul 2009 07:58:20 +0000 (09:58 +0200)]
[365/906] Cocoa backend: make sure that nsapp is initialized

gst-launch-0.10 videotestsrc ! tee name=t ! queue ! glimagesink t. ! queue ! glimagesink
now works properly on MacOSX

10 years ago[364/906] make the cmake build work on MacOSX
Julien Isorce [Fri, 24 Jul 2009 08:33:47 +0000 (10:33 +0200)]
[364/906] make the cmake build work on MacOSX

We can now generate a Xcode project (or Unix Makfiles),
see INSTALL file

10 years ago[363/906] Cocoa backend: fix crash when closing
Julien Isorce [Fri, 24 Jul 2009 08:12:07 +0000 (10:12 +0200)]
[363/906] Cocoa backend: fix crash when closing

- All gstglwindow members are now modified only in the gl thread
to avoid thread concurrency
- OpenGL context is now properly clean
- fix a couple of things in implementation of xoverlay interface

10 years ago[362/906] make cocoa backend work on MacOSX
Julien Isorce [Fri, 17 Jul 2009 14:47:41 +0000 (16:47 +0200)]
[362/906] make cocoa backend work on MacOSX

It works with both gst-launch and a cocoa app (non-embedded and embedded)
But there is still some problems:
  - sometimes crash when closing
  - flickering when resizing
  - embedded mode not perfect

I will first make the CMake build work with cocoa backend
in order to generate a XCode project.
Then it should be easier to fix those issues.

10 years ago[361/906] gstgtk: add missing license and copyright information
Filippo Argiolas [Tue, 14 Jul 2009 18:36:13 +0000 (20:36 +0200)]
[361/906] gstgtk: add missing license and copyright information

10 years ago[360/906] examples: add missing copyright/license to my examples
Filippo Argiolas [Tue, 14 Jul 2009 18:25:28 +0000 (20:25 +0200)]
[360/906] examples: add missing copyright/license to my examples

10 years ago[359/906] gl: Link with -lm and fix indention
Sebastian Dröge [Mon, 13 Jul 2009 14:32:00 +0000 (16:32 +0200)]
[359/906] gl: Link with -lm and fix indention

10 years ago[358/906] gstgldisplay: Close a small race starting the display thread
Jan Schmidt [Mon, 13 Jul 2009 11:53:17 +0000 (12:53 +0100)]
[358/906] gstgldisplay: Close a small race starting the display thread

Take the display lock before signalling the create-context cond
to ensure the caller has dropped the lock and is therefore listening
for the signal.

10 years ago[357/906] x11: Don't crash when the X11 display is not available.
Jan Schmidt [Mon, 13 Jul 2009 11:52:31 +0000 (12:52 +0100)]
[357/906] x11: Don't crash when the X11 display is not available.

Error out cleanly instead of crashing when the X11 display can't
be contacted.

10 years ago[356/906] build: Fix typo: gstglbumber.h -> gstglbumper.h
Jan Schmidt [Mon, 13 Jul 2009 11:08:11 +0000 (12:08 +0100)]
[356/906] build: Fix typo: gstglbumber.h -> gstglbumper.h

10 years ago[355/906] same motion compensation
Julien Isorce [Thu, 25 Jun 2009 19:32:38 +0000 (21:32 +0200)]
[355/906] same motion compensation

10 years ago[354/906] fix and add gldeinterlace filter to the builds
Julien Isorce [Wed, 24 Jun 2009 23:30:44 +0000 (01:30 +0200)]
[354/906] fix and add gldeinterlace filter to the builds

10 years ago[353/906] add a gldeinterlace filter
julien [Wed, 24 Jun 2009 15:58:35 +0000 (17:58 +0200)]
[353/906] add a gldeinterlace filter

Greedyh operation implemented using OpenGL Shading Language.
We could add other operations later.
Does some good results but still not as expected.
That's why I do not add it yet to the build.

10 years ago[352/906] fix typo
Jan Schmidt [Fri, 12 Jun 2009 10:33:02 +0000 (11:33 +0100)]
[352/906] fix typo

Change GST_GL_DISPLAY_PROJECTION_PERSPECIVE to
GST_GL_DISPLAY_PROJECTION_PERSPECTIVE.

Re-indent a couple of files that needed it.

10 years ago[351/906] allow to switch xoverlay while being in paused state
Julien Isorce [Tue, 9 Jun 2009 18:35:26 +0000 (20:35 +0200)]
[351/906] allow to switch xoverlay while being in paused state

10 years ago[350/906] fix window position when using xoverlay
Julien Isorce [Sun, 7 Jun 2009 18:19:03 +0000 (20:19 +0200)]
[350/906] fix window position when using xoverlay

x, y are the coordinates of the position inside
the new parent window.

Fixes #584877

10 years ago[349/906] can switch xoverlays while playing
Julien Isorce [Sat, 6 Jun 2009 12:34:57 +0000 (14:34 +0200)]
[349/906] can switch xoverlays while playing

Fixes bug #584877

Before this commit calling "gst_x_overlay_set_xwindow_id" more
than one time, had no effect.
It mainly affects the glimagesink implementation.
But on win32 (and CE), some stuff has to be done to
release the old parent.

And add a switchxoverlay example where the user
can click on left/right part of the main window to
switch the xoverlay.

10 years ago[348/906] Add gstvideo to glimagesink LIBADD. Fixes bug #584680
LRN [Thu, 4 Jun 2009 07:50:52 +0000 (09:50 +0200)]
[348/906] Add gstvideo to glimagesink LIBADD. Fixes bug #584680

10 years ago[347/906] fix miscast of a pointer in SetWindowLongPtr
LRN [Wed, 3 Jun 2009 22:27:44 +0000 (00:27 +0200)]
[347/906] fix miscast of a pointer in SetWindowLongPtr

GCC 4.4.0 complains error: cast from pointer to integer of different size
Fixes #584678.

10 years ago[346/906] Fix linking by providing libtool the correct --tag parameter
Sebastian Dröge [Tue, 12 May 2009 09:41:19 +0000 (11:41 +0200)]
[346/906] Fix linking by providing libtool the correct --tag parameter

10 years ago[345/906] change rotation center in cluttershare example
julien [Mon, 11 May 2009 16:06:18 +0000 (18:06 +0200)]
[345/906] change rotation center in cluttershare example

10 years ago[344/906] Use a more complex gst gl pipeline in the cluttershare example
Julien Isorce [Sat, 9 May 2009 19:30:30 +0000 (21:30 +0200)]
[344/906] Use a more complex gst gl pipeline in the cluttershare example

10 years ago[343/906] Add a signal watch bus callback to check gst messages
Julien Isorce [Sat, 9 May 2009 19:26:42 +0000 (21:26 +0200)]
[343/906] Add a signal watch bus callback to check gst messages

10 years ago[342/906] Fix texture actor update due to a too strong thread locking.
Julien Isorce [Sat, 9 May 2009 18:51:36 +0000 (20:51 +0200)]
[342/906] Fix texture actor update due to a too strong thread locking.

On linux, the GSource func attached to the clutter_threads_add_idle
was not getting the cpu ressource periodically.
Because the use of clutter_threads_enter/leave inside the fakesink
callback seems to be too strong.
So remove the use if clutter_threads_enter/leave in the fakesink callback.
Then replace GQueue by GAsyncQueue to keep thread safe access to the
communication queues between clutter and gst-gl.
Call clutter_threads_add_idle with high priority.

10 years ago[341/906] Properly clean up pending gst gl buffers in cluttershare example
Julien Isorce [Sat, 9 May 2009 13:44:09 +0000 (15:44 +0200)]
[341/906] Properly clean up pending gst gl buffers in cluttershare example

10 years ago[340/906] Fix cluttershare example.
Julien Isorce [Fri, 8 May 2009 19:43:56 +0000 (21:43 +0200)]
[340/906] Fix cluttershare example.

It requires at least clutter 0.8.6 since lower clutter versions are
not compatible with GL_TEXTURE_RECTANGLE_ARB.
Remove use of ClutterEffectTemplace since it does not exist in
clutter 0.9.

10 years ago[339/906] Cast to a GstBuffer* before passing to gst_buffer_unref to fix compiler...
Sebastian Dröge [Mon, 4 May 2009 09:24:30 +0000 (11:24 +0200)]
[339/906] Cast to a GstBuffer* before passing to gst_buffer_unref to fix compiler warning

10 years ago[338/906] Use GQueue in the cluttershare example
Julien Isorce [Sat, 2 May 2009 12:27:23 +0000 (14:27 +0200)]
[338/906] Use GQueue in the cluttershare example

10 years ago[337/906] Improve cluttershare example
Julien Isorce [Thu, 30 Apr 2009 21:40:38 +0000 (23:40 +0200)]
[337/906] Improve cluttershare example

Use clutter_threads_API.
When just using glupload from rgb, we have to be sure that
the upload texture is not in use in our gst gl context.

10 years ago[336/906] [x11/x11ES] fix some pointer cast warnings
Julien Isorce [Mon, 20 Apr 2009 22:17:54 +0000 (18:17 -0400)]
[336/906] [x11/x11ES] fix some pointer cast warnings

10 years ago[335/906] [cocoa] update since interface changed
Julien Isorce [Mon, 20 Apr 2009 21:55:51 +0000 (23:55 +0200)]
[335/906] [cocoa] update since interface changed

10 years ago[334/906] [win32/winCE] fix some pointer cast warnings with mingw
Julien Isorce [Mon, 20 Apr 2009 21:48:15 +0000 (23:48 +0200)]
[334/906] [win32/winCE] fix some pointer cast warnings with mingw

And turn off deprecated Wp64 msvc compiler option.

10 years ago[333/906] add force-aspect-ratio support
Julien Isorce [Sun, 19 Apr 2009 22:52:41 +0000 (00:52 +0200)]
[333/906] add force-aspect-ratio support

10 years ago[332/906] just gst-indent and C90 on cluttershare example
Julien Isorce [Sat, 18 Apr 2009 14:08:23 +0000 (16:08 +0200)]
[332/906] just gst-indent and C90 on cluttershare example

10 years ago[331/906] indent and fix some compiler warnings
Julien Isorce [Sat, 18 Apr 2009 12:40:51 +0000 (08:40 -0400)]
[331/906] indent and fix some compiler warnings

10 years ago[330/906] Can now share textures with an external gl context
Julien Isorce [Sat, 18 Apr 2009 11:57:44 +0000 (13:57 +0200)]
[330/906] Can now share textures with an external gl context

The external opengl context must be specify when creating
our OpenGL context (glx) or just after (wgl).
When calling glXCreateContext or wglShareLists, the
external opengl context must not be current.
Then our gl context can be current in the gl thread while
the external gl context is current in an other thread.
See tests/examples/clutter/cluttershare.c

10 years ago[329/906] Build for Cocoa on darwin, with various fixes
David Schleef [Mon, 13 Apr 2009 05:24:06 +0000 (22:24 -0700)]
[329/906] Build for Cocoa on darwin, with various fixes

10 years ago[328/906] Convert gtk examples to use helper library
David Schleef [Mon, 13 Apr 2009 03:03:30 +0000 (20:03 -0700)]
[328/906] Convert gtk examples to use helper library

Helper lib implements gst-gtk glue on all platforms

10 years ago[327/906] fix init FBO's texture attachment on ES 2.0
Julien [Fri, 10 Apr 2009 18:42:59 +0000 (20:42 +0200)]
[327/906] fix init FBO's texture attachment on ES 2.0