projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
395fac2
)
svga: return 0 for PIPE_CAP_PREFER_BLIT_BASED_TEXTURE_TRANSFER
author
Brian Paul
<brianp@vmware.com>
Mon, 30 Sep 2013 15:47:31 +0000
(09:47 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 1 Oct 2013 00:50:37 +0000
(18:50 -0600)
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 <thellstrom@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/drivers/svga/svga_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_screen.c
b/src/gallium/drivers/svga/svga_screen.c
index 8d395f03cfca8c70e7ceb719fac3490e2c55c50f..d0e242ab44776d2e8b79cf6c0640684199b40d6f 100644
(file)
--- 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: