diff options
author | Samuel Pitoiset <[email protected]> | 2014-07-04 11:24:02 +0200 |
---|---|---|
committer | Martin Peres <[email protected]> | 2015-05-06 00:03:35 +0300 |
commit | f137f5c691f5bd97a8b7f881f1f6837bff0ebc7a (patch) | |
tree | 885beddeded2c990cb26ebed2fe7e62f29343188 /src/gallium/docs/source/screen.rst | |
parent | ce01c0af70f2475fbbb1c3ab90d43a19047abc5c (diff) |
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 <[email protected]>
Reviewed-by: Martin Peres <[email protected]>
Diffstat (limited to 'src/gallium/docs/source/screen.rst')
-rw-r--r-- | src/gallium/docs/source/screen.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst index 4386bcfb5ac..68931cf3519 100644 --- a/src/gallium/docs/source/screen.rst +++ b/src/gallium/docs/source/screen.rst @@ -588,3 +588,13 @@ query at the specified **index** is returned in **info**. The function returns non-zero on success. The driver-specific query is described with the pipe_driver_query_info structure. + +get_driver_query_group_info +^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Return a driver-specific query group. If the **info** parameter is NULL, +the number of available groups is returned. Otherwise, the driver +query group at the specified **index** is returned in **info**. +The function returns non-zero on success. +The driver-specific query group is described with the +pipe_driver_query_group_info structure. |