[gst-devel] glupload, glimagesink openGL question

Julien Isorce julien.isorce at gmail.com
Fri Aug 28 17:50:47 CEST 2009


Hi Miquel,

Could you review your changes and make a patch that I would be able to
commit ?

-> remove unused line at the begnning
-> use gpointer instead of void*
-> let the #ifdef WIN32 you removed
->  replace the last
g_print ("no yet implemented if not win32\n");
 return -1;

by glXMakeCurrent (sdl_display, None, 0);
-> remove APPLE and mach stuffs at the beginning
-> put #include <GL/glx.h> in a #ifndef WIN32

Then open a bug and attach your patch using git-format

Julien

2009/8/27 Miquel Àngel Farré <miquel.farre at gmail.com>

> Julien,
>
>  Thanks a lot for your sdl example, I have changed some things related with
> sdl_syswm and some casts and finally it works fine on linux :)
>
> Atached you can find the modified example and his makefile
>
>
> Thanks,
>
> Miquel
>
> 2009/8/26 Julien Isorce <julien.isorce at gmail.com>
>
>> Hi Miquel,
>>
>> Take a look at gst-plugins-gl/tests/examples/sdl/sdlshare.c example.
>>
>> (note that I have currently only tested it on win32, but I did the stuffs
>> for GLX, so it should work on linux too)
>>
>> I think your use case is a little bit more complex because you was talking
>> about threads,
>> maybe because of sdl main loop and glib main loop.
>> So if you succeed then I would like to put your example in gst gl git.
>>
>> Regards
>> Julien
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090828/866df5d6/attachment.htm>


More information about the gstreamer-devel mailing list