From 54272e18a682c8b82d4a86b2c07b51c303d8cead Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 6 Aug 2016 16:41:42 +0200 Subject: gallium: add a pipe_context parameter to fence_finish MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit required by glClientWaitSync (GL 4.5 Core spec) that can optionally flush the context Reviewed-by: Rob Clark Reviewed-by: Nicolai Hähnle --- src/gallium/docs/source/context.rst | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/gallium/docs/source/context.rst') diff --git a/src/gallium/docs/source/context.rst b/src/gallium/docs/source/context.rst index 7fddabffeb4..1b045fa6ec0 100644 --- a/src/gallium/docs/source/context.rst +++ b/src/gallium/docs/source/context.rst @@ -467,12 +467,10 @@ Flushing PIPE_FLUSH_END_OF_FRAME: Whether the flush marks the end of frame. PIPE_FLUSH_DEFERRED: It is not required to flush right away, but it is required -to return a valid fence. The behavior of fence_finish or any other call isn't -changed. The only side effect can be that fence_finish will wait a little -longer. No guidance is given as to how drivers should implement fence_finish -with deferred flushes. If some drivers can't do deferred flushes safely, they -should just ignore the flag. - +to return a valid fence. If fence_finish is called with the returned fence +and the context is still unflushed, and the ctx parameter of fence_finish is +equal to the context where the fence was created, fence_finish will flush +the context. ``flush_resource`` -- cgit v1.2.3