gallium: Add PIPE_BUFFER_USAGE_DISCARD.
authorYounes Manton <younes.m@gmail.com>
Wed, 14 Jan 2009 05:21:24 +0000 (00:21 -0500)
committerYounes Manton <younes.m@gmail.com>
Mon, 19 Jan 2009 02:40:10 +0000 (21:40 -0500)
commit0521c2682a3249562ff6a3d6ab6c90d1d63b82a3
tree2e15f6e7d70b5937967df921dffc44b625e1e927
parent11f91936f21c1ab0b38f0f84bb2cbf82f9cadece
gallium: Add PIPE_BUFFER_USAGE_DISCARD.

When passed to map() signals that the buffer's previous contents are
not required, allowing the driver to allocate a new buffer if the
current buffer can not be mapped immediately.
src/gallium/include/pipe/p_defines.h