Re: [Mesa-dev] [PATCH 1/2] i965: Don't flush the batch immediately on EndQuery.

2012-10-17 Thread Kenneth Graunke
On 10/16/2012 04:32 PM, Eric Anholt wrote: The theory I had when I wrote the code was that you wanted to minimize latency on your queries because the app was going to ask soon. Only, it turns out that everybody batches up their queries and asks for the results later (often after the next SwapBuf

[Mesa-dev] [PATCH 1/2] i965: Don't flush the batch immediately on EndQuery.

2012-10-16 Thread Eric Anholt
The theory I had when I wrote the code was that you wanted to minimize latency on your queries because the app was going to ask soon. Only, it turns out that everybody batches up their queries and asks for the results later (often after the next SwapBuffers!), so this was a pessimization. Until n