summaryrefslogtreecommitdiff
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-01-21 12:12:33 -0800
committerJosé Fonseca <jfonseca@vmware.com>2010-01-21 15:18:40 -0800
commit0ae076bf40782c48b1b26ca63ed2c349532dd81e (patch)
treec47c315f753c09746d80680bf382ee53fb38729d /src/gallium/include/pipe
parentefc08bddb7622e4acfa795b58e1264b64b78ab4f (diff)
svga: Follow buffer usage semantics properly.
It's necessary to download buffers from the host always, except if the buffer is undefined, because: - just PIPE_BUFFER_USAGE_CPU_WRITE doesn't guarantee all data is written -- old contents may still pierce through - PIPE_BUFFER_USAGE_DISCARD refers to a range, not the whole buffer, so unless we track which parts have been modified and not we still need to download the data.
Diffstat (limited to 'src/gallium/include/pipe')
0 files changed, 0 insertions, 0 deletions