GLXContext is defined on glx.h:165 as : 

typedef struct __GLXcontextRec *GLXContext;

it seems to be a pointer to __GLXcontextRec struct
then we have a problem right ?

+
a

--
do it yourself                      
http://antoine.villeret.free.fr

2014-10-28 9:13 GMT+01:00 IOhannes zmölnig <zmoelnig@iem.at>:


Am 27. Oktober 2014 19:18:06 MEZ, schrieb Antoine Villeret <antoine.villeret@gmail.com>:
>
>isn't it possible to handle this original context in the first Gem
>instance and put it in a shared memory ?
>then in the second Gem, couldn't we use that first context in
>glXCreateContext() ?

I dont know off hand how a "glxcontext" is represented. If its a pointer we have a problem. If its POD it might just work.

mfg.ugd.fhj
IOhannes

--
Sent from my pdp-11

_______________________________________________
GEM-dev mailing list
GEM-dev@lists.iem.at
http://lists.puredata.info/listinfo/gem-dev