Re: [Mesa-dev] [PATCH] mesa/glthread: Call unmarshal_batch directly in glthread_finish

2017-04-02 Thread Timothy Arceri
Trailing whitespace and style issue with else fixed and pushed. Thanks! On 31/03/17 17:22, Nicolai Hähnle wrote: On 30.03.2017 22:31, Bartosz Tomczyk wrote: Call it directly when batch queue is empty. This avoids costly thread synchronisation. This commit improves performance of games that have

Re: [Mesa-dev] [PATCH] mesa/glthread: Call unmarshal_batch directly in glthread_finish

2017-03-30 Thread Nicolai Hähnle
On 30.03.2017 22:31, Bartosz Tomczyk wrote: Call it directly when batch queue is empty. This avoids costly thread synchronisation. This commit improves performance of games that have previously regressed with mesa_glthread=true. Reviewed-by: Nicolai Hähnle --- src/mesa/main/glthread.c | 47

[Mesa-dev] [PATCH] mesa/glthread: Call unmarshal_batch directly in glthread_finish

2017-03-30 Thread Bartosz Tomczyk
Call it directly when batch queue is empty. This avoids costly thread synchronisation. This commit improves performance of games that have previously regressed with mesa_glthread=true. --- src/mesa/main/glthread.c | 47 ++- 1 file changed, 34 insertions(