[Mesa3d-dev] glX TLS disabled by default?
tfogal at alumni.unh.edu
Tue Nov 10 14:09:52 PST 2009
Dan Nicholson <dbn.lists at gmail.com> writes:
> On Mon, Nov 9, 2009 at 9:52 AM, tom fogal <tfogal at alumni.unh.edu> wrote:
> > Mark Kettenis <mark.kettenis at xs4all.nl> writes:
> >> > From: Adam Jackson <ajax at nwnk.net>
> >> > Date: Mon, 09 Nov 2009 10:51:13 -0500
> >> >
> >> > On Sat, 2009-11-07 at 16:29 -0800, Ian Romanick wrote:
> >> >
> >> > > I vaguely recall there being some interaction with the X
> >> > > server. If Mesa is built for TLS, then the X server must also
> >> > > be built for TLS. [. . .]
> > In the case that we're building against an X server, is there
> > perhaps some kind of configure-time test we could do? Â Then the
> > Mesa default could be `autodetect' instead.
> Make it a variable in gl.pc and query it from the xserver configure.
Sorry, that was ambiguous; I wasn't trying to ask how this might
be done. I was wondering if the X server already provided this
information in some way Mesa could figure it out.
I imagine someone would have piped up if such support already existed
though, so I guess I should volunteer.
> glx_tls = yes
> if test "x$GLX_USE_TLS" = xauto; then
> GLX_USE_TLS=`$PKG_CONFIG --variable=glx_tls gl`
> test -z "$GLX_USE_TLS" && GLX_USE_TLS=no
.. but now that you mention it, wouldn't it be the reverse? That is,
we'd want the X server to provide a .pc with `tls = something', and
have Mesa query the server's .pc? I guess it depends on which is
`lower' in the software stack, which I've been assuming is the X server
More information about the xorg-devel