> On Mar 29, 2015, at 07:29, René J.V. Bertin <[email protected]> wrote: > > Hello, > > I know there is no official support for using the xcb platform plugin on OS > X, but since it builds (without particular hurdles): > > The OpenGL examples run on a local X server, despite the fact that the xcb > plugin links to both the X11 GL libraries and {OpenGL,AGL}.framework .
Yeah, you should drop those other links. Hopefully the libGL link is at least first. Most of the gl* function calls in the mesa libGL just forward on to OpenGL.framework, but there are a few that don't. Also, poor GLX support is really one of the biggest issues with XQuartz. I pretty much haven't had any time to work on it, short of taking advantage and finishing off of some others' work to get newer mesa working with XQuartz. > However, quitting apparently requires closing the window through the window > manager, and when I do that I get an error on the calling terminal > > error: xp_attach_gl_context returned: 2 That is XP_BadValue, see /usr/include/Xplugin.h > the error is apparently printed by apple_glx_make_current_context: BTW, assuming you're using XQuartz, we provide the dSYMS. Eg: http://xquartz-dl.macosforge.org/SL/XQuartz-2.7.8_rc1.dSYMS.tar.bz2 I suspect this is http://xquartz.macosforge.org/trac/ticket/420 <snip/> > It'd be easy to chalk this off to a bug in libX11 and/or Mesa, but maybe the > Qt code isn't without blame either? Where could I look for relevant code > paths that are not identical on OS X and Unix/X11/xcb ? No, it's almost certainly the XQuartz-specific GLX bits in mesa that haven't had much attention in 6+ years. ssh://git.freedesktop.org/git/mesa/mesa Note that we need a few patches to get things working: http://trac.macports.org/browser/trunk/dports/x11/mesa/files > FWIW, the "host" Qt install is built normally for OS X; the xcb plugin is > created by building qtbase once more with the relevant options set (and only > the xcb platform and platforminput plugins are then installed to the Qt > plugins directory). The examples are built normally. > > > Thanks, > R. > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > X11-users mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/x11-users/jeremyhu%40freedesktop.org > > This email sent to [email protected]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. X11-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/x11-users/archive%40mail-archive.com This email sent to [email protected]
