summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_screen.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-09-30 09:47:31 -0600
committerBrian Paul <[email protected]>2013-09-30 18:50:37 -0600
commit360610c89efa62c869ffbe32c050b0fb86525ffe (patch)
tree33c0c30aeb28f49e5dee628872680ccf63b19b5f /src/gallium/drivers/svga/svga_screen.c
parent395fac25a642e93c540c20342c0ff1a259efbb32 (diff)
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 <[email protected]> Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_screen.c')
-rw-r--r--src/gallium/drivers/svga/svga_screen.c2
1 files changed, 1 insertions, 1 deletions
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: