diff options
author | Dave Airlie <[email protected]> | 2011-05-11 13:14:16 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-05-13 09:22:39 +1000 |
commit | 5e15497452cf3e4d2fc76fdc6ed8113d0891b467 (patch) | |
tree | aa00f39af35369ca53a87e43ece52650904304a1 /src/gallium/drivers | |
parent | 5de2c67ba7d62882fe2c5e2a307e58f4f637fadd (diff) |
r600g: delay mapping until first map request. (v2)
Currently r600g always maps every bo, this is quite pointless as it wastes
VM and on 32-bit with wine running VM space is quite useful.
So with this patch we don't create the mappings until first use, without
tiling enabled this probably won't make a major difference on its own,
but with tiled staged uploads it should avoid keeping maps for most of the
textures unnecessarily.
v2: add bo data ptr check
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
0 files changed, 0 insertions, 0 deletions