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
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.
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.
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
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.
Julien Isorce [Mon, 20 Apr 2009 22:17:54 +0000 (18:17 -0400)]
[336/906] [x11/x11ES] fix some pointer cast warnings
Julien Isorce [Mon, 20 Apr 2009 21:55:51 +0000 (23:55 +0200)]
[335/906] [cocoa] update since interface changed
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.
Julien Isorce [Sun, 19 Apr 2009 22:52:41 +0000 (00:52 +0200)]
[333/906] add force-aspect-ratio support
Julien Isorce [Sat, 18 Apr 2009 12:40:51 +0000 (08:40 -0400)]
[331/906] indent and fix some compiler warnings
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
David Schleef [Mon, 13 Apr 2009 05:24:06 +0000 (22:24 -0700)]
[329/906] Build for Cocoa on darwin, with various fixes
Julien [Fri, 10 Apr 2009 18:42:59 +0000 (20:42 +0200)]
[327/906] fix init FBO's texture attachment on ES 2.0
Julien [Fri, 10 Apr 2009 18:30:46 +0000 (20:30 +0200)]
[326/906] add X backend for OpenGL ES 2.0
Julien Isorce [Wed, 18 Mar 2009 21:46:56 +0000 (22:46 +0100)]
[322/906] [download YUY2/UYVY] fix a regression
The call to glLoadIdentity was removed by mistake during
OpenGL ES 2.0 integration.
Julien Isorce [Sun, 15 Mar 2009 13:48:19 +0000 (14:48 +0100)]
[321/906] add OpenGL ES 2.x support.
In OpenGL 2.x for Embedded System, a lot of basic scene/draw functions
have been removed. It means that everything is made using vertex and
fragment shaders.
I have also added a gstglwindow backend for winCE that uses EGL
(Native Platform Graphics Intercace) (which is a full part of
OpenGL ES specification). It remove the use of wgl/glx functions.
Julien Isorce [Sat, 7 Mar 2009 02:13:38 +0000 (03:13 +0100)]
[320/906] fix position and content rect
Julien Isorce [Fri, 6 Mar 2009 21:43:41 +0000 (22:43 +0100)]
[319/906] [win32 backend] fix transmition message to the parent.
The Qt mouvexoverlay example shows how to rotate the cube
by moving (+click) the mouve over a qwidget using xoverlay
interface.
Julien Isorce [Thu, 26 Feb 2009 22:45:21 +0000 (17:45 -0500)]
[318/906] rename GNUmakefile(s) to GNUmakefile(s).gnustep
Julien Isorce [Thu, 26 Feb 2009 00:06:58 +0000 (01:06 +0100)]
[317/906] implement gstglwindow for Cocoa (MacOS and GNUstep)
Julien Isorce [Tue, 24 Feb 2009 23:12:12 +0000 (00:12 +0100)]
[315/906] add GNUstep build
David Schleef [Mon, 23 Feb 2009 19:07:22 +0000 (11:07 -0800)]
[314/906] Add srcdir to includes for out-of-source builds
When you use gstreamer uninstalled and build outside
the source tree, the includes need to be specified for
both the source tree and the build tree.
David Schleef [Wed, 11 Feb 2009 06:39:14 +0000 (22:39 -0800)]
[310/906] Global reindent
Indent parameters:
INDENT_PARAMETERS="--braces-on-if-line \
--case-brace-indentation0 \
--case-indentation2 \
--braces-after-struct-decl-line \
--line-length80 \
--no-tabs \
--cuddle-else \
--dont-line-up-parentheses \
--honour-newlines \
--continuation-indentation4 \
--tab-size8 \
--indent-level2"
Sebastian Dröge [Tue, 3 Feb 2009 17:58:00 +0000 (18:58 +0100)]
[309/906] Replay: Fix callbacks passed over XEvents on 64 bit architectures
Althought the XEvent's xclient.data.l array is an array of
longs they will be constrained to 32 bit by the X11 protocol.
On 64 bit architectures use two elements of the array to store
one pointer.
This fixes segfaults that happen at least for every example
on startup.
Julien Isorce [Sun, 8 Feb 2009 00:50:10 +0000 (01:50 +0100)]
[306/906] fix CMake build and frozen CodeBlocks build
Julien Isorce [Thu, 5 Feb 2009 18:59:27 +0000 (19:59 +0100)]
[304/906] only load RGBA files.png
Julien Isorce [Fri, 23 Jan 2009 01:04:23 +0000 (02:04 +0100)]
[301/906] depends on libpng instead of gdk_pixbuf
David Schleef [Wed, 11 Feb 2009 05:57:31 +0000 (21:57 -0800)]
[298/906] Revert "Fix indention"
This reverts commit
96e4ab18c2cf9876f6c031b9aba6282d0bd45a93.
You should have asked first. And you would have been told "no",
because it causes people on development branches to do a huge
amount of extra work.
David Schleef [Wed, 11 Feb 2009 05:57:08 +0000 (21:57 -0800)]
[297/906] Revert "Fix callbacks passed over XEvents on 64 bit architectures"
This reverts commit
280771d09b58617b27201027de0e1194da376e72.
Sebastian Dröge [Tue, 3 Feb 2009 17:58:00 +0000 (18:58 +0100)]
[296/906] Fix callbacks passed over XEvents on 64 bit architectures
Althought the XEvent's xclient.data.l array is an array of
longs they will be constrained to 32 bit by the X11 protocol.
On 64 bit architectures use two elements of the array to store
one pointer.
This fixes segfaults that happen at least for every example
on startup.
Sebastian Dröge [Tue, 3 Feb 2009 17:33:36 +0000 (18:33 +0100)]
[295/906] Fix indention
Sebastian Dröge [Tue, 3 Feb 2009 10:23:06 +0000 (11:23 +0100)]
[294/906] Fix format string compiler warnings by using G_GUINT64_FORMAT
David Schleef [Sat, 10 Jan 2009 01:20:25 +0000 (17:20 -0800)]
[291/906] Add check for GLEW_EXT_framebuffer_object
David Schleef [Fri, 9 Jan 2009 03:18:47 +0000 (19:18 -0800)]
[290/906] Set GL_LIBS correctly in configure.ac
This doesn't detect the existence of libraries, which needs to
be fixed.
David Schleef [Thu, 8 Jan 2009 03:11:01 +0000 (19:11 -0800)]
[289/906] build fixes for Windows libraries
Julien Isorce [Sun, 14 Dec 2008 11:06:06 +0000 (12:06 +0100)]
[288/906] add more debug ouputs about GLSL and mesa
julien [Sun, 14 Dec 2008 00:36:32 +0000 (19:36 -0500)]
[287/906] fix a regression about glXChooseVisual which failed when using mesa, so attributes must be less restrictives.
Julien Isorce [Fri, 12 Dec 2008 23:50:16 +0000 (00:50 +0100)]
[286/906] [win32] Register window class in gst_gl_window_class_init
Julien Isorce [Sun, 7 Dec 2008 02:25:59 +0000 (03:25 +0100)]
[285/906] fix gl framerate in gst caps. Consider position in xoverlay. Fix inversion bettween COLS and ROWS, and move windows.
Julien Isorce [Sat, 29 Nov 2008 21:16:44 +0000 (22:16 +0100)]
[284/906] workaround about the ATI shader compiler on linux (setlocale)
Julien Isorce [Tue, 25 Nov 2008 00:01:01 +0000 (01:01 +0100)]
[283/906] better result in cube and doublecube example. And some clean up debug and comments
Julien Isorce [Sun, 23 Nov 2008 15:14:26 +0000 (16:14 +0100)]
[282/906] update CMake build
Julien Isorce [Sun, 23 Nov 2008 15:04:27 +0000 (16:04 +0100)]
[281/906] Make cube example work on x11. Finish TODO task 9.
Julien Isorce [Sat, 22 Nov 2008 15:43:24 +0000 (16:43 +0100)]
[280/906] Remove set_visible, because it's now automatically done when the first post redisplay comes.
Julien Isorce [Fri, 21 Nov 2008 23:51:30 +0000 (00:51 +0100)]
[279/906] finish set_xwindow_id (gst_gl_window_set_external_win_id): child is resized at the same time as the parent is.
Julien Isorce [Fri, 21 Nov 2008 19:51:48 +0000 (20:51 +0100)]
[278/906] Implement set_xwindow_id (gst_gl_window_set_external_window_id).
Julien Isorce [Fri, 21 Nov 2008 18:37:21 +0000 (19:37 +0100)]
[277/906] open x client connection for sender only at start up
Julien Isorce [Fri, 21 Nov 2008 18:11:11 +0000 (19:11 +0100)]
[276/906] better deal with last pending custom cb and destroy_context_cb
Julien Isorce [Fri, 21 Nov 2008 00:31:19 +0000 (01:31 +0100)]
[275/906] Make sure the gl ressoures are destroyed before to destroy gl window
Julien Isorce [Thu, 20 Nov 2008 00:24:10 +0000 (01:24 +0100)]
[274/906] add some other debug outputs and checks
Julien Isorce [Tue, 18 Nov 2008 23:07:22 +0000 (00:07 +0100)]
[273/906] add some debug outputs about Visual and XVisualInfo
Julien Isorce [Mon, 17 Nov 2008 00:04:32 +0000 (01:04 +0100)]
[272/906] add a visible member to deal better with the first expose events
Julien Isorce [Sun, 16 Nov 2008 15:57:00 +0000 (16:57 +0100)]
[271/906] revert last commit because the crash comes from libselinux
Julien Isorce [Sat, 15 Nov 2008 22:32:04 +0000 (23:32 +0100)]
[270/906] fix use of different Display structures which point on the same display name
Julien Isorce [Sat, 15 Nov 2008 17:51:44 +0000 (18:51 +0100)]
[269/906] Better deal with XNextEvent and XSendEvent
Julien Isorce [Sat, 15 Nov 2008 01:24:07 +0000 (02:24 +0100)]
[268/906] Better deal with Atoms
Julien Isorce [Fri, 14 Nov 2008 00:00:33 +0000 (01:00 +0100)]
[267/906] Get ride of calling sleep in gl thread X loop
Julien Isorce [Thu, 13 Nov 2008 01:05:33 +0000 (02:05 +0100)]
[266/906] secure close when clicking on the cross
Julien Isorce [Thu, 13 Nov 2008 00:23:51 +0000 (01:23 +0100)]
[264/906] Rewrite gstglwindow_x11.c because X API is not thread safe.
Julien Isorce [Tue, 11 Nov 2008 02:19:51 +0000 (03:19 +0100)]
[263/906] discard x custom messages which are of date
Julien Isorce [Sun, 9 Nov 2008 22:23:30 +0000 (23:23 +0100)]
[262/906] Works on linux but still some bugs. Fix autotools build.
Julien Isorce [Sun, 9 Nov 2008 21:14:29 +0000 (22:14 +0100)]
[261/906] implement quit x message loop
Julien Isorce [Sun, 9 Nov 2008 01:44:25 +0000 (02:44 +0100)]
[260/906] try to make XSendEvent blocker (as win32 SendMessage is)
Julien Isorce [Thu, 6 Nov 2008 22:41:11 +0000 (23:41 +0100)]
[259/906] continue x implementation (but still not tested)
Julien Isorce [Thu, 6 Nov 2008 00:28:26 +0000 (01:28 +0100)]
[258/906] setup x message loop
Julien Isorce [Wed, 5 Nov 2008 01:06:33 +0000 (02:06 +0100)]
[257/906] begin gstglwindow_x11.c implementation
Julien Isorce [Wed, 29 Oct 2008 22:53:22 +0000 (23:53 +0100)]
[256/906] fix CMake an CodeBlocks builds
Julien Isorce [Tue, 28 Oct 2008 20:44:09 +0000 (21:44 +0100)]
[255/906] fix window closure when using gst xoverlay interface
Julien Isorce [Tue, 28 Oct 2008 00:38:45 +0000 (01:38 +0100)]
[254/906] Better handle when the parent window is resizing, and cleanup some code
Julien Isorce [Mon, 27 Oct 2008 23:22:27 +0000 (00:22 +0100)]
[253/906] win32: re-implement supports for gst xoverlay interface, on this branch
Julien Isorce [Sat, 25 Oct 2008 14:18:23 +0000 (16:18 +0200)]
[252/906] avoid a dead lock on window closure
Julien Isorce [Sat, 25 Oct 2008 00:03:16 +0000 (02:03 +0200)]
[251/906] Properly clean OpenGL contexts
Julien Isorce [Thu, 23 Oct 2008 23:39:00 +0000 (01:39 +0200)]
[250/906] win32: basic stuffs are working now on this branch with this new deep design (gstglwindow)
Julien Isorce [Wed, 22 Oct 2008 23:40:52 +0000 (01:40 +0200)]
[249/906] begin GstGLWindow in order to totally remove gstfreeglut
Filippo Argiolas [Wed, 15 Oct 2008 10:42:29 +0000 (12:42 +0200)]
[243/906] Support for missing videoformats in glupload
Add support for missing alpha channeled videoformats (RGBA, BGRA,
ARGB, ABGR) in gst_gl_display_do_upload_fill.
Julien Isorce [Mon, 13 Oct 2008 21:14:27 +0000 (23:14 +0200)]
[242/906] Fix crash in filters when going to NULL with no display
Filippo Argiolas [Sun, 21 Sep 2008 08:58:13 +0000 (10:58 +0200)]
[233/906] no need to explicit set the debug category if default one is used
Filippo Argiolas [Sun, 21 Sep 2008 14:40:38 +0000 (16:40 +0200)]
[230/906] explicit check g_getenv return value to be not NULL
Julien Isorce [Sat, 20 Sep 2008 13:44:24 +0000 (15:44 +0200)]
[229/906] update authors from the CVS repository
Filippo Argiolas [Sat, 20 Sep 2008 12:12:49 +0000 (14:12 +0200)]
[228/906] output shaders info log only if GST_GL_SHADER_DEBUG env variable is set. Should fix TODO task 18
Julien Isorce [Thu, 18 Sep 2008 20:50:05 +0000 (22:50 +0200)]
[226/906] check on win32 that every tests/pipelines and tests/examples (generic, gtk, qt) still work
Julien Isorce [Thu, 18 Sep 2008 19:13:37 +0000 (21:13 +0200)]
[225/906] fix a regression that made the gltestsrc element not working
Julien Isorce [Tue, 16 Sep 2008 00:10:31 +0000 (02:10 +0200)]
[224/906] fix a regression about MESA YCbCr colorspace conversion
Julien Isorce [Sun, 14 Sep 2008 21:22:58 +0000 (23:22 +0200)]
[223/906] fix a regression (sometimes a FBO is needed even if the video source is rgb)
Julien Isorce [Sun, 14 Sep 2008 17:56:50 +0000 (19:56 +0200)]
[222/906] Finish TODO task 17
Julien [Sat, 13 Sep 2008 17:47:44 +0000 (19:47 +0200)]
[221/906] fix g_int_hash -> g_direct_hash
Julien Isorce [Sat, 13 Sep 2008 16:17:42 +0000 (18:17 +0200)]
[220/906] Use a better key for the pool of textures
Julien Isorce [Sat, 13 Sep 2008 01:32:04 +0000 (03:32 +0200)]
[219/906] Use a gst debug category for GstGLDisplay instead of g_print, gst-launch-0.10 --gst-debug=gldisplay:3 videotestsrc ! glimagesink
Julien [Thu, 11 Sep 2008 23:13:50 +0000 (01:13 +0200)]
[218/906] The CMake build now works on my Kubuntu-KDE4.1.1
Julien Isorce [Thu, 11 Sep 2008 00:07:12 +0000 (02:07 +0200)]
[217/906] Add cmake build cmake.org. See CMake install instructions in the INSTALL file. (I have not correctly configured yet the CMake build for unix, BE patient)
Julien Isorce [Sat, 6 Sep 2008 22:45:34 +0000 (00:45 +0200)]
[212/906] add a glbumper (bump mapping filter through GLSL) that exposes how to use both vertex and fragment shaders
Julien Isorce [Mon, 25 Aug 2008 08:34:54 +0000 (10:34 +0200)]
[211/906] Fix upload AYUV and YV12 (a regression in last commits)
julien User [Sun, 24 Aug 2008 14:33:26 +0000 (16:33 +0200)]
[210/906] get ride of a wrong color on nvidia/linux when converting yv12 to rgb through GLSL
julien User [Sun, 24 Aug 2008 13:39:14 +0000 (15:39 +0200)]
[209/906] fix warnings
Julien Isorce [Sun, 24 Aug 2008 02:24:29 +0000 (04:24 +0200)]
[208/906] fix upload AYUV, regression during the 2 last commits
Julien Isorce [Sun, 24 Aug 2008 01:38:40 +0000 (03:38 +0200)]
[207/906] oups, fix my mistake on last commit
unknown [Sun, 24 Aug 2008 01:12:12 +0000 (03:12 +0200)]
[206/906] Do not use frame buffer object when "input video is RGB" or when "GLSL is not available and YCbCr is available". So frame buffer object is not a plugin requirement anymore. So I decreased the OpengGL version from 1.4 to 1.2 (maybe less?)
Julien Isorce [Thu, 21 Aug 2008 09:12:42 +0000 (11:12 +0200)]
[205/906] use a GHash table instead of a GData for the texture pool
Julien Isorce [Wed, 20 Aug 2008 13:47:51 +0000 (15:47 +0200)]
[204/906] get ride of a bug on ATI related to YV12 to rgb conversion through GLSL and add an example
Filippo Argiolas [Wed, 20 Aug 2008 07:24:53 +0000 (09:24 +0200)]
[201/906] fix a signedness warning