summaryrefslogtreecommitdiffstats
path: root/src/vulkan/wsi/Makefile.sources
Commit message (Collapse)AuthorAgeFilesLines
* vulkan/wsi: Add a thread-safe queue implementationKevin Strasser2016-11-101-1/+2
| | | | | | | | | | | | | | | 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 <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Dave Airlie <[email protected]> Cc: "13.0" <[email protected]>
* anv: move to using shared wsi codeDave Airlie2016-10-191-0/+11
This moves the shared code to a common subdirectory and makes anv linked to that code instead of the copy it was using. Reviewed-by: Jason Ekstrand <[email protected]>