mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 14:20:35 +01:00
i915: Allow accelerated pixel ops to be disabled with INTEL_NO_BLIT.
This matches 965.
This commit is contained in:
parent
fe3b62b5b1
commit
98fa0aec36
1 changed files with 6 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue