[intel-gem] Once mapped, leave buffers mapped.
authorKeith Packard <keithp@keithp.com>
Tue, 27 May 2008 00:51:38 +0000 (17:51 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 29 May 2008 06:28:46 +0000 (23:28 -0700)
commitd8395f9d9eed4040d6fa12f1631dd7c372c73be4
tree3c96bc86d81141f2ffa640a2fa725260d52d5763
parent924eaa2f955ecdc1080f5a8fdc165367a576a919
[intel-gem] Once mapped, leave buffers mapped.

Mapping and unmapping buffers is expensive, and having the map around isn't
harmful (other than consuming address space). So, once mapped, just leave
buffers mapped in case they get re-used.
src/mesa/drivers/dri/intel/intel_bufmgr_gem.c