svga: add new num-failed-allocations HUD query

Graphics / Mesa 3D Graphics Library / Mesa - Brian Paul [vmware.com] - 16 June 2017 19:04 EDT

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

e3f5b8a svga: add new num-failed-allocations HUD query
src/gallium/drivers/svga/svga_context.h | 1 +
src/gallium/drivers/svga/svga_pipe_query.c | 7 +++++++
src/gallium/drivers/svga/svga_resource.c | 17 +++++++++++++++--
src/gallium/drivers/svga/svga_screen.c | 2 ++
src/gallium/drivers/svga/svga_screen.h | 1 +
5 files changed, 26 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share