Hi, This patchset makes use of Jason Ekstrand's recent work on SYNC_FD semaphores and DRI3 v1.1 support for DMA fences: https://lists.freedesktop.org/archives/mesa-dev/2017-August/168154.html
It allows Vulkan WSI clients (X11 only for now) to use explicit fencing. That means vkQueuePresent can have an in-fence (vkSemaphore) that will wait for the rendering to be done. vkAcquireNextImage can return an out-fence that will let know the client when the image is ready for rendering. New hooks need to be implemented on the driver side. Only the ANV driver supports it as of now. The cube demo in Vulkan Loader And Validation Layers is a good test case for this work as it already tries to use explicit fences when rendering: https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/blob/master/demos/cube.c The related Git repositories are (branch: rfc/2017-08/x11-fences): git://git.collabora.com/git/user/lfrb/presentproto git://git.collabora.com/git/user/lfrb/xcb-proto git://git.collabora.com/git/user/lfrb/mesa git://git.collabora.com/git/user/lfrb/xserver Thanks for your input, Louis-Francis -- 2.13.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev