Re: [Mesa-dev] GLX extension for vendor name lookup in libglvnd

2016-03-14 Thread Martin Peres
On 14/03/16 19:59, Kyle Brenneman wrote: On 03/14/2016 11:43 AM, Martin Peres wrote: On 14/03/16 19:16, Kyle Brenneman wrote: On 03/11/2016 05:25 PM, Martin Peres wrote: On 10/03/16 20:07, Adam Jackson wrote: On Thu, 2016-03-10 at 10:53 -0700, Kyle Brenneman wrote: On 03/10/2016 10:47 AM, M

Re: [Mesa-dev] GLX extension for vendor name lookup in libglvnd

2016-03-14 Thread Kyle Brenneman
On 03/14/2016 11:43 AM, Martin Peres wrote: On 14/03/16 19:16, Kyle Brenneman wrote: On 03/11/2016 05:25 PM, Martin Peres wrote: On 10/03/16 20:07, Adam Jackson wrote: On Thu, 2016-03-10 at 10:53 -0700, Kyle Brenneman wrote: On 03/10/2016 10:47 AM, Martin Peres wrote: That could be a hack

Re: [Mesa-dev] GLX extension for vendor name lookup in libglvnd

2016-03-14 Thread Martin Peres
On 14/03/16 19:16, Kyle Brenneman wrote: On 03/11/2016 05:25 PM, Martin Peres wrote: On 10/03/16 20:07, Adam Jackson wrote: On Thu, 2016-03-10 at 10:53 -0700, Kyle Brenneman wrote: On 03/10/2016 10:47 AM, Martin Peres wrote: That could be a hacky way of handling the case where multiple 3D

Re: [Mesa-dev] GLX extension for vendor name lookup in libglvnd

2016-03-14 Thread Kyle Brenneman
On 03/11/2016 05:25 PM, Martin Peres wrote: On 10/03/16 20:07, Adam Jackson wrote: On Thu, 2016-03-10 at 10:53 -0700, Kyle Brenneman wrote: On 03/10/2016 10:47 AM, Martin Peres wrote: That could be a hacky way of handling the case where multiple 3D drivers could be used to drive the same GP

Re: [Mesa-dev] GLX extension for vendor name lookup in libglvnd

2016-03-11 Thread Martin Peres
On 10/03/16 20:07, Adam Jackson wrote: On Thu, 2016-03-10 at 10:53 -0700, Kyle Brenneman wrote: On 03/10/2016 10:47 AM, Martin Peres wrote: That could be a hacky way of handling the case where multiple 3D drivers could be used to drive the same GPU. This may be necessary in the future if two

Re: [Mesa-dev] GLX extension for vendor name lookup in libglvnd

2016-03-11 Thread Adam Jackson
On Fri, 2016-03-11 at 11:12 -0700, Kyle Brenneman wrote: > All right, here's an updated draft of the Issues section. How does it look? > > Issues >  1)  Should GLX_VENDOR_NAMES_EXT contain a single vendor name or a list of >  names? > >  UNRESOLVED: Allow a list of names. > >

Re: [Mesa-dev] GLX extension for vendor name lookup in libglvnd

2016-03-11 Thread Kyle Brenneman
All right, here's an updated draft of the Issues section. How does it look? Issues 1) Should GLX_VENDOR_NAMES_EXT contain a single vendor name or a list of names? UNRESOLVED: Allow a list of names. Allowing multiple names would allow for multiple client-side driv

Re: [Mesa-dev] GLX extension for vendor name lookup in libglvnd

2016-03-10 Thread Adam Jackson
On Thu, 2016-03-10 at 10:53 -0700, Kyle Brenneman wrote: > On 03/10/2016 10:47 AM, Martin Peres wrote: > > > > That could be a hacky way of handling the case where multiple 3D  > > drivers could be used to drive the same GPU. This may be necessary in  > > the future if two mesa drivers support the

Re: [Mesa-dev] GLX extension for vendor name lookup in libglvnd

2016-03-10 Thread Kyle Brenneman
On 03/10/2016 10:47 AM, Martin Peres wrote: On 09/03/16 20:15, Kyle Brenneman wrote: The current implementation of libglvnd uses a new X extension called x11glvnd to look up a vendor name for each screen and to find a screen number for a GLXDrawable. But, Adam Jackson pointed out that a GLX ex

Re: [Mesa-dev] GLX extension for vendor name lookup in libglvnd

2016-03-10 Thread Martin Peres
On 09/03/16 20:15, Kyle Brenneman wrote: The current implementation of libglvnd uses a new X extension called x11glvnd to look up a vendor name for each screen and to find a screen number for a GLXDrawable. But, Adam Jackson pointed out that a GLX extension could do the same job more cleanly: Lo

Re: [Mesa-dev] GLX extension for vendor name lookup in libglvnd

2016-03-10 Thread Adam Jackson
On Thu, 2016-03-10 at 08:32 -0700, Kyle Brenneman wrote: > > That could work, although I would expect "vendor-specific info" to  > > mean "random, arbitrary, and probably not machine-parsable". I'd be  > > hesitant to try to impose a structure on something that's never had  > > any structure befor

Re: [Mesa-dev] GLX extension for vendor name lookup in libglvnd

2016-03-10 Thread Kyle Brenneman
On 03/09/2016 12:53 PM, Kyle Brenneman wrote: On 03/09/2016 12:21 PM, Adam Jackson wrote: On Wed, 2016-03-09 at 11:15 -0700, Kyle Brenneman wrote: The current implementation of libglvnd uses a new X extension called x11glvnd to look up a vendor name for each screen and to find a screen number

Re: [Mesa-dev] GLX extension for vendor name lookup in libglvnd

2016-03-09 Thread Kyle Brenneman
On 03/09/2016 12:21 PM, Adam Jackson wrote: On Wed, 2016-03-09 at 11:15 -0700, Kyle Brenneman wrote: The current implementation of libglvnd uses a new X extension called x11glvnd to look up a vendor name for each screen and to find a screen number for a GLXDrawable. But, Adam Jackson pointed ou

Re: [Mesa-dev] GLX extension for vendor name lookup in libglvnd

2016-03-09 Thread Adam Jackson
On Wed, 2016-03-09 at 11:15 -0700, Kyle Brenneman wrote: > The current implementation of libglvnd uses a new X extension called  > x11glvnd to look up a vendor name for each screen and to find a screen  > number for a GLXDrawable. > > But, Adam Jackson pointed out that a GLX extension could do the

[Mesa-dev] GLX extension for vendor name lookup in libglvnd

2016-03-09 Thread Kyle Brenneman
The current implementation of libglvnd uses a new X extension called x11glvnd to look up a vendor name for each screen and to find a screen number for a GLXDrawable. But, Adam Jackson pointed out that a GLX extension could do the same job more cleanly: Looking up a vendor name is just querying