mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-15 17:30:32 +01:00
gallium/docs: document get_driver_query_info
This commit is contained in:
parent
8ddae684af
commit
98a8e5b87e
1 changed files with 12 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue