gallium: add pipe_screen::get_driver_query_group_info
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 4 Jul 2014 09:24:02 +0000 (11:24 +0200)
committerMartin Peres <martin.peres@linux.intel.com>
Tue, 5 May 2015 21:03:35 +0000 (00:03 +0300)
commitf137f5c691f5bd97a8b7f881f1f6837bff0ebc7a
tree885beddeded2c990cb26ebed2fe7e62f29343188
parentce01c0af70f2475fbbb1c3ab90d43a19047abc5c
gallium: add pipe_screen::get_driver_query_group_info

Driver queries are organized as a single hierarchy where queries are
categorized into groups. Each group has a list of queries and a maximum
number of queries that can be sampled. The list of available groups can
be obtained using pipe_screen::get_driver_query_group_info.

This will be used by GL_AMD_performance monitor.

v2: add group type (CPU/GPU)

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Martin Peres <martin.peres@free.fr>
src/gallium/docs/source/screen.rst
src/gallium/include/pipe/p_defines.h
src/gallium/include/pipe/p_screen.h