[Mesa-dev] [PATCH v2 1/3] vulkan/wsi: Add a thread-safe queue implementation
Strasser, Kevin
kevin.strasser at intel.com
Wed Nov 9 21:12:51 UTC 2016
On Tue, Nov 8, 2016 at 5:00 PM, Jason Ekstrand <jason at jlekstrand.net> wrote:
> From: Kevin Strasser <kevin.strasser at intel.com>
>
> In order to support FIFO mode without blocking the application on calls
> to vkQueuePresentKHR it is necessary to enqueue the request and defer
> calling the server until the next vblank period. The xcb present api
> doesn't offer a way to register a callback, so we will have to spawn a
> worker thread that will wait for a request to be added to the queue, call
> to the server, and then make the image available for reuse. This commit
> introduces the queue data structure needed to implement this.
>
> Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
> Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
This seems to be working for me now, so for the series:
Tested-by: Kevin Strasser <kevin.strasser at intel.com>
More information about the mesa-dev
mailing list