summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-04-23cairoxsink: Refactor setup codeHEADmasterBenjamin Otte1-51/+85
--- and take the stream lock on set_xwindow_id() to avoid races leading to crashes.
2010-04-22cairoxsink: rework size handlingBenjamin Otte2-12/+36
Now the code does the right thing for embedded and native windows
2010-04-22cairoxsink: Completely rework window handlingBenjamin Otte4-83/+153
We now always create a subwindow. This is useful because otherwise GL will throw various errors at us. It makes the code slightly more complicated, but we gotta live with that.
2010-04-22cairoxsink: Paint with black when there's no image to paintBenjamin Otte1-6/+8
2010-04-22memleak: Don't leak each and every surfaceBenjamin Otte1-0/+1
That's a huge memleak, well hidden by the fact that we only allocate memory on the GPU these days. Thanks to Filippo Argiolas for spotting this.
2010-04-21Make the supported_types functions more readableBenjamin Otte1-30/+35
2010-04-20Make sure non-cairo buffers work for surface-type==0 againBenjamin Otte4-7/+13
2010-04-20Modify API for expanding with types.Benjamin Otte3-34/+61
There's now gst_cairo_caps_expand_for_surface_types(). This function does the right thing and allows the following pipeline to work: . ! video/x-cairo,surface-type=18 ! cairoxconvert ! video/x-raw-yuv ! . which previously did not work.
2010-04-20cairoxsink: Properly manage resizingBenjamin Otte1-2/+2
In particular, remove resizing after negotiation code, that code was completely wrong.
2010-04-20Fail if a default alloc functions hands us a broken bufferBenjamin Otte1-0/+12
2010-04-19cairoxsink: Actually emit overlay signalsBenjamin Otte1-0/+3
2010-04-19cairoxsink: Implement the XOverlay interfaceBenjamin Otte2-60/+182
2010-04-19Only allocate a buffer if the format doesn't require a specific typeBenjamin Otte1-2/+7
If there's a specified type but that type doesn't provide a buffer, we return an error, currently GST_FLOW_ERROR_NOT_SUPPORTED, but that might change in the future.
2010-04-19docs: Add new function to docsBenjamin Otte1-0/+1
2010-04-19projectM: flip surfaceBenjamin Otte1-1/+2
Apparently the projectM texture's contents are on its head.
2010-04-19projectM: acquire gl context before calling into projectmBenjamin Otte1-4/+14
Fixes random crashes
2010-04-19cairoxconvert: Convert to new target API that cairoxsink usesBenjamin Otte2-12/+43
This way, cairoxconvert now supports OpenGL
2010-04-19Add gst_cairo_caps_expand_surface_types() APIBenjamin Otte2-8/+36
This allows filters to easily add surface types they support natively.
2010-04-19xlib: Rework sink managementBenjamin Otte10-599/+409
Instead of cairoxsink, carioglxsink, ... we now only have cairoxsink and it will decide on the proper output method using caps.
2010-04-17Add a types argument to all _default() functionsBenjamin Otte6-32/+83
The types argument is either NULL or a 0-terminated array of surface types a sink can produce. This completes support for passing GL through pipelines.
2010-04-17Allow specifying that type of surfaces in a pipelineBenjamin Otte21-36/+175
1) Add surface-type property to video/x-cairo If surface-type == 0, any surface type can be used (including images). Otherwise, buffers must be of the given cairo_surface_type_t. The supported API makes sure to never expand the surface type. 2) Differentiate between "default" and "any" caps "default" are the caps gst-cairo can produce itself (read: everything that can be expressed using image surfaces). "any" include the default caps and all the other caps that can be created with specific sink elements. 3) Add API for these new caps. Every function that was previously available with _any is now available with _default, too. Both types are equally important. 3) Make projectm require GL surfaces This currently means that projectm cannot be linked to anything.
2010-04-17Add code to negotiation code that checks for empty capsBenjamin Otte1-1/+6
In that case, fail with NOT_NEGOTIATED
2010-04-17Add a projectM pluginBenjamin Otte4-1/+564
2010-04-17ignore docs directory completelyBenjamin Otte1-0/+1
2010-04-16PangoTimeOverlay is a GstBaseTransformBenjamin Otte1-1/+1
oops, wonder why it didn't crash before...
2010-04-16Make GstCairoXSource acquire the device when operating on the DisplayBenjamin Otte4-9/+38
2010-03-25configure: s/GST_CVS/GST_GIT/Benjamin Otte1-4/+4
2010-03-25Remove C++Benjamin Otte1-6/+0
We're all C, yay!
2010-03-25Add swfdec's warning flagsBenjamin Otte9-44/+52
And fix all warnings
2010-03-25Update common submoduleBenjamin Otte1-0/+0
2010-03-25Add an experimental GLX sinkBenjamin Otte5-1/+509
2010-03-16Port to real Cairo APIBenjamin Otte15-741/+141
2010-02-16build: docs need gst-libsBenjamin Otte1-2/+2
2009-11-20Make the g_once_init_enter() madness not emit gcc warningsBenjamin Otte1-4/+4
2009-11-20Fix gst_cairo_caps_any's run-once variable storage setup.Eric Anholt1-1/+1
Simple gst pipelines were segfaulting due to uninitialized variable issues.
2009-11-20Mark the mask surface as dirty after touching all its pixelsBenjamin Otte1-0/+1
Cairo is smart enough to assume it's still clean otherwise and then skips masking with it.
2009-11-19[doc] Add forgotten fileBenjamin Otte1-0/+2
2009-10-23Add documentation for sectionsBenjamin Otte3-2/+51
2009-10-22Restructure docs and add introductionBenjamin Otte2-5/+57
2009-10-22Reorganize documentation layoutBenjamin Otte1-20/+18
2009-10-22Document all missing structuresBenjamin Otte2-1/+36
2009-10-22Add documentation for all missing functionsBenjamin Otte3-1/+79
2009-10-22Add gtkdoc supportBenjamin Otte6-0/+158
Documentation is not complete yet.
2009-10-19Make GstCairoBuffer privateBenjamin Otte7-31/+70
It's not needed in the public API anymore as Xlib stuff is handled in the lib now. Also includes some reorganization of included headers because of this.
2009-10-19remove unneeded cruft from Makefile.am filesBenjamin Otte3-9/+0
2009-10-19gst_cairo_format_get_frame_rate() => gst_cairo_format_get_framerate()Benjamin Otte4-9/+9
framerate is written like this in all of GStreamer, so for consistency, use that spelling.
2009-10-19Use gst_caps_set_{simple,value} instead of our own functionsBenjamin Otte5-83/+13
The functions are in gstreamer 0.10.26
2009-10-14Add missing G_BEGIN/END_DECLSBenjamin Otte2-0/+9
2009-10-14Add gst_cairo_format_get_pixel_aspect_ratio()Benjamin Otte2-0/+35
2009-10-14Handle xlib in the core libBenjamin Otte12-180/+262
The code will only be compiled if xlib code is available, but is now available via the gst_buffer_new_similar() and gst_create_similar_surface() APIs. It also cleans up the xlib elements quite a bit.