summaryrefslogtreecommitdiff
path: root/libdrm/nouveau/nouveau_dma.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-02-27 13:46:31 -0800
committerEric Anholt <eric@anholt.net>2009-02-27 14:12:54 -0800
commit7ce8d4c1fec618ac2578ea0ddb8915b1b41ab9cb (patch)
tree4de8cd2903df92f4cc7a72831fbbc003c94e630b /libdrm/nouveau/nouveau_dma.c
parentab582f64fd54565f66eba866972f0fe2c313f000 (diff)
intel: Update reloc_tree_size of the first buffer when we count the tree size.
This helps avoid the n^2 performance cost of counting tree size when we get a lot of relocations into our batch buffer. rgb10text on keithp's laptop went from 136k glyphs/sec to 234k glyphs/sec.
Diffstat (limited to 'libdrm/nouveau/nouveau_dma.c')
0 files changed, 0 insertions, 0 deletions