[gst-devel] Querying GL context pixel format

Andrey Nechypurenko andreynech at yahoo.com
Thu Nov 5 11:21:39 CET 2009


Hi,

The glupload/Qt texture sharing example works now. 
Thanks to all of you answered to my questions.

I submit the Bug 600797 with attached sources. Now GL plugin 
developers can decide whether to include this example in 
gst-plugins-gl/tests/examples/qt ;-) .


Regards,
Andrey.


________________________________
From: Julien Isorce <julien.isorce at gmail.com>
To: Discussion of the development of GStreamer <gstreamer-devel at lists.sourceforge.net>
Sent: Wed, November 4, 2009 5:54:05 PM
Subject: Re: [gst-devel] Querying GL context pixel format

have you checked that the sdlshare or cluttershare examples are working on your win32 environment ?
(works on mine)



2009/11/4 Andrey Nechypurenko <andreynech at yahoo.com>

>>>> set GST_GL_WINDOW_DEBUG=1
>
>>>>>> before launching the pipeline, it should output some debug
>>>>>> informations about
>>>>>> success or failure when sharing gl contexts.
>>>>
>>>>Sorry for such a question, but where this output goes on
>>>>Windows? I do not see anything neither in console nor in MSVC
>>>>output window where debug messages are usually printed. Or maybe
>>>>it is because I am using "release" version of gstreamer DLLs?
>>>
>>>open a console then just type:  set GST_GL_WINDOW_DEBUG=1
>>>(as you can also do: set GST_DEBUG=gldisplay:3
>>>and
>>>set GST_GL_SHADER_DEBUG=1)
>>>then enter your pipeline as usually.
>>>
>>> Hmm... My self-compiled gst-launch actually generates debug
>>> output, but my GUI application not.
>
>Adding CONFIG += console in .pro file got back the stdout. So now I
>>can see the following messages:
>
>>GstGLWindow-DEBUG: WM_CREATE
>>GstGLWindow-DEBUG: gl context created: 196608d
>>GstGLWindow-DEBUG: failed to share opengl context 196608d with 65537d
>>GstGLWindow-DEBUG: gl window created: 330264d
>>GstGLWindow-DEBUG: begin loop
>
>>So it seams like the problem is really with context sharing on Windows.
>
>
>
>
>
>>------------------------------------------------------------------------------
>>Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
>>trial. Simplify your report design, integration and deployment - and focus on
>>what you do best, core application coding. Discover what's new with
>>Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>_______________________________________________
>>gstreamer-devel mailing list
>gstreamer-devel at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



      




More information about the gstreamer-devel mailing list