vulkan/wsi: add a private transfer pool to exec the DRI_PRIME blit
The idea is to offer the driver a way to execute on a different queue than the one the app is using for Present. For instance, this could be used to make the DRI_PRIME blit asynchronous, by using a transfer queue. So instead of creating a command buffer to be executed on present using the supplied queue, this commit uses an internal transfer queue to perform the blit. Reviewed-by:Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <mesa/mesa!13959>
Showing
- src/vulkan/wsi/wsi_common.c 85 additions, 12 deletionssrc/vulkan/wsi/wsi_common.c
- src/vulkan/wsi/wsi_common.h 8 additions, 0 deletionssrc/vulkan/wsi/wsi_common.h
- src/vulkan/wsi/wsi_common_drm.c 2 additions, 1 deletionsrc/vulkan/wsi/wsi_common_drm.c
- src/vulkan/wsi/wsi_common_private.h 8 additions, 0 deletionssrc/vulkan/wsi/wsi_common_private.h
Loading
Please register or sign in to comment