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 so often, and > I think state trackers should follow suit. > > The worst example of this is st/vega. I guess those flushes are > there for debugging only. > > Please review.
This all makes sense to me Marek. I think some of those flushes predate even is_resource_referenced() which explains their defensive nature. Keith _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev