[Mesa-dev] [PATCH 04/20] gallium: add fence_server_signal()

Marek Olšák maraeo at gmail.com
Mon Jan 29 16:22:43 UTC 2018


On Tue, Jan 23, 2018 at 7:04 PM, Andres Rodriguez <andresx7 at gmail.com> wrote:
> Calling this function will emit a fence signal operation into the
> GPU's command stream.
>
> Signed-off-by: Andres Rodriguez <andresx7 at gmail.com>
> ---
>  src/gallium/docs/source/context.rst  | 31 +++++++++++++++++++++++++++++++
>  src/gallium/include/pipe/p_context.h |  6 ++++++
>  2 files changed, 37 insertions(+)
>
> diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst
> index 0ac7340242..459743e739 100644
> --- a/src/gallium/docs/source/context.rst
> +++ b/src/gallium/docs/source/context.rst
> @@ -567,7 +567,38 @@ by a single pipe_screen and is not shared with another process.
>  (i.e. you shouldn't use it to flush caches explicitly if you want to e.g.
>  use the resource for texturing)
>
> +Fences
> +^^^^^^
>
> +``pipe_fence_handle``, and related methods, are used to synchronize
> +execution between multiple parties. Examples include CPU <-> GPU syncrhonization,
> +rederer <-> windowing system, multiple external APIs, etc.

synchronization, renderer

Marek


More information about the mesa-dev mailing list