[Mesa-dev] [PATCH 0/3] Removing unnecessary flushes in Gallium

2011-03-10 Thread Marek Olšák
Hi, I have reviewed where we call flush() and why and some of them seem unnecessary to me. Those flushes may slightly decrease performance, depending on each driver, and may hide driver bugs. glFlush doesn't have to be called in OpenGL so often, and I think state trackers should follow suit.

Re: [Mesa-dev] [PATCH 0/3] Removing unnecessary flushes in Gallium

2011-03-10 Thread Keith Whitwell
On Thu, 2011-03-10 at 20:25 +0100, Marek Olšák wrote: Hi, I have reviewed where we call flush() and why and some of them seem unnecessary to me. Those flushes may slightly decrease performance, depending on each driver, and may hide driver bugs. glFlush doesn't have to be called in OpenGL

Re: [Mesa-dev] [PATCH 0/3] Removing unnecessary flushes in Gallium

2011-03-10 Thread Brian Paul
On 03/10/2011 12:25 PM, Marek Olšák wrote: Hi, I have reviewed where we call flush() and why and some of them seem unnecessary to me. Those flushes may slightly decrease performance, depending on each driver, and may hide driver bugs. glFlush doesn't have to be called in OpenGL so often, and I

Re: [Mesa-dev] [PATCH 0/3] Removing unnecessary flushes in Gallium

2011-03-10 Thread Mark Mueller
On Thu, Mar 10, 2011 at 12:56 PM, Brian Paul bri...@vmware.com wrote: On 03/10/2011 12:25 PM, Marek Olšák wrote: Hi, I have reviewed where we call flush() and why and some of them seem unnecessary to me. Those flushes may slightly decrease performance, depending on each driver, and may