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
Matthew Waters [Thu, 17 Jan 2013 12:14:49 +0000 (23:14 +1100)]
[652/906] bumper: port to non-GLEW + arrays
Matthew Waters [Thu, 17 Jan 2013 12:12:35 +0000 (23:12 +1100)]
[651/906] up/download: fix some typos when removing GLEW
Matthew Waters [Wed, 16 Jan 2013 11:41:18 +0000 (22:41 +1100)]
[650/906] filter: fix _draw_texture()'s wrong vertices
Matthew Waters [Wed, 16 Jan 2013 11:27:10 +0000 (22:27 +1100)]
[649/906] effects: fixes for mirror(1) and squeeze(2) producing black
Matthew Waters [Wed, 16 Jan 2013 04:23:49 +0000 (15:23 +1100)]
[648/906] tests/examples: remove dependency on glew
Matthew Waters [Wed, 16 Jan 2013 04:21:44 +0000 (15:21 +1100)]
[647/906] remove dependecy on glew
Matthew Waters [Sat, 12 Jan 2013 13:09:33 +0000 (00:09 +1100)]
[646/906] some gl header fixes/additions
Matthew Waters [Thu, 10 Jan 2013 02:32:16 +0000 (13:32 +1100)]
[645/906] fix gles2 compilation
Matthew Waters [Wed, 9 Jan 2013 23:57:11 +0000 (10:57 +1100)]
[644/906] update .gitignore for some new files
Matthew Waters [Wed, 9 Jan 2013 14:44:54 +0000 (01:44 +1100)]
[643/906] display: privatise most of the struct
Matthew Waters [Wed, 9 Jan 2013 14:13:23 +0000 (01:13 +1100)]
[642/906] add gstglconfig.h for apps to find out what our capabilites are
ie libgstgl can be compiled with any combination of opengl/gles2
Matthew Waters [Wed, 9 Jan 2013 13:30:03 +0000 (00:30 +1100)]
[641/906] display: feature check for GL extension functions
Matthew Waters [Wed, 9 Jan 2013 13:25:06 +0000 (00:25 +1100)]
[640/906] build: add missing file to built sources
Matthew Waters [Wed, 9 Jan 2013 13:23:32 +0000 (00:23 +1100)]
[639/906] add get_proc_address implementations for egl and glx
Matthew Waters [Tue, 8 Jan 2013 06:40:39 +0000 (17:40 +1100)]
[638/906] window: add get_proc_address + stub for retrieving gl functions
Matthew Waters [Tue, 8 Jan 2013 06:38:40 +0000 (17:38 +1100)]
[637/906] x11_egl: add prelim support for choosing opengl or gles
Matthew Waters [Tue, 8 Jan 2013 06:36:18 +0000 (17:36 +1100)]
[636/906] window_x11: compact debug info
Matthew Waters [Mon, 7 Jan 2013 03:08:39 +0000 (14:08 +1100)]
[635/906] fixup compile errors
Matthew Waters [Wed, 19 Dec 2012 03:54:21 +0000 (14:54 +1100)]
[634/906] wayland egl: deactivate context before we destroy it
avoids a segfault with dri drivers
Matthew Waters [Wed, 19 Dec 2012 03:32:20 +0000 (14:32 +1100)]
[633/906] display: fail properly in context creation in order to minimize a race condition
previously, on context creation, when we failed to get a valid context
we would still atempt to run the window mainloop as well as setting an error
on the display. This would cause the calling element to finalize the display
and therefore attempt to quit the window mainloop. However the mainloop
may not have started running. Thus when the window mainloop ran it would
never a get a quit message and never end.
Matthew Waters [Tue, 18 Dec 2012 07:31:00 +0000 (18:31 +1100)]
[632/906] remove stray )
The rest is indent stuff from the stray )
Matthew Waters [Tue, 18 Dec 2012 07:29:11 +0000 (18:29 +1100)]
[631/906] remove redefinition warnings in compiling tests
Matthew Waters [Sat, 8 Dec 2012 22:32:48 +0000 (09:32 +1100)]
[630/906] display: add gl api checking
i.e. check for cases where the window wants a different API than
what the library was compiled with
Matthew Waters [Sat, 8 Dec 2012 22:30:48 +0000 (09:30 +1100)]
[629/906] window: add GError for error handling of context creation
Matthew Waters [Sat, 8 Dec 2012 22:04:32 +0000 (09:04 +1100)]
[628/906] shader filter: don't do anything if we don't have a shader file
Matthew Waters [Fri, 7 Dec 2012 02:32:28 +0000 (13:32 +1100)]
[627/906] shader: check for invalid objects
Matthew Waters [Thu, 6 Dec 2012 13:20:58 +0000 (00:20 +1100)]
[626/906] fix build failure from undefined macro
Matthew Waters [Thu, 6 Dec 2012 13:16:04 +0000 (00:16 +1100)]
[625/906] add vtable for opengl functions
The vtable provides the ability for one to compile (but not link)
against both OpenGL and GL|ES and starts the move away from GLEW
Matthew Waters [Thu, 6 Dec 2012 07:40:26 +0000 (18:40 +1100)]
[624/906] OPENGL_ES2 => HAVE_GLES2 and add HAVE_OPENGL
use GstGLAPI to determine which code paths to execute.
perform some cleanups
Matthew Waters [Thu, 6 Dec 2012 06:40:47 +0000 (17:40 +1100)]
[623/906] move GL includes into a single file
Matthew Waters [Wed, 5 Dec 2012 06:23:21 +0000 (17:23 +1100)]
[622/906] add missing GL_STENCIL_ATTACHMENT for gles2 compatability
Matthew Waters [Mon, 3 Dec 2012 04:04:49 +0000 (15:04 +1100)]
[621/906] GstGLRendererAPI => GstGLAPI and get GstGLAPI from a window
Matthew Waters [Fri, 30 Nov 2012 06:09:21 +0000 (17:09 +1100)]
[620/906] wayland_egl: attempt at resizing the video
Matthew Waters [Thu, 29 Nov 2012 02:06:24 +0000 (13:06 +1100)]
[619/906] fix typo for win32 debug variables
Matthew Waters [Wed, 28 Nov 2012 14:01:59 +0000 (01:01 +1100)]
[618/906] add wayland-egl window backend
Matthew Waters [Mon, 19 Nov 2012 13:15:05 +0000 (00:15 +1100)]
[617/906] fix 'set but not used' compiler warnings
Matthew Waters [Mon, 19 Nov 2012 11:54:19 +0000 (22:54 +1100)]
[616/906] move window-specific code into seperate subfolders
Matthew Waters [Mon, 19 Nov 2012 10:52:22 +0000 (21:52 +1100)]
[615/906] preliminary support for Win32 EGL
Matthew Waters [Sat, 17 Nov 2012 14:23:52 +0000 (01:23 +1100)]
[614/906] try GLX first when using ANY | OPENGL | OPENGL3
Matthew Waters [Sat, 17 Nov 2012 14:16:44 +0000 (01:16 +1100)]
[613/906] window_cocoa: fix segfault with gst-launch-1.0 -e ... and sending SIGINT (Ctrl-C)
GNUstep has a signal handler for SIGINT which runs in the main thread.
However that thread has never been 'registered' with GNUstep so
the autorelease magic of objective-c causes a segfault from accessing
a null NSThread object somewhere deep in GNUstep.
Matthew Waters [Fri, 16 Nov 2012 07:01:08 +0000 (18:01 +1100)]
[612/906] remove GNUstep makefiles
Matthew Waters [Fri, 16 Nov 2012 06:13:03 +0000 (17:13 +1100)]
[611/906] cocoa port of determining gl platform at runtime
Matthew Waters [Thu, 15 Nov 2012 10:46:21 +0000 (21:46 +1100)]
[610/906] WindowX11EGL: remove get_platform call
Matthew Waters [Thu, 15 Nov 2012 02:17:59 +0000 (13:17 +1100)]
[609/906] win32 port of determining GL platform at runtime
- add GstGLWindowWin32 and GstGLWindowWin32WGL along the same lines as the
X11 variants
Matthew Waters [Wed, 14 Nov 2012 09:39:38 +0000 (20:39 +1100)]
[608/906] add GST_GL_PLATFORM_ANY for choosing any platform
Matthew Waters [Wed, 14 Nov 2012 09:36:16 +0000 (20:36 +1100)]
[607/906] remove get_platform and get_window_handle vfuncs
- rename choose_visual() to choose_format() for later incorporating
win32 changes and new GstGLPlatform for WGL, EGL, GLX, etc.
Matthew Waters [Tue, 13 Nov 2012 11:12:20 +0000 (22:12 +1100)]
[606/906] determine the GL platform to use at runtime
- Make GstGLWindow subclassablerather than specified at compile time.
- Add GstGLWindowX11 for x11 windows and two subclasses, GstGLWindowX11GLX
and GstGLWindwX11EGL for GLX and EGL repectively. (win32 and cocoa
ports to come)
- Also cleanup GL library detection in configure.ac
Matthew Waters [Sun, 2 Dec 2012 03:58:14 +0000 (14:58 +1100)]
[605/906] shader: move to gst debugging
Matthew Waters [Wed, 21 Nov 2012 02:34:15 +0000 (13:34 +1100)]
[604/906] gst_element_class_set_details_simple() => gst_element_class_set_metadata()
Matthew Waters [Thu, 8 Nov 2012 11:53:56 +0000 (22:53 +1100)]
[603/906] update FSF address
Matthew Waters [Sun, 4 Nov 2012 08:15:05 +0000 (19:15 +1100)]
[602/906] hide deprecation warnings with newer clutter versions
Matthew Waters [Wed, 10 Oct 2012 13:24:51 +0000 (00:24 +1100)]
[601/906] fix typo causing shader compilation failure for uploading I420
Matthew Waters [Thu, 27 Sep 2012 05:53:46 +0000 (15:53 +1000)]
[600/906] docs: add docs for new objects and expand on some existing ones
Matthew Waters [Wed, 26 Sep 2012 07:18:53 +0000 (07:18 +0000)]
[599/906] GL|ES2: fix typos from recent changes and make downloading RGB formats work again
Matthew Waters [Tue, 25 Sep 2012 09:26:17 +0000 (19:26 +1000)]
[598/906] examples: fix compilation of cluttershare
Matthew Waters [Tue, 25 Sep 2012 08:13:41 +0000 (18:13 +1000)]
[597/906] tests: add some simple pipeline tests to check
Matthew Waters [Tue, 25 Sep 2012 08:07:23 +0000 (18:07 +1000)]
[596/906] colorscale: port over to filter base class
Matthew Waters [Tue, 25 Sep 2012 08:06:14 +0000 (18:06 +1000)]
[595/906] update for filter API change
gleffects needed a similar change
Matthew Waters [Tue, 25 Sep 2012 07:59:27 +0000 (17:59 +1000)]
[594/906] filter: update for up/download API changes and scaling fixes
Matthew Waters [Tue, 25 Sep 2012 06:03:01 +0000 (16:03 +1000)]
[593/906] testsrc/imagesink: update for up/download API changes
Matthew Waters [Tue, 25 Sep 2012 06:01:54 +0000 (16:01 +1000)]
[592/906] memory: update for up/download API changes
Matthew Waters [Tue, 25 Sep 2012 06:00:48 +0000 (16:00 +1000)]
[591/906] mixer: save the upload object instead of querying for it every frame
Matthew Waters [Tue, 25 Sep 2012 05:20:21 +0000 (15:20 +1000)]
[590/906] up/download: fix scaling on transfer
i.e. uploading from a 10x10 video frame to a 20x20 texture into another 30x30 videoframe
Matthew Waters [Thu, 20 Sep 2012 13:45:26 +0000 (23:45 +1000)]
[589/906] Revert "GLColorscale: convert to a bin of glupload ! gldownload"
The elements no longer exist so we have to do something different
Matthew Waters [Thu, 20 Sep 2012 13:41:00 +0000 (23:41 +1000)]
[588/906] mosaic: update for mixer changes and convenience API
Matthew Waters [Thu, 20 Sep 2012 13:27:00 +0000 (23:27 +1000)]
[587/906] mixer: mirror the changes done for filter
Matthew Waters [Thu, 20 Sep 2012 13:21:19 +0000 (23:21 +1000)]
[586/906] fix up some debug statements to get them into the right categories
Matthew Waters [Thu, 20 Sep 2012 13:20:00 +0000 (23:20 +1000)]
[585/906] gltestsrc: update for new GLDownload in libs
Matthew Waters [Thu, 20 Sep 2012 13:16:08 +0000 (23:16 +1000)]
[584/906] glimagesink: update for new GLUpload object in libs
Matthew Waters [Thu, 20 Sep 2012 13:06:49 +0000 (23:06 +1000)]
[583/906] deinterlace: change for new API
also allow elements to call the _filter_texture vfunc if they want
Matthew Waters [Thu, 20 Sep 2012 13:03:55 +0000 (23:03 +1000)]
[582/906] filters: changes for new API
Matthew Waters [Tue, 18 Sep 2012 14:32:30 +0000 (00:32 +1000)]
[581/906] filter: add seperate filter function for operating on textures instead of buffers
Matthew Waters [Tue, 18 Sep 2012 14:29:57 +0000 (00:29 +1000)]
[580/906] bufferpool: remove obselete gl meta buffer pool options
Matthew Waters [Tue, 18 Sep 2012 11:42:24 +0000 (21:42 +1000)]
[579/906] download: fix YV12 format
same as I420 but plane 1+2 swapped
Matthew Waters [Tue, 18 Sep 2012 11:39:21 +0000 (21:39 +1000)]
[578/906] {up,down}load: add variants that can be called in the gl thread
Matthew Waters [Mon, 17 Sep 2012 00:37:37 +0000 (10:37 +1000)]
[577/906] remove upload and download elements from the build system
Matthew Waters [Mon, 17 Sep 2012 00:30:01 +0000 (10:30 +1000)]
[576/906] remove uneeded GstGLMeta (use GstVideoMeta)
Matthew Waters [Sun, 16 Sep 2012 11:42:08 +0000 (21:42 +1000)]
[575/906] filter: port to new upload/download
Matthew Waters [Sun, 16 Sep 2012 11:36:09 +0000 (21:36 +1000)]
[574/906] memory: implement transperent upload/download for data
(not async yet)
Matthew Waters [Sun, 16 Sep 2012 11:23:09 +0000 (21:23 +1000)]
[573/906] add upload and download library objects
allows multiple upload pipelines that previously wasn't possible
(i.e. upload RGB and I420 and ... on the same GstGLDisplay)
Matthew Waters [Sun, 16 Sep 2012 11:11:46 +0000 (21:11 +1000)]
[572/906] remove upload and download elements
to be replaced by upload and download in memory
Matthew Waters [Wed, 5 Sep 2012 04:58:38 +0000 (14:58 +1000)]
[571/906] mixer: fix deadlock on shutdown
didn't reiterate over the sinkpad's displays and reactivate them causing a deadlock
Matthew Waters [Tue, 4 Sep 2012 12:50:00 +0000 (22:50 +1000)]
[570/906] remove the requirement for VideoMeta to be present on non-GL buffers
Matthew Waters [Mon, 20 Aug 2012 06:55:41 +0000 (16:55 +1000)]
[569/906] differencematte: prevent double unref of shader and midtexture
Matthew [Mon, 27 Aug 2012 14:08:16 +0000 (14:08 +0000)]
[568/906] window: fix public definitions
Matthew [Mon, 27 Aug 2012 14:07:31 +0000 (14:07 +0000)]
[567/906] fix OpenGL|ES2 ifdef'ed code
Matthew Waters [Mon, 20 Aug 2012 03:27:50 +0000 (13:27 +1000)]
[566/906] effects: avoid using tanh in sin_fragment
It produces weird results on nouveau.
Provide an alternative implementation with (1-sinh)*cosh
Matthew Waters [Mon, 20 Aug 2012 03:06:27 +0000 (13:06 +1000)]
[565/906] effects: fix shader compilation with mesa drivers
Matthew Waters [Wed, 15 Aug 2012 11:37:01 +0000 (21:37 +1000)]
[564/906] glmemory: remove unused typedef
Matthew Waters [Wed, 15 Aug 2012 06:52:48 +0000 (16:52 +1000)]
[563/906] readd support for hanging GL pipelines e.g. ... ! gleffects ! fakesink
Matthew Waters [Wed, 15 Aug 2012 05:35:46 +0000 (15:35 +1000)]
[562/906] gldisplay: fix download of YUV formats
Matthew Waters [Tue, 14 Aug 2012 13:55:14 +0000 (23:55 +1000)]
[561/906] gldisplay: fix endianess issues on RGB download
Matthew Waters [Tue, 14 Aug 2012 04:41:19 +0000 (14:41 +1000)]
[560/906] examples: update for bus api changes and glimagesink changes
Matthew Waters [Mon, 13 Aug 2012 16:05:13 +0000 (02:05 +1000)]
[559/906] glmixer: pass the mixpad's display to the querying element
Matthew Waters [Sun, 12 Aug 2012 09:03:48 +0000 (19:03 +1000)]
[558/906] add missing includes for _post_missing_element_message in glcolorspace