[Piglit] [PATCH] Porting basic GL rendering tests to piglit
Juliet Fru
julietfru at gmail.com
Wed Sep 2 15:17:27 PDT 2015
Hello Emil,
> +enum piglit_result
> > +piglit_display(void)
> > +{
> > + bool pass = true;
> > + enum path p, paths[10];
> > + int i, num_paths = 0;
> > +
> > + static const float white[3] = {1.0, 1.0, 1.0};
> > +
> > + /* draw 10x10 pixel quads */
> > + glViewport(0, 0, 10, 10);
> > +
> > + glDisable(GL_DITHER);
> > +
> > + /* Build the list of paths to exercise */
> > + for (p = ALPHA; p != ZZZ; p = (enum path) (p + 1)) {
> > + paths[num_paths++] = p;
> > + }
> > +
> The original test skips depth/stencil tests when we do not have the
> buffer. As you've dropped both the checks and the comment does that
> mean the tests work/pass ? Shouldn't we add the appropriate
> PIGLIT_GL_VISUAL to the config ?
>
I am sorry I missed that, but that should be included in the config. I'm
not very sure on how to do this.
Thanks,
Juliet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150902/6c7641d3/attachment.html>
More information about the Piglit
mailing list