r300g: handle map flag DISCARD_WHOLE_RESOURCE
authorMarek Olšák <maraeo@gmail.com>
Fri, 30 Nov 2012 14:23:41 +0000 (15:23 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sat, 1 Dec 2012 13:33:11 +0000 (14:33 +0100)
commit224d0e4a3ffee9df46b5340ed236f2d48eeb0778
tree04b30a87d8b0d704ea11e771860e49a98a7f5b2a
parentda7029dcb498f80d1837323038617b49cc28431f
r300g: handle map flag DISCARD_WHOLE_RESOURCE

This should improve performance in apps which trigger this codepath.
(e.g. Wine does)
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/r300/r300_screen_buffer.c