Matthew Waters [Sat, 23 Nov 2013 11:19:18 +0000 (22:19 +1100)]
[865/906] glmem: report successful copy to the caller
Matthew Waters [Mon, 25 Nov 2013 22:32:32 +0000 (09:32 +1100)]
[863/906] window: hold a ref to our GstGLDisplay
Matthew Waters [Mon, 25 Nov 2013 09:34:06 +0000 (20:34 +1100)]
[862/906] window: remove set_need_lock
No-one is using it. The only code that did was the x11 one which
doesn't need it anymore.
Wang Xin-yu (王昕宇) [Thu, 9 Jan 2014 18:50:14 +0000 (02:50 +0800)]
[861/906] glprototypes: Add missing glScalef declare
https://bugzilla.gnome.org/show_bug.cgi?id=721903
Matthew Waters [Sat, 23 Nov 2013 11:58:57 +0000 (22:58 +1100)]
[860/906] docs: misc updates
Matthew Waters [Sat, 23 Nov 2013 11:57:49 +0000 (22:57 +1100)]
[859/906] window: provide some documetation
Matthew Waters [Sat, 23 Nov 2013 11:56:10 +0000 (22:56 +1100)]
[858/906] glmem: update the docs
Matthew Waters [Sat, 23 Nov 2013 11:54:46 +0000 (22:54 +1100)]
[857/906] display: document the new GstContext api
Matthew Waters [Sat, 23 Nov 2013 11:53:48 +0000 (22:53 +1100)]
[856/906] context: document it
Matthew Waters [Thu, 14 Nov 2013 04:27:52 +0000 (15:27 +1100)]
[855/906] upload: add support for GstVideoGLTextureUploadMeta
Matthew Waters [Tue, 12 Nov 2013 13:41:01 +0000 (00:41 +1100)]
[854/906] use the allocation query to propogate GstGLContext
uses the GstVideoGLTextureUploadMeta api type for the query
Matthew Waters [Thu, 24 Oct 2013 11:30:45 +0000 (22:30 +1100)]
[853/906] display: remove _{set,get}_context
A GstGLDisplay doesn't need a GstGLContext and its use
was cause a reference cycle
Matthew Waters [Tue, 12 Nov 2013 23:43:16 +0000 (10:43 +1100)]
[852/906] use GstContext for GstGLDisplay propogation
implements the hooks required in GstElement::set_context and the context query
Matthew Waters [Fri, 15 Nov 2013 07:28:49 +0000 (18:28 +1100)]
[850/906] glupload: Remove texture scaling artifacts from the TEXTURE_RECTANGLE -> TEXTURE_2D transition
fixes the funky colours in some of the yuv formats
https://bugzilla.gnome.org/show_bug.cgi?id=721155
Matthew Waters [Thu, 24 Oct 2013 11:28:57 +0000 (22:28 +1100)]
[848/906] filter: a little code cleanup
Matthew Waters [Wed, 13 Nov 2013 04:57:07 +0000 (15:57 +1100)]
[847/906] mixer: unmap the video frames we map
plugs a memory leak
Matthew Waters [Fri, 15 Nov 2013 09:50:27 +0000 (20:50 +1100)]
[846/906] mixer: handle 0/1 framerate better in caps
Matthew Waters [Fri, 15 Nov 2013 09:49:43 +0000 (20:49 +1100)]
[845/906] filter: handle capsfeatures properly
Matthew Waters [Thu, 14 Nov 2013 04:08:47 +0000 (15:08 +1100)]
[844/906] mixer: give access to the pads at render time
allows us to move the video frame mapping somewhere else
Matthew Waters [Wed, 13 Nov 2013 12:24:00 +0000 (23:24 +1100)]
[843/906] memory: provide copy_into_texture
Tim-Philipp Müller [Wed, 25 Dec 2013 23:35:50 +0000 (23:35 +0000)]
[842/906] Fix gstglconfig.h-related 'make distcheck' issues
Fix srcdir vs. builddir issue in docs and 'files left after
disclean' issue for gstglconfig.h
Julien Isorce [Sat, 30 Nov 2013 09:51:49 +0000 (09:51 +0000)]
[841/906] osx: allow x11/glx backend and set default runtime to cocoa/nsgl
https://bugzilla.gnome.org/show_bug.cgi?id=719757
Julien Isorce [Sat, 30 Nov 2013 16:38:13 +0000 (16:38 +0000)]
[839/906] cocoa: allow to call set_window_handle before to create glcontext
So that it actually make cocoa videooverlay example work again.
Fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=719758
Matthew Waters [Fri, 15 Nov 2013 07:28:49 +0000 (18:28 +1100)]
[838/906] gl: Use GL_TEXTURE_2D instead of GL_TEXTURE_RECTANGLE
We create our textures (in Desktop GL) with GL_TEXTURE_RECTANGLE,
vaapi attempts to bind our texture to GL_TEXTURE_2D which throws a
GL_INVALID_OPERATION error and as thus, no video.
Also, by moving exclusively to GL_TEXTURE_2D and the npot extension
we also remove a difference between the Desktop GL and GLES2 code.
https://bugzilla.gnome.org/show_bug.cgi?id=712287
Matthieu Bouron [Fri, 8 Nov 2013 12:12:26 +0000 (12:12 +0000)]
[837/906] cocoa: resize OpenGL view size each time the window is resized
Fixes glitches that can appear when the OpenGL view has not been resized
after a window resize.
https://bugzilla.gnome.org/show_bug.cgi?id=711672
Matthieu Bouron [Fri, 1 Nov 2013 16:35:46 +0000 (16:35 +0000)]
[836/906] cocoa: only use GSRegisterCurrentThread with GNUStep environment
Julien Isorce [Wed, 6 Nov 2013 22:16:21 +0000 (22:16 +0000)]
[835/906] gstglwindow: remove unused fields
Julien Isorce [Wed, 6 Nov 2013 22:13:20 +0000 (22:13 +0000)]
[834/906] gstglwindow: clear mutex
Julien Isorce [Wed, 6 Nov 2013 22:12:02 +0000 (22:12 +0000)]
[833/906] gstglcontext: initialize window to NULL
Julien Isorce [Wed, 6 Nov 2013 21:59:27 +0000 (21:59 +0000)]
[832/906] x11: ignore Expose events not initiated by gst_gl_window_draw
Julien Isorce [Wed, 6 Nov 2013 21:55:49 +0000 (21:55 +0000)]
[831/906] glimagesink: avoid to overload the drawer if already drawing
Especially if the application calls gst_video_overlay_expose a lot
Matthew Waters [Wed, 23 Oct 2013 09:38:56 +0000 (20:38 +1100)]
[829/906] mixer: error out properly on flushing
Matthew Waters [Tue, 22 Oct 2013 10:48:00 +0000 (21:48 +1100)]
[828/906] context: refcount the display
Matthew Waters [Fri, 25 Oct 2013 15:20:54 +0000 (02:20 +1100)]
[827/906] mixer: don't unref the query in the default case
The element/application performing the query is responsible for the
de/allocation
Matthew Waters [Thu, 24 Oct 2013 10:24:03 +0000 (21:24 +1100)]
[826/906] upload: free our mutex
Julien Isorce [Fri, 11 Oct 2013 15:00:23 +0000 (16:00 +0100)]
[825/906] glwindow_x11: check if the loop exists
It happens when calling set_window_handle before to reach GST_STATE_READY.
In this case the parent is set when creating the internal window.
Matthew Waters [Tue, 1 Oct 2013 13:47:54 +0000 (23:47 +1000)]
[824/906] android: Build fixes
https://bugzilla.gnome.org/show_bug.cgi?id=709786
Julien Isorce [Tue, 1 Oct 2013 11:46:46 +0000 (11:46 +0000)]
[823/906] wayland_egl: make the wayland backend actually work on Raspberry Pi
Fix resizing and can now move the window
Julien Isorce [Tue, 1 Oct 2013 11:44:00 +0000 (11:44 +0000)]
[822/906] gstglcontext_egl: avoid non working EGL confs on rpi/wayland
Julien Isorce [Tue, 1 Oct 2013 11:42:21 +0000 (11:42 +0000)]
[821/906] tests: fix test_share on GLESv2
Julien Isorce [Tue, 1 Oct 2013 11:27:07 +0000 (11:27 +0000)]
[820/906] gstglwindow: if available use wayland instead dispmanx on rpi
Matthew Waters [Thu, 26 Sep 2013 15:15:25 +0000 (01:15 +1000)]
[819/906] make gen_texture/del_texture threadsafe
Use stack allocated instead of static variables
Conflicts:
gst-libs/gst/gl/gstglutils.c
Matthew Waters [Wed, 25 Sep 2013 02:26:57 +0000 (12:26 +1000)]
[818/906] window: add send_message_async vmethod
- provide a default synchronous send_message
- make context creation threadsafe again
Matthew Waters [Tue, 24 Sep 2013 06:37:11 +0000 (16:37 +1000)]
[817/906] make the state change test pass
Matthew Waters [Tue, 24 Sep 2013 04:07:58 +0000 (14:07 +1000)]
[816/906] x11: fix make check segfault
Matthew Waters [Fri, 20 Sep 2013 01:55:36 +0000 (11:55 +1000)]
[815/906] fix some refcount errors
Matthew Waters [Fri, 20 Sep 2013 01:54:42 +0000 (11:54 +1000)]
[814/906] mixer: timestamp buffers
Matthew Waters [Mon, 16 Sep 2013 09:07:18 +0000 (19:07 +1000)]
[813/906] unref the pool on shutdown
Matthew Waters [Sun, 15 Sep 2013 04:23:43 +0000 (14:23 +1000)]
[812/906] move the GL vtable from GstGLDisplay to GstGLContext
Conflicts:
tests/check/libs/gstglcontext.c
Matthew Waters [Thu, 22 Aug 2013 05:55:35 +0000 (15:55 +1000)]
[811/906] tests: update for GstGLContext addition
Julien Isorce [Thu, 26 Sep 2013 13:46:16 +0000 (14:46 +0100)]
[810/906] gstglutils: use gl_vtable for glDeleteTextures
Julien Isorce [Thu, 26 Sep 2013 13:43:19 +0000 (14:43 +0100)]
[809/906] tests: port test_share to GLES2
Also add a deinit function to release fbo, tex and shader.
Matthew Waters [Tue, 3 Sep 2013 12:03:03 +0000 (22:03 +1000)]
[808/906] x11: remove dead code
Matthew Waters [Tue, 3 Sep 2013 11:49:18 +0000 (21:49 +1000)]
[807/906] context: Move some window error enums to context
Matthew Waters [Thu, 29 Aug 2013 14:28:04 +0000 (00:28 +1000)]
[806/906] egl: doesn't require the EGLConfig from the other context
libEGL should give us the same or similar EGLConfig from the
EGLDisplay we have.
Matthew Waters [Thu, 29 Aug 2013 14:22:31 +0000 (00:22 +1000)]
[805/906] glfilter: rename external-opengl-context prop to other-context
It now requires a GstGLContext instead of a handle
Julien Isorce [Fri, 30 Aug 2013 14:53:41 +0000 (15:53 +0100)]
[804/906] rpi: call bcm_host_init in plugin_init
Julien Isorce [Fri, 30 Aug 2013 13:12:37 +0000 (14:12 +0100)]
[803/906] raspberrypi: add support for dispmanx
See https://bugzilla.gnome.org/show_bug.cgi?id=703342
Matthew Waters [Thu, 29 Aug 2013 10:12:27 +0000 (20:12 +1000)]
[802/906] add GstGLContext test that tests context sharing
Matthew Waters [Thu, 29 Aug 2013 10:10:42 +0000 (20:10 +1000)]
[801/906] context: Reimplement GL context sharing
https://bugzilla.gnome.org/show_bug.cgi?id=704806
Matthew Waters [Wed, 21 Aug 2013 14:29:36 +0000 (00:29 +1000)]
[798/906] build: install needed header
Matthew Waters [Wed, 21 Aug 2013 05:40:52 +0000 (15:40 +1000)]
[797/906] x11: fix build for clang
Matthew Waters [Wed, 21 Aug 2013 04:05:56 +0000 (14:05 +1000)]
[796/906] move egl into its own directory
Matthew Waters [Wed, 21 Aug 2013 03:57:56 +0000 (13:57 +1000)]
[795/906] android: port to GstGLContext
not tested
Matthew Waters [Thu, 15 Aug 2013 07:09:04 +0000 (17:09 +1000)]
[794/906] context: add subclasses for the different platforms (egl, glx, wgl, etc)
- most code taken from the Window subclasses
- tested combinations: xEGL, GLX, Wayland+EGL, Cocoa (under GNUStep), WGL (Wine)
Matthew Waters [Wed, 14 Aug 2013 00:44:19 +0000 (10:44 +1000)]
[793/906] add a GstGLContext object that will be the basis of OpenGL contexts
At the moment it just sits in between GstGLDisplay and GstGLWindow
performing some of the stuff that GstGLWindow used to do.
Matthew Waters [Tue, 13 Aug 2013 10:10:56 +0000 (20:10 +1000)]
[792/906] build: use our own in tree headers before system ones
allows us to develop against the tree rather than what may be installed
Julien Isorce [Fri, 16 Aug 2013 15:29:12 +0000 (16:29 +0100)]
[791/906] glwindow/x11: remove X11EventSource as soon as the window is deleted
gst_gl_window_x11_send_message do not use XSendEvent anymore
Sebastian Dröge [Wed, 7 Aug 2013 15:11:59 +0000 (17:11 +0200)]
[789/906] egl: Create a window surface if necessary
Tonu Jaansoo [Wed, 7 Aug 2013 09:46:49 +0000 (11:46 +0200)]
[788/906] osx: Fix compilation
Tonu Jaansoo [Wed, 7 Aug 2013 09:42:46 +0000 (11:42 +0200)]
[787/906] gl: The GLSL rectangle resampler does not always work with int tex coords
Use floats instead.
Sebastian Dröge [Wed, 24 Jul 2013 11:35:27 +0000 (13:35 +0200)]
[786/906] glprototypes: Add support for NV extensions for DrawBuffers and ReadBuffer
Sebastian Dröge [Wed, 24 Jul 2013 11:34:20 +0000 (13:34 +0200)]
[785/906] egl: Use EGL_KHR_surfaceless_context instead of creating a useless surface if available
Sebastian Dröge [Fri, 19 Jul 2013 08:07:54 +0000 (10:07 +0200)]
[782/906] gldownload: Use strlen() instead of sizeof(char*)
gstgldownload.c:846:22: error: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess]
Matthew Waters [Fri, 19 Jul 2013 06:48:03 +0000 (16:48 +1000)]
[781/906] download: propogate errors from the GL thread
Matthew Waters [Thu, 18 Jul 2013 10:21:57 +0000 (20:21 +1000)]
[780/906] up/download: check return values
So we fail properly
Matthew Waters [Thu, 18 Jul 2013 09:37:32 +0000 (19:37 +1000)]
[779/906] download: remove _thread variants of the API
Matthew Waters [Thu, 18 Jul 2013 09:36:27 +0000 (19:36 +1000)]
[778/906] upload: remove _thread variants of the API
Matthew Waters [Thu, 18 Jul 2013 09:17:18 +0000 (19:17 +1000)]
[777/906] upload: overhaul and addition of new video formats
use the shaders from eglglessink (adapted for Desktop GL)
error out properly
Matthew Waters [Wed, 17 Jul 2013 11:17:03 +0000 (21:17 +1000)]
[776/906] download: fix compiler warning about missing string format
Sebastian Dröge [Fri, 19 Jul 2013 07:20:09 +0000 (09:20 +0200)]
[775/906] configure: Check for GLeglImageOES and others again
https://bugzilla.gnome.org/show_bug.cgi?id=704498
Sebastian Dröge [Thu, 18 Jul 2013 18:26:44 +0000 (20:26 +0200)]
[774/906] win32: Fix some compiler errors/warnings
Mathieu Duponchelle [Wed, 17 Jul 2013 23:42:31 +0000 (01:42 +0200)]
[773/906] glfilters: Mark writable-only properties as readable as well
https://bugzilla.gnome.org/show_bug.cgi?id=704429
Sebastian Dröge [Wed, 17 Jul 2013 09:22:02 +0000 (11:22 +0200)]
[771/906] gl: Some less long/ulong/gulong usage
Matthew Waters [Thu, 4 Jul 2013 00:01:52 +0000 (10:01 +1000)]
[766/906] utils: generate a RGBA texture in all cases
Matthew Waters [Wed, 3 Jul 2013 11:01:25 +0000 (21:01 +1000)]
[765/906] wayland: remove fullscreen
Matthew Waters [Wed, 3 Jul 2013 04:37:13 +0000 (14:37 +1000)]
[764/906] filter: fix pad template caps
upload is for the sink template
download is form the src template
Matthew Waters [Wed, 3 Jul 2013 04:13:00 +0000 (14:13 +1000)]
[763/906] memory: copy properly depending on where the most recent data is
Sebastian Dröge [Tue, 16 Jul 2013 12:11:46 +0000 (14:11 +0200)]
[762/906] glimagesink: Fix some memory leaks and properly set up the buffer pool
Sebastian Dröge [Tue, 16 Jul 2013 11:28:19 +0000 (13:28 +0200)]
[761/906] x11: Protect event display connection with a mutex
We use it from different threads and need to serialize the
accesses to it.
Sebastian Dröge [Tue, 16 Jul 2013 11:23:54 +0000 (13:23 +0200)]
[760/906] x11: Always use the same display connection from the GL thread
The other display connection might be used by async calls from elsewhere
at the same time.
https://bugzilla.gnome.org/show_bug.cgi?id=704247
Sebastian Dröge [Mon, 15 Jul 2013 19:44:20 +0000 (21:44 +0200)]
[759/906] gldownload: #ifdef some GLES2 specific code to fix compilation
Sebastian Dröge [Mon, 15 Jul 2013 16:07:12 +0000 (18:07 +0200)]
[758/906] android: Don't require a window to be set
This allows the filters to be usable without a GL sink downstream.
Sebastian Dröge [Mon, 15 Jul 2013 16:01:55 +0000 (18:01 +0200)]
[757/906] egl: Create an offscreen surface if no window was provided
Sebastian Dröge [Mon, 15 Jul 2013 15:20:00 +0000 (17:20 +0200)]
[756/906] gldownload: Reset the viewport after download RGB via GLES2
Sebastian Dröge [Mon, 15 Jul 2013 15:11:59 +0000 (17:11 +0200)]
[755/906] gldownload: Unbind framebuffer after downloading RGB with GLES2
Sebastian Dröge [Mon, 15 Jul 2013 15:08:42 +0000 (17:08 +0200)]
[754/906] gldownload: Add support for RGB reordering when using GLES2
Sebastian Dröge [Mon, 15 Jul 2013 15:08:23 +0000 (17:08 +0200)]
[753/906] gldisplay: Sending a message is synchronous, we can allocate the memory on the stack
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