X11 vs Cocoa on OS X for GstGL context sharing
Matthew Waters
ystreet00 at gmail.com
Tue Jun 14 10:26:53 UTC 2016
Hi,
Cocoa is known to work and is tested on OS X. glimagesink on OS X uses
shared contexts with a CAOpenGLLayer.
X11 on OS X is not tested regularly and I have heard reports of it not
working. Your mileage may vary ;)
With Cocoa, the connection to the window system is through NSApplication
which should automatically just work for sharing the display connection
between GStreamer and your application and the default
gst_gl_display_new() will work for Cocoa applications.
Cheers
-Matt
On 14/06/16 19:46, Gottfried Haider wrote:
> I've come across many references to
> gst_gl_display_x11_new_with_display and friends in code that is
> presumably also meant to run on OS X. However, I've found that the
> gst/gl/x11/* headers aren't part of recent Framework releases for Mac,
> and neither come when installing with homebrew.
>
> Is Cocoa the only supported way on OS X, or should I try to compile
> gst-plugins-bad myself to include X11 support? (I am hoping to make
> use of GL context sharing on this platform.)
>
> Thanks in advance
> Gottfried
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160614/082af385/attachment.sig>
More information about the gstreamer-devel
mailing list