svga: add new num-failed-allocations HUD query
authorBrian Paul <brianp@vmware.com>
Fri, 16 Jun 2017 22:36:43 +0000 (16:36 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 16 Jun 2017 23:04:08 +0000 (17:04 -0600)
commite3f5b8ac168fe3d3afa48906ea56465a5836ac58
tree034d27b7040d3df85600b42519e111e77398a59e
parentb27281c1109efc91a3e0e986e8d8f33b2fbb28ed
svga: add new num-failed-allocations HUD query

This counter is incremented if we fail to allocate memory for
vertex/index/const buffers, textures, etc.

Reviewed-by: Neha Bhende <bhenden@vmware.com>
src/gallium/drivers/svga/svga_context.h
src/gallium/drivers/svga/svga_pipe_query.c
src/gallium/drivers/svga/svga_resource.c
src/gallium/drivers/svga/svga_screen.c
src/gallium/drivers/svga/svga_screen.h