On 27/11/14 10:33 AM, Nathan Kidd wrote:
> On 27/11/14 12:32 AM, DRC wrote:
>> On 11/26/14 8:52 PM, Nathan Kidd wrote:
>>> A work-around for other proxies would be to make the faked function
>>> query the asked-for connection first, and only supply fake information
>>> if the extension is not found.  All the 2D-Xserver GLX queries should be
>>> checking if GLX is available anyway, and would not occur if the
>>> extension isn't there.  I think this change would push the "we need a
>>> TLS flag" issue into, if not theoretical, at least unnecessary-for-now
>>> territory.
>>
>> OK, now you lost me.  How would your patch prevent the issue from 
>> occurring in an X proxy like TurboVNC that lacks GLX?
> 
> Because proxies without GLX will never make the failing queries in the
> first place.
> 
> static void buildVisAttribTable(Display *dpy, int screen)
>   _XQueryExtension(dpy, "GLX"...)

Ugh, doh. The first thing _XQueryExtension is going to do is call
xcb_get_extension_data().... so I lost you because I was in the weeds.
Please disregard this idea; it won't work for TurboVNC or any sans-GLX
proxy.

-Nathan

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
VirtualGL-Devel mailing list
VirtualGL-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-devel

Reply via email to