Sebastian Dröge [Mon, 15 Jul 2013 13:58:04 +0000 (15:58 +0200)]
[752/906] glwindow: Add destroy notifies for the data of the callbacks
And actually call the close callback when the window is closed.
Sebastian Dröge [Mon, 15 Jul 2013 13:25:57 +0000 (15:25 +0200)]
[751/906] gldisplay: Don't hold lock while sending a message to the GL thread
https://bugzilla.gnome.org/show_bug.cgi?id=704247
Sebastian Dröge [Mon, 15 Jul 2013 12:11:20 +0000 (14:11 +0200)]
[750/906] glupload: Add support for RGB reordering when using GLES2
Sebastian Dröge [Mon, 15 Jul 2013 05:39:07 +0000 (07:39 +0200)]
[749/906] glshader: Add some more debug output
Sebastian Dröge [Fri, 12 Jul 2013 12:31:48 +0000 (14:31 +0200)]
[748/906] glupload: GL_STENCIL_ATTACHMENT is needed for desktop GL, not GLES
Sebastian Dröge [Fri, 12 Jul 2013 12:26:58 +0000 (14:26 +0200)]
[747/906] gl: Constify YUV conversion shaders
Sebastian Dröge [Fri, 12 Jul 2013 12:20:41 +0000 (14:20 +0200)]
[746/906] android: Add comment to clarify the type of a variable
Sebastian Dröge [Fri, 12 Jul 2013 12:20:05 +0000 (14:20 +0200)]
[745/906] gl: Simplify and optimize YUV conversion shaders a bit
Sebastian Dröge [Fri, 12 Jul 2013 09:35:52 +0000 (11:35 +0200)]
[744/906] gl: Use __GST_GL_H__ instead of __GL_H__ as a multi-include guard
GL/gl.h might use the latter already.
Sebastian Dröge [Thu, 11 Jul 2013 19:30:53 +0000 (21:30 +0200)]
[743/906] win32: Allow setting window handle before creating the context
Sebastian Dröge [Thu, 11 Jul 2013 19:22:57 +0000 (21:22 +0200)]
[742/906] cocoa: Allow setting window handle before creating the context
Sebastian Dröge [Thu, 11 Jul 2013 19:17:42 +0000 (21:17 +0200)]
[741/906] wayland: Don't leak main context and loop
Sebastian Dröge [Thu, 11 Jul 2013 19:15:41 +0000 (21:15 +0200)]
[740/906] x11: Allow setting window handle before creating the context
Sebastian Dröge [Thu, 11 Jul 2013 18:58:36 +0000 (20:58 +0200)]
[739/906] x11: Don't leak main context and main loop
Sebastian Dröge [Thu, 11 Jul 2013 18:51:47 +0000 (20:51 +0200)]
[738/906] gl: Include glu.h after gl.h
Sebastian Dröge [Thu, 11 Jul 2013 14:21:00 +0000 (16:21 +0200)]
[737/906] glimagesink: Request and set the window handle much earlier
Sebastian Dröge [Thu, 11 Jul 2013 14:05:48 +0000 (16:05 +0200)]
[736/906] glimagesink: Give MARGINAL rank to be able to autoplug it if nothing else is available
Sebastian Dröge [Wed, 10 Jul 2013 09:31:17 +0000 (11:31 +0200)]
[735/906] gl: Add support for Android
https://bugzilla.gnome.org/show_bug.cgi?id=703340
Sebastian Dröge [Thu, 11 Jul 2013 09:37:17 +0000 (11:37 +0200)]
[734/906] win32: Make automake happy by using noinst_HEADERS
Sebastian Dröge [Thu, 11 Jul 2013 09:03:31 +0000 (11:03 +0200)]
[733/906] gl: Major header and include cleanup
Julien Isorce [Wed, 10 Jul 2013 15:03:04 +0000 (16:03 +0100)]
[732/906] build: fix repeated typedefs
Write forward declarations in another way to avoid
repeated typedefs "error: redefinition of typedef".
Raised when using i686-apple-darwin11-llvm-gcc-4.2
It seems that C apple compiler does not support
C11 feature.
https://bugzilla.gnome.org/show_bug.cgi?id=703885
Julien Isorce [Wed, 10 Jul 2013 14:47:23 +0000 (15:47 +0100)]
[731/906] cocoa: fix build when GNUSTEP is not defined
Sebastian Dröge [Wed, 10 Jul 2013 09:30:16 +0000 (11:30 +0200)]
[730/906] glcompat: Properly check for GLchar and other types
On Android for example these are no #defines but typedefs
Sebastian Dröge [Wed, 10 Jul 2013 09:24:34 +0000 (11:24 +0200)]
[729/906] gl: Include config.h everywhere
Matthew Waters [Wed, 3 Jul 2013 04:13:56 +0000 (14:13 +1000)]
[728/906] glimagesink: fix for gles2
https://bugzilla.gnome.org/show_bug.cgi?id=703508
Sebastian Dröge [Wed, 3 Jul 2013 07:12:39 +0000 (09:12 +0200)]
[727/906] egl: Refactor EGL logic into a helper object
Matthew Waters [Tue, 2 Jul 2013 12:45:08 +0000 (22:45 +1000)]
[726/906] window: don't call a NULL destroy function
Matthew Waters [Tue, 2 Jul 2013 12:06:03 +0000 (22:06 +1000)]
[725/906] x11: use GMainContext/GMainLoop
allows us to be reentrant
https://bugzilla.gnome.org/show_bug.cgi?id=703445
Matthew Waters [Tue, 2 Jul 2013 08:33:42 +0000 (18:33 +1000)]
[724/906] wayland: make reentrant
https://bugzilla.gnome.org/show_bug.cgi?id=703445
Julien Isorce [Mon, 1 Jul 2013 13:43:14 +0000 (14:43 +0100)]
[723/906] gstglwindow: close has to be called in the glthread.
Indeed 'glXMakeCurrent (window_x11->device, None, NULL);'
has to be called in the thread where the glcontext is actually
current.
Otherwise glXDestroyContext may crash.
Руслан Ижбулатов [Sun, 30 Jun 2013 21:36:35 +0000 (01:36 +0400)]
[722/906] gl: Fix build on Win32
1) Need to include GL/glext.h on W32 to provide necessary macros
2) W32 macros that pre-processor has by default are different for different
toolchains. Borland uses __WIN32__, everyone else has _WIN32, so check both.
Side-note: glext.h is not supplied by mingw-w64 at the moment, but can be
downloaded from http://www.opengl.org/registry/
https://bugzilla.gnome.org/show_bug.cgi?id=703364
Sebastian Dröge [Fri, 28 Jun 2013 09:10:22 +0000 (11:10 +0200)]
[721/906] glfilter: Use uint64 for the OpenGL context property
ulong/long properties are deprecated and should not be used anymore
for portability reasons.
Sebastian Dröge [Fri, 28 Jun 2013 09:00:46 +0000 (11:00 +0200)]
[720/906] examples: Stop using deprecated GLib thread API
Sebastian Dröge [Fri, 28 Jun 2013 09:00:07 +0000 (11:00 +0200)]
[719/906] gl: Fix compilation with GLES2
Matthew Waters [Thu, 27 Jun 2013 14:34:48 +0000 (00:34 +1000)]
[718/906] shader: make it possible to unref in the non-GL thread
Matthew Waters [Thu, 27 Jun 2013 14:31:36 +0000 (00:31 +1000)]
[717/906] remove outdated cmake build files
Matthew Waters [Mon, 17 Jun 2013 09:45:27 +0000 (19:45 +1000)]
[716/906] wayland: properly choose EGL_RENDERABLE_TYPE
based on the gl api we chose
Matthew Waters [Sun, 16 Jun 2013 10:47:05 +0000 (20:47 +1000)]
[715/906] display: inherit from the right object class
Matthew Waters [Sun, 16 Jun 2013 10:44:47 +0000 (20:44 +1000)]
[714/906] Add GstGLFramebuffer to replace _display_gen_fbo and friends
This version is simply API compatible with _display_gen_fbo.
The next version will likely revamp the API
Matthew Waters [Sun, 16 Jun 2013 10:41:29 +0000 (20:41 +1000)]
[713/906] shader: make it possible to create the object in a non-GL thread
Matthew Waters [Sun, 16 Jun 2013 10:38:27 +0000 (20:38 +1000)]
[712/906] wayland: shutdown properly
We cannot use _finalize as this will be called before GstGLWindow's
_finalize. This causes us to try and perform operations with the
wayland server when the connection has been severed.
Matthew Waters [Sun, 16 Jun 2013 10:37:06 +0000 (20:37 +1000)]
[711/906] wayland: support choosing Desktop GL as the api
Matthew Waters [Sun, 16 Jun 2013 10:34:15 +0000 (20:34 +1000)]
[710/906] window: fail if the user specifies an GL api that we cannot work with
It would've been caught later in an g_assert anyway.
Matthew Waters [Thu, 13 Jun 2013 08:33:47 +0000 (18:33 +1000)]
[709/906] display: some more cleanups
Matthew Waters [Thu, 13 Jun 2013 07:57:35 +0000 (17:57 +1000)]
[708/906] display: a cleanup and removal of old code
Matthew Waters [Thu, 13 Jun 2013 06:55:37 +0000 (16:55 +1000)]
[707/906] display: move error_message to utils
Matthew Waters [Thu, 13 Jun 2013 06:31:38 +0000 (16:31 +1000)]
[706/906] display: move activate_context into utils
Matthew Waters [Thu, 13 Jun 2013 06:04:40 +0000 (16:04 +1000)]
[705/906] x11: don't shutdown in _finalize
The window's loop could be still running when _finalize is called
and if we destroy the display connection it will never be closed.
Add _open and _close vfuncs to GstGLWindow so that subclasses can
start up and shutdown at the right time.
Matthew Waters [Thu, 13 Jun 2013 04:36:41 +0000 (14:36 +1000)]
[704/906] Use gst_object_[un]ref so we can get refcounts in the log
Matthew Waters [Thu, 13 Jun 2013 04:18:24 +0000 (14:18 +1000)]
[703/906] x11: don't segfault if destroy_cb is NULL
Matthew Waters [Wed, 12 Jun 2013 13:21:16 +0000 (23:21 +1000)]
[702/906] x11: fix segfault if the x11 backend is instantiated but not used
Matthew Waters [Wed, 12 Jun 2013 13:17:30 +0000 (23:17 +1000)]
[701/906] display: move context creation into window
Matthew Waters [Tue, 11 Jun 2013 15:04:55 +0000 (01:04 +1000)]
[700/906] display: move most of the code into utils for sorting later
This contains a hack that essentially requires one GstGLDisplay
per process.
Matthew Waters [Tue, 11 Jun 2013 08:50:12 +0000 (18:50 +1000)]
[699/906] display: remove list of upload and download objects
and only create an up/download object when needed.
Matthew Waters [Tue, 11 Jun 2013 02:26:50 +0000 (12:26 +1000)]
[698/906] move sink-specific stuff from GstGLDisplay into glimagesink
Matthew Waters [Tue, 11 Jun 2013 01:27:56 +0000 (11:27 +1000)]
[697/906] display: allow the user to try and choose the GL api we use via env variable
GST_GL_API=opengl,opengl3,gles2,gles3
Matthew Waters [Tue, 11 Jun 2013 01:26:38 +0000 (11:26 +1000)]
[696/906] glapi: fix memory leak from not freeing a string
Matthew Waters [Tue, 4 Jun 2013 12:18:51 +0000 (22:18 +1000)]
[695/906] build: remove libtool warning about -version-info not used in convenience libraries
Matthew Waters [Tue, 4 Jun 2013 12:17:41 +0000 (22:17 +1000)]
[694/906] build: add support for static plugins
Matthew Waters [Tue, 4 Jun 2013 12:16:00 +0000 (22:16 +1000)]
[693/906] x11_glx: ask for a 3.0 GL Context
(falling back if needed)
Matthew Waters [Mon, 3 Jun 2013 08:15:45 +0000 (18:15 +1000)]
[692/906] window_x11: add XError trapping
some functions in GLX can fail if the implementation does not support
certain features we ask for (i.e. GL 3) bringing down the entire
application
Matthew Waters [Mon, 3 Jun 2013 08:13:52 +0000 (18:13 +1000)]
[691/906] feature: make gst_gl_check_extension public
prevents duplication of code of extension string parsing in GstGLWindow's
Matthew Waters [Sun, 2 Jun 2013 11:47:17 +0000 (21:47 +1000)]
[690/906] windowx11glx: use fbconfigs if supported
Matthew Waters [Thu, 25 Apr 2013 02:04:23 +0000 (12:04 +1000)]
[689/906] bumper: nicer error for no bumpmap file proveded
Matthew Waters [Wed, 24 Apr 2013 04:25:21 +0000 (14:25 +1000)]
[688/906] display: properly shutdown if we error after context creation
The _finalize() code checks to see if the context was created before
attempting to destroy it. We never did say that we had created the context.
Matthew Waters [Wed, 24 Apr 2013 04:24:27 +0000 (14:24 +1000)]
[687/906] bumper: error out properly if we cannot load the png file
Matthew Waters [Wed, 24 Apr 2013 04:23:16 +0000 (14:23 +1000)]
[686/906] filtershader: fix string format compiler warnings
Matthew Waters [Wed, 24 Apr 2013 04:22:40 +0000 (14:22 +1000)]
[685/906] filter: improve error handling
Matthew Waters [Wed, 24 Apr 2013 02:18:14 +0000 (12:18 +1000)]
[684/906] display: lack of format-string causing a compiler warning
Matthew Waters [Wed, 24 Apr 2013 02:17:36 +0000 (12:17 +1000)]
[683/906] feature: remove double free
Matthew Waters [Mon, 11 Mar 2013 04:51:06 +0000 (15:51 +1100)]
[682/906] overlay: fix video-top property
Matthew Waters [Sun, 2 Jun 2013 07:52:30 +0000 (07:52 +0000)]
[681/906] win32: fix gl api calls on 32-bit
win has the bright idea of having 5 different calling conventions.
we should probably use the right one so we don't crash from stack
corruption.
Matthew Waters [Sun, 10 Mar 2013 02:37:48 +0000 (13:37 +1100)]
[680/906] overlay: tentative port to new GstGLFuncs API
Matthew Waters [Sun, 10 Mar 2013 02:34:15 +0000 (13:34 +1100)]
[679/906] opengl: fix plugins not being registered when they should be
Matthew Waters [Sat, 9 Mar 2013 12:36:36 +0000 (23:36 +1100)]
[678/906] window_win32_wgl: implement wglGetProcAddress for extension functions
Matthew Waters [Sat, 9 Mar 2013 11:53:41 +0000 (22:53 +1100)]
[677/906] memory: fix GSIZE printf format on win32
Matthew Waters [Sat, 9 Mar 2013 11:53:09 +0000 (22:53 +1100)]
[676/906] windwo_win32: port to new API
Matthew Waters [Sat, 9 Mar 2013 11:47:11 +0000 (22:47 +1100)]
[675/906] upload: provide nicer debugging
Matthew Waters [Sat, 9 Mar 2013 11:45:23 +0000 (22:45 +1100)]
[674/906] feature: try and catch more GL extension functions
if we don't find the extension in core GL, try the extension version anyway
Matthew Waters [Sat, 9 Mar 2013 11:37:34 +0000 (22:37 +1100)]
[673/906] feature: add gstreamer license
Matthew Waters [Sat, 9 Mar 2013 11:05:28 +0000 (22:05 +1100)]
[672/906] display: constify GstGLFuncs *gl
Matthew Waters [Sat, 9 Mar 2013 10:59:02 +0000 (21:59 +1100)]
[671/906] win32: #include GL/glext.h on windows
also add some GL default variables if some GL types are not defined
Matthew Waters [Mon, 18 Feb 2013 10:40:34 +0000 (21:40 +1100)]
[670/906] display: replace glib deprecated api
Matthew Waters [Tue, 12 Feb 2013 12:48:36 +0000 (23:48 +1100)]
[669/906] window: seperate object creation and context creation
Matthew Waters [Mon, 4 Feb 2013 10:30:51 +0000 (21:30 +1100)]
[668/906] shader: fix gles2 segfault
Matthew Waters [Mon, 4 Feb 2013 10:29:33 +0000 (21:29 +1100)]
[667/906] filtercube: fix for gles2 compilation
Matthew Waters [Fri, 1 Feb 2013 07:20:04 +0000 (18:20 +1100)]
[666/906] sobel: port for non-glew
Matthew Waters [Thu, 31 Jan 2013 13:08:28 +0000 (00:08 +1100)]
[665/906] mosaic: fix a couple of assertions
Matthew Waters [Thu, 31 Jan 2013 13:06:54 +0000 (00:06 +1100)]
[664/906] filtershader: improve error checking
Matthew Waters [Thu, 31 Jan 2013 12:51:04 +0000 (23:51 +1100)]
[663/906] filtershader: port to non-glew
Matthew Waters [Thu, 31 Jan 2013 12:46:37 +0000 (23:46 +1100)]
[662/906] laplacian: port to non-glew
Matthew Waters [Thu, 31 Jan 2013 12:43:52 +0000 (23:43 +1100)]
[661/906] glass: port to non-glew + shader matrices
Matthew Waters [Thu, 31 Jan 2013 12:39:56 +0000 (23:39 +1100)]
[660/906] cube: port for non-glew
Matthew Waters [Thu, 31 Jan 2013 12:34:42 +0000 (23:34 +1100)]
[659/906] blur: port for non-glew
Matthew Waters [Thu, 31 Jan 2013 12:32:49 +0000 (23:32 +1100)]
[658/906] mixer: fix eos timestamp check
Matthew Waters [Thu, 31 Jan 2013 12:31:09 +0000 (23:31 +1100)]
[657/906] filterapp: port to non-glew
Matthew Waters [Thu, 31 Jan 2013 12:29:13 +0000 (23:29 +1100)]
[656/906] bumper: use DrawElements for semi-compatability with ES
also GL_QUADS isn't available with ES contexts
Matthew Waters [Thu, 17 Jan 2013 12:45:59 +0000 (23:45 +1100)]
[655/906] download: remove erronous ReadBuffer call
- it was causing segfaults in mesa
- we didn't set the readbuffer so we shouldn't reset it
Matthew Waters [Thu, 17 Jan 2013 12:17:14 +0000 (23:17 +1100)]
[654/906] differencematte: port to non-GLEW
Matthew Waters [Thu, 17 Jan 2013 12:16:07 +0000 (23:16 +1100)]
[653/906] deinterlace: port to non-GLEW + arrays