After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 625144 - [gst-plugins-gl] fixed qglwtextureshare example to work on a Mac
[gst-plugins-gl] fixed qglwtextureshare example to work on a Mac
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-gl
git master
Other Mac OS
: Normal enhancement
: 0.10.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-07-23 19:28 UTC by Nuno Santos
Modified: 2010-08-14 13:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
qglwtextureshare test patch to mac support (5.92 KB, patch)
2010-07-23 19:28 UTC, Nuno Santos
committed Details | Review

Description Nuno Santos 2010-07-23 19:28:51 UTC
Created attachment 166465 [details] [review]
qglwtextureshare test patch to mac support

This patch is supposed to enhance the Qt qglwtextureshare example that comes on tests/examples of gst-plugins-gl

The test didn't work right on a Mac, the context was being obtain as a X11 context and not a NSOpengl context.

The patch adds a new file and makes minor changes on code.

This is my first bug submission ever. I hope everything is ok. 

I had to make a git commit since one file was added. 

Thx to all, specially to Julian Isorce! :)
Comment 1 Julien Isorce 2010-07-23 20:03:41 UTC
And just for note, Nuno Santos told me that the following pipeline work on his MacOSX:

gst-launch-0.10 videotestsrc ! glimagesink
gst-launch-0.10 videotestsrc ! "video/x-raw-rgb" ! glimagesink
gst-launch-0.10 videotestsrc ! glupload ! gleffects effect=2 ! glimagesink

with our native Cocoa backend of gst-gl.
Comment 2 Julien Isorce 2010-07-23 20:37:40 UTC
Author: Nuno Santos <nunosantos@imaginando.net>
Date:   Fri Jul 23 22:28:27 2010 +0200

    qglwtextureshare: now works natively on MacOSX

    Retrieve the current NSOpenGLContext because our gst-gl
    backend uses Cocoa on MacOSX.

    Fixes bug #625144