Re: [Piglit] [PATCH 2/3] framework: support for creating dma buffers through libdrm

2013-04-25 Thread Pohjolainen, Topi
On Wed, Apr 24, 2013 at 03:35:08PM +0200, Chad Versace wrote: On 04/16/2013 12:45 PM, Topi Pohjolainen wrote: In order to test EXT_image_dma_buf_import one needs the capability of creating driver specific buffers. By probing the environment for drm libraries one can decide for which drivers

[Piglit] [PATCH 2/2] gles3: Add outerProduct tests to generated_tests

2013-04-25 Thread Tom Gall
GL SL ES 3.00 added outerProduct as a built in fuction. http://www.khronos.org/opengles/sdk/docs/manglsl/xhtml/outerProduct.xml Add a script which generates testcases which validate the variety of valid and invalid parameters that may be passed. The script is called as part of the

[Piglit] [PATCH] gl-1.0-dlist-shademodel: test glShadeModel() inside a display list

2013-04-25 Thread Brian Paul
This is pretty trivial, but it's useful for debugging a Mesa display list optimization. --- tests/all.tests |1 + tests/spec/gl-1.0/CMakeLists.gl.txt |1 + tests/spec/gl-1.0/dlist-shademodel.c | 101 ++ 3 files changed, 103

[Piglit] [PATCH] dlist-beginend: test some tricky glBegin/glEnd display list corner cases

2013-04-25 Thread Brian Paul
These are some special cases not covered by the beginend-coverage test. In particular, we do some drawing/probing. --- tests/all.tests |1 + tests/spec/gl-1.0/CMakeLists.gl.txt |1 + tests/spec/gl-1.0/dlist-beginend.c | 358 +++ 3

[Piglit] [PATCH 1/2] gl-1.0-begend-coverage: remove unneeded #include minmax-test.h

2013-04-25 Thread Brian Paul
--- tests/spec/gl-1.0/beginend-coverage.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/tests/spec/gl-1.0/beginend-coverage.c b/tests/spec/gl-1.0/beginend-coverage.c index 22d0034..1e8dd7d 100644 --- a/tests/spec/gl-1.0/beginend-coverage.c +++

[Piglit] [PATCH 2/2] gl-1.0-beginend-coverage: fix FBO-related failures when using GLUT

2013-04-25 Thread Brian Paul
When Piglit's configured to use GLUT instead of Waffle we don't have full support for the -fbo option. So in beginend-coverage we now check if we really have a FBO bound in order to compute the right fbo_attachment value. --- tests/spec/gl-1.0/beginend-coverage.c |9 +++-- 1 files

Re: [Piglit] [PATCH] Primitive restart: Test in every possible draw mode.

2013-04-25 Thread Brian Paul
On 04/25/2013 12:54 PM, Paul Berry wrote: Some implementations (i965 in particular) treat primitive restart differently depending what type of primitive is being drawn. This test verifies that primitive restart works correctly for all primitive types. --- tests/all.tests

[Piglit] [PATCH 1/7] html: Use CSS for indenting table rows rather than colspan.

2013-04-25 Thread Dylan Baker
From: Kenneth Graunke kenn...@whitecape.org Previously, we indented groups of tests by adding 10 columns of whitespace to the table and adding colspan. This is pretty ugly; we really should use CSS for things like this. The new CSS-based approach should work with deeper nesting levels, and

[Piglit] [PATCH 2/7] html: Use CSS3 for zebra-striping the tables.

2013-04-25 Thread Dylan Baker
From: Kenneth Graunke kenn...@whitecape.org Most browsers support the :nth-child selector by now, which allows us to zebra-stripe the tables in CSS rather than making the python code annotate every row with an 'a' or 'b' class. While we're at it, stripe the pass/fail/crash results too. Based on

[Piglit] [PATCH 3/7] html: Remove the index_groupgroup template.

2013-04-25 Thread Dylan Baker
From: Kenneth Graunke kenn...@whitecape.org It was entirely empty. Reviewed-by: Dylan Baker baker.dyla...@gmail.com --- piglit-summary-html.py | 5 + templates/index_groupgroup.html | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644

[Piglit] [PATCH 4/7] html: Rework colgroup generation.

2013-04-25 Thread Dylan Baker
From: Kenneth Graunke kenn...@whitecape.org There's no need to specify width=50pt on every col/; we can easily specify a width for all but the first column with CSS3. At that point, using a template file that contains only col/ seems absurd; just repeat that the right number of times in the

[Piglit] [PATCH 5/7] html: Use the vastly faster fixed table layout algorithm.

2013-04-25 Thread Dylan Baker
From: Kenneth Graunke kenn...@whitecape.org The usual auto table layout algorithm makes the browser look at the contents of each row in the table in order to determine the layout. We have 10,000 rows. This is insanely expensive. The fixed algorithm just uses the col/ info, and possibly the

[Piglit] [PATCH 6/7] html: Escape test names in the summary page.

2013-04-25 Thread Dylan Baker
From: Kenneth Graunke kenn...@whitecape.org Characters like and are need to be escaped in proper HTML/XML. Signed-off-by: Kenneth Graunke kenn...@whitecape.org Reviewed-by: Dylan Baker baker.dyla...@gmail.com --- piglit-summary-html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[Piglit] [PATCH 7/7] html: Use XHTML 1.0 Strict.

2013-04-25 Thread Dylan Baker
From: Kenneth Graunke kenn...@whitecape.org We weren't specifying a DTD, which made validator.w3.org angry. There's no reason not to be strict or use SGML-based HTML, so go with XHTML. Signed-off-by: Kenneth Graunke kenn...@whitecape.org Reviewed-by: Dylan Baker baker.dyla...@gmail.com ---