From 360610c89efa62c869ffbe32c050b0fb86525ffe Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 30 Sep 2013 09:47:31 -0600 Subject: [PATCH] svga: return 0 for PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Using the map/unmap path for glTexImage is a little bit faster than blitting. Also, this fixes about 50 assorted piglit failures that seem to be related to the blit version of glReadPixels. Reviewed-by: Thomas Hellstrom Reviewed-by: José Fonseca --- src/gallium/drivers/svga/svga_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index 8d395f03cfc..d0e242ab447 100644 --- a/src/gallium/drivers/svga/svga_screen.c +++ b/src/gallium/drivers/svga/svga_screen.c @@ -227,7 +227,7 @@ svga_get_param(struct pipe_screen *screen, enum pipe_cap param) return 120; case PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER: - return 1; + return 0; /* Unsupported features */ case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION: -- 2.30.2