[PATCH 1/6] winevulkan: Use __wine_unix_call interface for Unix lib initialization.

Jacek Caban jacek at codeweavers.com
Wed Dec 8 20:14:01 CST 2021


Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
This patch is interesting on its own. It bypasses syscall interface, but 
at least eliminates the need for __wine_init_unix_lib mechanism.

Later patches use the interface in more places. We still can't call 
drivers from Unix stack. Since both mechanisms are supported in 
make_vulkan for now, it's easy to tweak needs_unix_call() if needed.

  dlls/winevulkan/Makefile.in      |  1 +
  dlls/winevulkan/loader.c         | 24 +++++++++++++++---------
  dlls/winevulkan/make_vulkan      | 12 ++++++++++++
  dlls/winevulkan/vulkan.c         | 29 +++++++++++------------------
  dlls/winevulkan/vulkan_loader.h  | 13 +++++++++++++
  dlls/winevulkan/vulkan_private.h |  2 ++
  6 files changed, 54 insertions(+), 27 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winevulkan-Use-__wine_unix_call-interface-for-Unix-lib.txt
Type: text/x-patch
Size: 8592 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20211209/c642fdba/attachment.bin>


More information about the wine-devel mailing list