summaryrefslogtreecommitdiff
path: root/bsd-core/nouveau_swmthd.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-10-20 13:20:55 -0700
committerEric Anholt <eric@anholt.net>2009-10-20 13:31:55 -0700
commit66d2714f5435944a26685be4210e0e0d7138f3db (patch)
tree4323472d689c5063da200394b421da1a28327e6a /bsd-core/nouveau_swmthd.c
parent67628aa39dd74807989492af5451a3a5c0232e39 (diff)
intel: Improve bo_references performance by skipping the tree walk.
If the target we're asking about hasn't ever been used as a relocation target, then it obviously hasn't been used as a target by the batch's reloc tree. This is the common case for good GL programming where you only map fresh buffers, and gives us a 5% win in cairo-gl. [ # ] backend test min(s) median(s) stddev. count before: [ 0] gl firefox-talos-gfx 64.680 64.756 0.06% 3/3 after: [ 0] gl firefox-talos-gfx 60.816 60.970 0.29% 3/3
Diffstat (limited to 'bsd-core/nouveau_swmthd.c')
0 files changed, 0 insertions, 0 deletions