On 12/02/10 06:24 PM, tom fogal wrote:
> Pat Suwalski<p...@suwalski.net>  writes:
>> On 11/02/10 05:28 PM, tom fogal wrote:
>>> If all your after is a way to select OpenGL implementation at
>>> runtime for *your* app, I have some GLEW patches you might be
>>> interested in.  Of course, your scheme works globally / for all OGL
>>> apps on the system, which may be valuable to you.
>>
>> Yes, it needs to run on any kind of hardware, including Sony's Vaio's
>> with the "Speed/Stamina" switch that switches from i945->nvidia.
>
> Your "it" is ambiguous and does not actually clarify the situation.
>
>>>> -          print '#endif /* GLX_USE_TLS */'
>>>
>>> Isn't this going to allow a TLS-enabled Mesa to run on a
>>> non-TLS-capable kernel?
>>
>> Have you seen one in the last 5 years?
>>
>> That was the point of my "going forward" question.
>
> A few months ago I wondered why TLS wasn't enabled by default.  In the
> ensuing discussion, it came to light that some popular platforms still
> don't support TLS.

If by "platform" you mean hardware platform, I can't really speak to 
that. The next paragraph sort of insinuates that you mean OS-platform. 
In that case, it doesn't matter, since the entire block of code in 
question is enclosed in:

   print '#if defined(GLX_USE_TLS) && defined(__linux__)'

> As you say, I'd guess it's hard to find a *Linux* system w/o TLS
> support.  That said, it does seem a bit silly to *remove* such a
> feature; maybe it'll be usable on other platforms soon enough.  Why
> not report a bug to your other GL vendors, complaining that they don't
> include a kernel ABI requirement tag?

With all due respect, asking nVidia and all of the other GL vendors to 
start implementing this tag is a little unrealistic. nVidia also seems 
to deal with the TLS solution somehow, since they used to have "tls" 
copies of their libraries installed, and I believe now ship them 
exclusively. I think the non-TLS days are long behind us.

Can anyone else comment?

What is the purpose of the ABI tag? If it were removed and someone tried 
on kernel 2.4.18, would the actual behaviour be any different or result 
in the same segfault anyway?

--Pat

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to