projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f1db18
)
i965: Enable the accelerated ReadPixels path on gen4 along with pre-gen4.
author
Eric Anholt
<eric@anholt.net>
Wed, 9 Dec 2009 00:15:07 +0000
(16:15 -0800)
committer
Eric Anholt
<eric@anholt.net>
Wed, 9 Dec 2009 00:35:05 +0000
(16:35 -0800)
Passes piglit pbo-read-argb8888, and doesn't otherwise regress quick.tests.
src/mesa/drivers/dri/intel/intel_pixel_read.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_pixel_read.c
b/src/mesa/drivers/dri/intel/intel_pixel_read.c
index 470750018015b335073c14542ae53dd978cba8cb..20424e2e589fff28c39151bca29278f5402819ab 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_pixel_read.c
+++ b/
src/mesa/drivers/dri/intel/intel_pixel_read.c
@@
-285,11
+285,11
@@
intelReadPixels(GLcontext * ctx,
intelFlush(ctx);
-#ifdef I915
if (do_blit_readpixels
(ctx, x, y, width, height, format, type, pack, pixels))
return;
+#ifdef I915
if (do_texture_readpixels
(ctx, x, y, width, height, format, type, pack, pixels))
return;