Re: [Mesa-dev] [RFC 09/21] mesa: Generate a helper function for each extension

2015-10-26 Thread Chad Versace
On Fri 23 Oct 2015, Nanley Chery wrote: > On Thu, Oct 22, 2015 at 11:30 AM, Chad Versace > wrote: > > > On Mon 19 Oct 2015, Nanley Chery wrote: > > > From: Nanley Chery > > > > > > Generate functions which determine if an extension is supported in the > > > current context. Initially, enums were

Re: [Mesa-dev] [RFC 09/21] mesa: Generate a helper function for each extension

2015-10-23 Thread Nanley Chery
On Thu, Oct 22, 2015 at 11:30 AM, Chad Versace wrote: > On Mon 19 Oct 2015, Nanley Chery wrote: > > From: Nanley Chery > > > > Generate functions which determine if an extension is supported in the > > current context. Initially, enums were going to be explicitly used with > > _mesa_extension_su

Re: [Mesa-dev] [RFC 09/21] mesa: Generate a helper function for each extension

2015-10-22 Thread Chad Versace
On Mon 19 Oct 2015, Nanley Chery wrote: > From: Nanley Chery > > Generate functions which determine if an extension is supported in the > current context. Initially, enums were going to be explicitly used with > _mesa_extension_supported(). The idea to embed the function and enums > into generate

Re: [Mesa-dev] [RFC 09/21] mesa: Generate a helper function for each extension

2015-10-20 Thread Nanley Chery
On Tue, Oct 20, 2015 at 8:26 AM, Marek Olšák wrote: > On Tue, Oct 20, 2015 at 12:44 AM, Nanley Chery > wrote: > > From: Nanley Chery > > > > Generate functions which determine if an extension is supported in the > > current context. Initially, enums were going to be explicitly used with > > _me

Re: [Mesa-dev] [RFC 09/21] mesa: Generate a helper function for each extension

2015-10-20 Thread Marek Olšák
On Tue, Oct 20, 2015 at 12:44 AM, Nanley Chery wrote: > From: Nanley Chery > > Generate functions which determine if an extension is supported in the > current context. Initially, enums were going to be explicitly used with > _mesa_extension_supported(). The idea to embed the function and enums >

[Mesa-dev] [RFC 09/21] mesa: Generate a helper function for each extension

2015-10-19 Thread Nanley Chery
From: Nanley Chery Generate functions which determine if an extension is supported in the current context. Initially, enums were going to be explicitly used with _mesa_extension_supported(). The idea to embed the function and enums into generated helper functions was suggested by Kristian Høgsber