svga: add new memory-used HUD query
authorBrian Paul <brianp@vmware.com>
Wed, 3 Apr 2013 16:23:57 +0000 (10:23 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 3 Apr 2013 17:02:47 +0000 (11:02 -0600)
commitac114c682413065a5b8baa678733555e94e43120
tree61764015469959c8917abb4ae2672a61df22b9a0
parenta69efa9482d7d4dee476a50b3788544ba9b14a50
svga: add new memory-used HUD query

To track the amount of memory used by all pipe_resources (textures
and buffers).

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/svga/svga_context.h
src/gallium/drivers/svga/svga_pipe_query.c
src/gallium/drivers/svga/svga_resource_buffer.c
src/gallium/drivers/svga/svga_resource_buffer.h
src/gallium/drivers/svga/svga_resource_texture.c
src/gallium/drivers/svga/svga_resource_texture.h
src/gallium/drivers/svga/svga_screen.c
src/gallium/drivers/svga/svga_screen.h