svga: add num-bytes-uploaded HUD query
authorBrian Paul <brianp@vmware.com>
Thu, 19 Nov 2015 17:39:49 +0000 (10:39 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 20 Nov 2015 20:40:06 +0000 (13:40 -0700)
commit527466d9a12e81f3bade04c5ff0258a003b48f34
tree1a6333c3d7f6a81afd15d7ac0f73c7dde8793aee
parente96d7a1489c1e4ddd66fc5c88c0fc603e1483e32
svga: add num-bytes-uploaded HUD query

To graph the number of bytes uploaded to GPU per frame (vertex buffer data,
constant buffer data, texture data, etc).

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_context.h
src/gallium/drivers/svga/svga_pipe_query.c
src/gallium/drivers/svga/svga_resource_buffer_upload.c
src/gallium/drivers/svga/svga_resource_texture.c
src/gallium/drivers/svga/svga_screen.c