summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/svga/svga_screen_buffer.h
AgeCommit message (Collapse)Author
2010-02-22svga: Upload user buffers only once.José Fonseca
2010-02-22svga: Break uploads of big buffers into smaller pieces.José Fonseca
Fixes crash in Homeworld2 which tries to create a 14MB buffer, because we now avoid creating GMR buffers larger than 8MB to ensure progress given we have only a 16MB pool.
2010-02-22svga: Further cleanup/comment svga buffer code.José Fonseca
Just cosmetic changes -- no behavior change.
2010-02-22svga: Remove unused buffer download code.José Fonseca
Unnecessary now that we never destroy buffer storage.
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