Mesa (master): gallium/docs: document get_driver_query_info
Marek Olšák
mareko at kemper.freedesktop.org
Tue Mar 26 02:19:40 UTC 2013
Module: Mesa
Branch: master
Commit: 98a8e5b87ea99bc64ad85a6b9095f63f71fdbf91
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=98a8e5b87ea99bc64ad85a6b9095f63f71fdbf91
Author: Marek Olšák <maraeo at gmail.com>
Date: Tue Mar 26 01:37:40 2013 +0100
gallium/docs: document get_driver_query_info
---
src/gallium/docs/source/screen.rst | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/gallium/docs/source/screen.rst b/src/gallium/docs/source/screen.rst
index 9b87049..8c7e86e 100644
--- a/src/gallium/docs/source/screen.rst
+++ b/src/gallium/docs/source/screen.rst
@@ -440,3 +440,15 @@ get_timestamp
Query a timestamp in nanoseconds. The returned value should match
PIPE_QUERY_TIMESTAMP. This function returns immediately and doesn't
wait for rendering to complete (which cannot be achieved with queries).
+
+
+
+get_driver_query_info
+^^^^^^^^^^^^^^^^^^^^^
+
+Return a driver-specific query. If the **info** parameter is NULL,
+the number of available queries is returned. Otherwise, the driver
+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.
More information about the mesa-commit
mailing list