From: Brian Paul Date: Mon, 30 Sep 2013 15:47:31 +0000 (-0600) Subject: svga: return 0 for PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=360610c89efa62c869ffbe32c050b0fb86525ffe;p=mesa.git svga: return 0 for PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER 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 --- 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: