Re: [Mesa-dev] [Mesa3d-dev] Softpipe and OpenMP

2015-06-09 Thread Jose Fonseca
On 09/06/15 03:00, Roland Scheidegger wrote: Am 08.06.2015 um 09:33 schrieb Chih-Sheng Lin: Hi, I am working on parallelizing softpipe of Mesa-9.1 by using OpenMP. My idea is trying to do sp_setup_tri in parallel with multiple threads. So first in the function sp_vbuf_draw_elements, I duplica

Re: [Mesa-dev] [Mesa3d-dev] Softpipe and OpenMP

2015-06-08 Thread Roland Scheidegger
Am 08.06.2015 um 09:33 schrieb Chih-Sheng Lin: > Hi, > > I am working on parallelizing softpipe of Mesa-9.1 by using OpenMP. > > My idea is trying to do sp_setup_tri in parallel with multiple threads. > > So first in the function sp_vbuf_draw_elements, I duplicate > setup_context for avoiding ra

[Mesa-dev] [Mesa3d-dev] Softpipe and OpenMP

2015-06-08 Thread Chih-Sheng Lin
Hi, I am working on parallelizing softpipe of Mesa-9.1 by using OpenMP. My idea is trying to do sp_setup_tri in parallel with multiple threads. So first in the function sp_vbuf_draw_elements, I duplicate setup_context for avoiding race condition And then sp_setup_tri is set to OpenMP parallel s