Re: [Mesa-dev] [PATCH 05/16] glx/dri2: rework __DRIextension handling

2014-04-25 Thread Kristian Høgsberg
On Fri, Apr 25, 2014 at 11:40 AM, Emil Velikov wrote: > On 25/04/14 19:02, Kristian Høgsberg wrote: >> On Sun, Mar 16, 2014 at 6:48 AM, Emil Velikov >> wrote: >>> Use a const arrays with the extensions, and use the correct one at >>> runtime. This removes the assumption that the dri2_screen has

Re: [Mesa-dev] [PATCH 05/16] glx/dri2: rework __DRIextension handling

2014-04-25 Thread Emil Velikov
On 25/04/14 19:02, Kristian Høgsberg wrote: > On Sun, Mar 16, 2014 at 6:48 AM, Emil Velikov > wrote: >> Use a const arrays with the extensions, and use the correct one at >> runtime. This removes the assumption that the dri2_screen has a >> fixed size dri extension list and avoids the individual

Re: [Mesa-dev] [PATCH 05/16] glx/dri2: rework __DRIextension handling

2014-04-25 Thread Kristian Høgsberg
On Sun, Mar 16, 2014 at 6:48 AM, Emil Velikov wrote: > Use a const arrays with the extensions, and use the correct one at > runtime. This removes the assumption that the dri2_screen has a > fixed size dri extension list and avoids the individual assignment > of each extension at runtime. This cha

[Mesa-dev] [PATCH 05/16] glx/dri2: rework __DRIextension handling

2014-03-16 Thread Emil Velikov
Use a const arrays with the extensions, and use the correct one at runtime. This removes the assumption that the dri2_screen has a fixed size dri extension list and avoids the individual assignment of each extension at runtime. While we're here make sure that the DRI*Extensions report the version