GL: gstglcontext_cocoa.h missing from 1.12

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

GL: gstglcontext_cocoa.h missing from 1.12

Gottfried Haider
Hello,

I saw that commit 2a440f60 [1] did away with the public
gstglcontext_cocoa.h header in gst-plugins-bad.

In prior versions of GStreamer I was using this header to enable GL
context sharing on macOS - see the __APPLE__ define in my code for
what exactly [2]. Do you have a suggestion for how I would
forward-port this to 1.12?

Thanks in advance,
Gottfried

[1] https://github.com/GStreamer/gst-plugins-bad/commit/2a440f60e400137ae2b5b267b6cc75239eda545e#diff-6f6590adafc17b596261de5d82d5df3f
[2] https://github.com/gohai/processing-glvideo/blob/master/src/native/impl.c
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GL: gstglcontext_cocoa.h missing from 1.12

Sebastian Dröge-3
On Wed, 2017-05-24 at 16:06 +0200, Gottfried Haider wrote:
> Hello,
>
> I saw that commit 2a440f60 [1] did away with the public
> gstglcontext_cocoa.h header in gst-plugins-bad.
>
> In prior versions of GStreamer I was using this header to enable GL
> context sharing on macOS - see the __APPLE__ define in my code for
> what exactly [2]. Do you have a suggestion for how I would
> forward-port this to 1.12?

Please file a bug about this. Using gst_gl_context_new_wrapped() might
be a solution for you though, if not we should expose some API that
allows your use case.

For that function, see
  gst-plugins-bad/gst-libs/gst/gl/cocoa/gstglcaopengllayer.m
as an example.

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (981 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GL: gstglcontext_cocoa.h missing from 1.12

Matthew Waters
In reply to this post by Gottfried Haider

On 24 May 2017 10:03 am, "Gottfried Haider" <[hidden email]> wrote:
Hello,

I saw that commit 2a440f60 [1] did away with the public
gstglcontext_cocoa.h header in gst-plugins-bad.

In prior versions of GStreamer I was using this header to enable GL
context sharing on macOS - see the __APPLE__ define in my code for
what exactly [2]. Do you have a suggestion for how I would
forward-port this to 1.12?

Thanks in advance,
Gottfried

[1] https://github.com/GStreamer/gst-plugins-bad/commit/2a440f60e400137ae2b5b267b6cc75239eda545e#diff-6f6590adafc17b596261de5d82d5df3f
[2] https://github.com/gohai/processing-glvideo/blob/master/src/native/impl.c

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GL: gstglcontext_cocoa.h missing from 1.12

Gottfried Haider
Works. Thanks a lot, Matt!

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel