Re: [Mesa-dev] [PATCH 0/2] Make a llvmpipe context basically thread safe v2.

2014-09-17 Thread Jose Fonseca
On 14/09/14 15:29, Mathias Fröhlich wrote: Hi, Jose, On Sunday, August 31, 2014 10:06:22 mathias.froehl...@gmx.net wrote: This makes llvmpipe thread safe as mandated by the OpenGL standard. The changes replace the use of two global data structures with non global ones. The changes pass piglit

Re: [Mesa-dev] [PATCH 0/2] Make a llvmpipe context basically thread safe v2.

2014-09-14 Thread Mathias Fröhlich
Hi, Jose, On Sunday, August 31, 2014 10:06:22 mathias.froehl...@gmx.net wrote: This makes llvmpipe thread safe as mandated by the OpenGL standard. The changes replace the use of two global data structures with non global ones. The changes pass piglit as of today without regressions. The

[Mesa-dev] [PATCH 0/2] Make a llvmpipe context basically thread safe v2.

2014-08-31 Thread Mathias . Froehlich
From: Mathias Fröhlich mathias.froehl...@gmx.net Hi Jose, This makes llvmpipe thread safe as mandated by the OpenGL standard. The changes replace the use of two global data structures with non global ones. The changes pass piglit as of today without regressions. The patchset now sticks to your

Re: [Mesa-dev] [PATCH 0/2] Make a llvmpipe context basically thread safe.

2014-07-19 Thread Mathias Fröhlich
Hi Jose, Thanks for reviewing! On Thursday, July 17, 2014 16:01:50 Jose Fonseca wrote: For patch 1 I'd prefer that instead of keeping a global list of contexts, these are passed by the caller as argument to gallivm_create() . It will be a more invasive change, but it will be cleaner. And

Re: [Mesa-dev] [PATCH 0/2] Make a llvmpipe context basically thread safe.

2014-07-17 Thread Jose Fonseca
Hi Mathias, Thanks for doing this. Patch 2 looks great. For patch 1 I'd prefer that instead of keeping a global list of contexts, these are passed by the caller as argument to gallivm_create() . It will be a more invasive change, but it will be cleaner. And in particular it will garantee

[Mesa-dev] [PATCH 0/2] Make a llvmpipe context basically thread safe.

2014-07-13 Thread Mathias Fröhlich
Hi Jose, This makes llvmpipe thread safe as mandated by the OpenGL standard. The changes replace the use of two global data structures with non global ones. The changes pass piglit as of today without regressions. The patchset deviates form your last suggestion. But lacking sufficient time I just