diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-03-12 13:58:56 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-03-24 15:42:13 -0400 |
commit | d9a19d8649e49acfac98c240bff88931be7743d7 (patch) | |
tree | 7a530ae3499feb4eb8ff5efdac569fbe8130f4e1 /src/mesa/drivers/dri/r600 | |
parent | 3695cdd6061abe5af430bddaac2237bff3d87ad0 (diff) |
r100/r200/r300/r600: enable accel for Copy/DrawPixels without kms
meta ops should work ok without kms.
Diffstat (limited to 'src/mesa/drivers/dri/r600')
-rw-r--r-- | src/mesa/drivers/dri/r600/r700_state.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_state.c b/src/mesa/drivers/dri/r600/r700_state.c index 1ff233d91e..1da31e7b2b 100644 --- a/src/mesa/drivers/dri/r600/r700_state.c +++ b/src/mesa/drivers/dri/r600/r700_state.c @@ -1861,10 +1861,9 @@ void r700InitStateFuncs(radeonContextPtr radeon, struct dd_function_table *funct functions->DrawBuffer = radeonDrawBuffer; functions->ReadBuffer = radeonReadBuffer; - if (radeon->radeonScreen->kernel_mm) { - functions->CopyPixels = _mesa_meta_CopyPixels; - functions->DrawPixels = _mesa_meta_DrawPixels; + functions->CopyPixels = _mesa_meta_CopyPixels; + functions->DrawPixels = _mesa_meta_DrawPixels; + if (radeon->radeonScreen->kernel_mm) functions->ReadPixels = radeonReadPixels; - } } |