Re: [Mesa-dev] glxinfo and indirect contexts on nvidia driver

2014-02-12 Thread Fredrik Höglund
On Wednesday 12 February 2014, James Jones wrote: > Hi Dave, > > Adding { GLX_DRAWABLEL_TYPE, GLX_WINDOW_BIT } to the attrib list should > work, and would technically be more correct since glxinfo is creating a > window drawable. 32-bit float FBConfigs won't be able to render to X > drawables

Re: [Mesa-dev] glxinfo and indirect contexts on nvidia driver

2014-02-11 Thread James Jones
Hi Dave, Adding { GLX_DRAWABLEL_TYPE, GLX_WINDOW_BIT } to the attrib list should work, and would technically be more correct since glxinfo is creating a window drawable. 32-bit float FBConfigs won't be able to render to X drawables (at least on our driver), so they don't have associated visua

[Mesa-dev] glxinfo and indirect contexts on nvidia driver

2014-02-11 Thread Dave Airlie
Hey, so currently glxinfo with our libGL vs indirect nvidia GL fails to work, The main reason is we get fbconfigs, our libGL picks the best fbconfig as a 32-bit per channel RGBA, but then glXGetVisualFromFBConfig fails on that since I assume it wants 8-bit per channel ones. Now I can fix this to