svga: add new GALLIUM_HUD queries
authorNeha Bhende <nbhende@vmware.com>
Fri, 9 Oct 2015 22:10:16 +0000 (16:10 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 16 Oct 2015 17:43:28 +0000 (11:43 -0600)
commit9bc7e3105aeadbe360ca9f060c50a181d3fa7a3d
tree9ac8d65c5cb875f6daa9823c3b0d8181cd4b7979
parentf413f1a17c506d5d4474a1baa0556a9e9f554c63
svga: add new GALLIUM_HUD queries

Add new GALLIUM_HUD queries for:
    num-shaders
    num-resources
    num-state-objects
    num-validations
    map-buffer-time
    num-surface-views
    num-resources-mapped
    num-flushes

Most of this patch was originally written by Neha.  Additional clean-ups
and num-flushes counter added by Brian Paul.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
16 files changed:
src/gallium/drivers/svga/svga_context.c
src/gallium/drivers/svga/svga_context.h
src/gallium/drivers/svga/svga_pipe_blend.c
src/gallium/drivers/svga/svga_pipe_depthstencil.c
src/gallium/drivers/svga/svga_pipe_draw.c
src/gallium/drivers/svga/svga_pipe_query.c
src/gallium/drivers/svga/svga_pipe_rasterizer.c
src/gallium/drivers/svga/svga_pipe_sampler.c
src/gallium/drivers/svga/svga_pipe_vertex.c
src/gallium/drivers/svga/svga_resource_buffer.c
src/gallium/drivers/svga/svga_resource_texture.c
src/gallium/drivers/svga/svga_screen.c
src/gallium/drivers/svga/svga_screen.h
src/gallium/drivers/svga/svga_shader.c
src/gallium/drivers/svga/svga_state.c
src/gallium/drivers/svga/svga_surface.c