On Wed, Jun 17, 2009 at 02:33:27PM +1000, Dave Airlie wrote: | Okay I can also fix this using the attached patch. | | So the issue is makeCurrent sets up 3 contexts, one null, one direct, | one indirect, | it finishes with the render call on the indirect followed by the | readpixels, then destroys | the drawable, for the next test it creates a new direct drawable and | calls makeCurrent | on it. | | So we can fix the test to do a glFlush or we can fix the X server to | note the flushing | on ReadPixels also (which this patch does). | | Dave.
Sorry to take so long to close the loop on this one. I'll modify the test to do a glFinish() for each context, to help avoid misleading test failures. I think it would also be a good idea to mod the X server as you suggested, since we could run into this problem in other situations. Allen ------------------------------------------------------------------------------ -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel