diff options
author | Ilia Mirkin <[email protected]> | 2015-05-02 20:28:11 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-02-04 21:21:30 -0500 |
commit | 40d7f02c67ed16f4894137757683475f837a3b4f (patch) | |
tree | 85857200b59e1673d38caf222d9fd292c3c2adab /src/gallium/docs/source/context.rst | |
parent | 386a9ec77b7113c1e0c29c30b981a50175ac16e8 (diff) |
gallium: add a way to store query result into buffer
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/docs/source/context.rst')
-rw-r--r-- | src/gallium/docs/source/context.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst index 4c03e00008c..904e1ff04e7 100644 --- a/src/gallium/docs/source/context.rst +++ b/src/gallium/docs/source/context.rst @@ -325,6 +325,11 @@ returned). Otherwise, if the ``wait`` parameter is FALSE, the call will not block and the return value will be TRUE if the query has completed or FALSE otherwise. +``get_query_result_resource`` is used to store the result of a query into +a resource without synchronizing with the CPU. This write will optionally +wait for the query to complete, and will optionally write whether the value +is available instead of the value itself. + The interface currently includes the following types of queries: ``PIPE_QUERY_OCCLUSION_COUNTER`` counts the number of fragments which |