Re: [Mesa-dev] [PATCH 09/11] st/nine: Rework queries

2014-11-25 Thread Marek Olšák
Calling pipe-flush is unnecessary before get_query_result, because get_query_result flushes automatically if it has to (at least on radeon). Marek On Sun, Nov 23, 2014 at 11:40 PM, David Heidelberg da...@ixit.cz wrote: From: Axel Davy axel.d...@ens.fr From this moment we should handle errors

Re: [Mesa-dev] [PATCH 09/11] st/nine: Rework queries

2014-11-25 Thread Marek Olšák
BTW, radeon flushes in get_query_result even if wait is FALSE, therefore this loop will always finish: while (!get_query_result(...)); I think it's a requirement for OpenGL. Marek On Tue, Nov 25, 2014 at 12:42 PM, Marek Olšák mar...@gmail.com wrote: Calling pipe-flush is unnecessary before

[Mesa-dev] [PATCH 09/11] st/nine: Rework queries

2014-11-23 Thread David Heidelberg
From: Axel Davy axel.d...@ens.fr From this moment we should handle errors same way as Wine does. Original patch from John Ettedgui john.etted...@gmail.com Cc: 10.4 mesa-sta...@lists.freedesktop.org Tested-by: David Heidelberg da...@ixit.cz Signed-off-by: Axel Davy axel.d...@ens.fr ---

Re: [Mesa-dev] [PATCH 09/11] st/nine: Rework queries

2014-11-23 Thread Ilia Mirkin
On Sun, Nov 23, 2014 at 5:40 PM, David Heidelberg da...@ixit.cz wrote: From: Axel Davy axel.d...@ens.fr From this moment we should handle errors same way as Wine does. Original patch from John Ettedgui john.etted...@gmail.com Cc: 10.4 mesa-sta...@lists.freedesktop.org Tested-by: David