gallium: Allow to specify how much will be read / was written in buffer map/unmap.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 24 Feb 2009 12:29:09 +0000 (12:29 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 24 Feb 2009 12:29:09 +0000 (12:29 +0000)
commit60e5fe65067da76dea816535bec1e9073adc0ba7
tree5db1052818795cbe80a13751a1a1c2acd176e343
parent693fac8ae2e5812265222b1335695bd33b90bd8a
gallium: Allow to specify how much will be read / was written in buffer map/unmap.

This allows the pipe driver to do more efficient DMA upload/downloads, by
avoiding to read/write unneeded/unmodified data.
src/gallium/include/pipe/p_inlines.h
src/gallium/include/pipe/p_screen.h