diff options
author | Eric Anholt <eric@anholt.net> | 2010-09-20 14:10:20 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-11-02 14:24:42 -0700 |
commit | 689def8bbcd2851adc89bebc84fd99bd627ff173 (patch) | |
tree | 8307d8a534c018385a3e31b423db61b2f5a8c00b /src/mesa/drivers/dri/intel/intel_batchbuffer.h | |
parent | 1210aa75513391779c87e93f009fcf3e52a79cbf (diff) | |
download | external_mesa3d-689def8bbcd2851adc89bebc84fd99bd627ff173.zip external_mesa3d-689def8bbcd2851adc89bebc84fd99bd627ff173.tar.gz external_mesa3d-689def8bbcd2851adc89bebc84fd99bd627ff173.tar.bz2 |
intel: For batch, use GTT mapping instead of writing to a malloc and copying.
No measurable performance difference on cairo-perf-trace, but
simplifies the code and should have cache benefit in general.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_batchbuffer.h')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_batchbuffer.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_batchbuffer.h b/src/mesa/drivers/dri/intel/intel_batchbuffer.h index ae53f45..428c027 100644 --- a/src/mesa/drivers/dri/intel/intel_batchbuffer.h +++ b/src/mesa/drivers/dri/intel/intel_batchbuffer.h @@ -17,8 +17,6 @@ struct intel_batchbuffer drm_intel_bo *buf; - GLubyte *buffer; - GLubyte *map; GLubyte *ptr; |