projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe3b62b
)
i915: Allow accelerated pixel ops to be disabled with INTEL_NO_BLIT.
author
Eric Anholt
<eric@anholt.net>
Tue, 24 Jun 2008 16:41:58 +0000
(09:41 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 24 Jun 2008 17:24:32 +0000
(10:24 -0700)
This matches 965.
src/mesa/drivers/dri/intel/intel_pixel.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_pixel.c
b/src/mesa/drivers/dri/intel/intel_pixel.c
index 9018e3daef497714487c1136732cdb477e8c98ec..cc6b9bb0eae3e193961a132f949aead1c634e0fe 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_pixel.c
+++ b/
src/mesa/drivers/dri/intel/intel_pixel.c
@@
-113,8
+113,10
@@
void
intelInitPixelFuncs(struct dd_function_table *functions)
{
functions->Accum = _swrast_Accum;
- functions->Bitmap = _swrast_Bitmap;
- functions->CopyPixels = intelCopyPixels;
- functions->ReadPixels = intelReadPixels;
- functions->DrawPixels = intelDrawPixels;
+ if (!getenv("INTEL_NO_BLIT")) {
+ functions->Bitmap = _swrast_Bitmap;
+ functions->CopyPixels = intelCopyPixels;
+ functions->ReadPixels = intelReadPixels;
+ functions->DrawPixels = intelDrawPixels;
+ }
}