summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2015-12-09 19:53:18 +0100
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>2016-01-03 12:17:05 +0100
commit53dddab78c9bc7fbfd78bf23284ec6d92b70e93b (patch)
tree91724b558e504d80dba49c0ab68c8d9f8bd2cca8 /src/gallium/tests
parent28dea2662699072715f67ef34e910d278f88f3b1 (diff)
downloadexternal_mesa3d-53dddab78c9bc7fbfd78bf23284ec6d92b70e93b.zip
external_mesa3d-53dddab78c9bc7fbfd78bf23284ec6d92b70e93b.tar.gz
external_mesa3d-53dddab78c9bc7fbfd78bf23284ec6d92b70e93b.tar.bz2
nv50,nvc0: optimize coherent buffer checking at draw time
Instead of iterating over all the buffer resources looking for coherent buffers, we keep track of a context-wide count. This will save some iterations (and CPU cycles) in 99.99% case because usually coherent buffers are not so used. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/gallium/tests')
0 files changed, 0 insertions, 0 deletions