diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-01-21 12:12:33 -0800 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-01-21 15:18:40 -0800 |
commit | 0ae076bf40782c48b1b26ca63ed2c349532dd81e (patch) | |
tree | c47c315f753c09746d80680bf382ee53fb38729d /progs/trivial/tri-blend-min.c | |
parent | efc08bddb7622e4acfa795b58e1264b64b78ab4f (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 'progs/trivial/tri-blend-min.c')
0 files changed, 0 insertions, 0 deletions