[Piglit] [PATCH] glsl-fs-fragcoord: incr loops by 16 to probe fewer pixels
Jose Fonseca
jfonseca at vmware.com
Wed Oct 12 23:17:03 PDT 2011
----- Original Message -----
> On Wed, 12 Oct 2011 10:38:18 -0600, Brian Paul <brianp at vmware.com>
> wrote:
> > As it was, we were calling glReadPixels 65,536 times to probe all
> > the
> > pixels. This actually took quite a while with some drivers.
> > Probing
> > "only" 256 pixels now is much faster, and good enough.
>
> I've wanted a probe function that takes a rect of expected values
> instead of a solid color.
Or better, an callback function which yields the expected value for a generic (x, y)
Jose
More information about the Piglit
mailing list