summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/svga/svga_screen_buffer.h
AgeCommit message (Collapse)Author
2010-01-21svga: Don't swap buffers to system memory -- winsys' responsibility.José Fonseca
2010-01-21svga: Follow buffer usage semantics properly.José Fonseca
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.
2009-11-17svga: Add svga driverJakob Bornecrantz