[Piglit] [PATCH] Add utility function piglit_draw_triangle
Eric Anholt
eric at anholt.net
Tue Apr 17 11:18:34 PDT 2012
On Tue, 17 Apr 2012 19:46:21 +0530, Anuj Phogat <anuj.phogat at gmail.com> wrote:
> These utility functions to draw triangle would help in testing antialiasing
> and depth related issues.
>
> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
> ---
> tests/util/piglit-util-gl.c | 59 +++++++++++++++++++++++++++++++++++++++++++
> tests/util/piglit-util.h | 4 +++
> 2 files changed, 63 insertions(+), 0 deletions(-)
>
> diff --git a/tests/util/piglit-util-gl.c b/tests/util/piglit-util-gl.c
> index 4270cd6..5aeacad 100644
> --- a/tests/util/piglit-util-gl.c
> +++ b/tests/util/piglit-util-gl.c
> @@ -708,6 +708,65 @@ piglit_escape_exit_key(unsigned char key, int x, int y)
> }
>
> /**
> + * Convenience function to draw an axis aligned triangle.
> + */
I'm dubious that these are axis aligned triangles.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20120417/9b55f2e3/attachment.pgp>
More information about the Piglit
mailing list