[Piglit] [PATCH 1/2] port ttexrect.cpp to piglit from glean
brianp at vmware.com
Mon Feb 11 07:29:04 PST 2013
On 02/08/2013 04:29 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.
> v3: use piglit_present_results, and piglit_probe_image_rgb
> v4: use piglit_draw_rect_tex, piglit_ortho_projection and minor
> clean ups.
> Signed-off-by: Tom Gall<tom.gall at linaro.org>
Reviewed-by: Brian Paul <brianp at vmware.com>
Thanks for doing all the updates, Tom. I'll push these soon.
More information about the Piglit