[Piglit] Fwd: [PATCH 1/2] port ttexrect.cpp to piglit from glean
Brian Paul
brianp at vmware.com
Thu Feb 7 07:43:31 PST 2013
On 02/07/2013 08:35 AM, Brian Paul wrote:
> OK, I thought you had git-write ability. I'll commit/push soon.
Actually, I found a few more issues with the code.
The piglit_swap_buffers() call should be moved after the probing code.
And you should use piglit_present_results() instead. After a
swapbuffers, the contents of the back buffer are undefined so you need
to probe first.
I think that the probe loop can be replaced by a call to
piglit_probe_image_rgb().
-Brian
More information about the Piglit
mailing list