So I tried to run cairo-dock and ran into some really dumb insanity in it 
which I'm sure isn't GL compliant but I'm not sure how I should tell it to 
foad.

So it calls gtk init and this opens a display connection, it then calls
XOpenDisplay in another place, it createa context on the gtk inited 
connection, then creates another context on the XOpenDisplay connection 
passing the gtk context as a share.

Now we don't end up with the same screen as they were inited on separate 
display connections, and thusly the contexts shared buffer objects from 
different kernel memory managers which blows up.

So is this legal? I suspect we should be returning BadMatch to the 
glXCreateContext.

Dave.

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
Linux kernel - DRI, VAX / pam_smb / ILUG


------------------------------------------------------------------------------
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to