[Mesa-dev] [PATCH 1/2] Skip fbo readdrawpix and copypix tests if EXT_framebuffer_blit isn't available

Brian Paul brianp at vmware.com
Fri Jul 16 15:00:06 PDT 2010


On 07/16/2010 12:21 PM, Maciej Cencora wrote:
>
> Signed-off-by: Maciej Cencora<m.cencora at gmail.com>
> ---
>   tests/fbo/fbo-copypix.c     |    1 +
>   tests/fbo/fbo-readdrawpix.c |    1 +
>   2 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/tests/fbo/fbo-copypix.c b/tests/fbo/fbo-copypix.c
> index ac6547d..362459b 100644
> --- a/tests/fbo/fbo-copypix.c
> +++ b/tests/fbo/fbo-copypix.c
> @@ -228,4 +228,5 @@ piglit_init(int argc, char **argv)
>   	piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
>
>   	piglit_require_extension("GL_EXT_framebuffer_object");
> +	piglit_require_extension("GL_EXT_framebuffer_blit");
>   }
> diff --git a/tests/fbo/fbo-readdrawpix.c b/tests/fbo/fbo-readdrawpix.c
> index af2be79..15d8521 100644
> --- a/tests/fbo/fbo-readdrawpix.c
> +++ b/tests/fbo/fbo-readdrawpix.c
> @@ -231,4 +231,5 @@ piglit_init(int argc, char **argv)
>   	piglit_ortho_projection(piglit_width, piglit_height, GL_FALSE);
>
>   	piglit_require_extension("GL_EXT_framebuffer_object");
> +	piglit_require_extension("GL_EXT_framebuffer_blit");
>   }

Thanks.  I've committed both patches.

BTW, there's a piglit mailing list for this kind of thing.

-Brian




More information about the mesa-dev mailing list