i915: Allow accelerated pixel ops to be disabled with INTEL_NO_BLIT.

This matches 965.
This commit is contained in:
Eric Anholt 2008-06-24 09:41:58 -07:00
parent fe3b62b5b1
commit 98fa0aec36

View file

@ -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;
}
}