From 689def8bbcd2851adc89bebc84fd99bd627ff173 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 20 Sep 2010 14:10:20 -0700 Subject: 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. --- src/mesa/drivers/dri/intel/intel_batchbuffer.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mesa/drivers/dri/intel/intel_batchbuffer.h') 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; -- cgit v1.1