[Piglit] [PATCH 1/2] port ttexrect.cpp to piglit from glean

Brian Paul brianp at vmware.com
Mon Jan 21 14:46:11 PST 2013


On 01/21/2013 01:43 PM, Tom Gall wrote:
> This ported test goes into tests/spec/arb_texture_rectangle. It
> tests the ARB_texture_rectangle extension.
>
> Create a 255x127 texture of varying colors and bind it as a
> GL_ARB_texture_recangle target.  Draw that rectangle to the window, and
> check that the texture was drawn correctly.  The common failure to be
> caught with this test is not adjusting the non-normalized coordinates on
> hardware that expects normalized coordinates.
>
> To all.tests, add new texrect_simple_arb_texrect
>
> v2: add PIGLIT_GL_VISUAL_DOUBLE to the window_visual, move various
> setup bits to piglit_init and add forgotten all.tests change.
>
> Signed-off-by: Tom Gall<tom.gall at linaro.org>

For both:
Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the Piglit mailing list