[PATCH 1/4] winevulkan: Use standard CRT memory allocators.

Paul Gofman pgofman at codeweavers.com
Tue Apr 13 10:35:38 CDT 2021


On 4/13/21 18:33, Jacek Caban wrote:
> On 13.04.2021 17:16, Georg Lehmann wrote:
>>
>> This sounds like it could potentially negatively affect performance up
>> to a measurable degree due to another indirection. But I guess there's
>> no way to have a function in the unix library (with the correct calling
>> convention and everything) and to return that from the PE in
>> vkGet*ProcAddr? 
>
>
> That's not impossible for now, but it would be more problematic as we
> move forward with the separation. Unix part will be 'hidden' from
> applications in a way that's similar in a lot of aspects to Windows
> kernel calls. With that analogy, we can't just return a 'kernel' pointer.
>
Maybe we can link most of the native Vulkan functions directly to the
unix_table, avoiding unix side wrapper and thus an extra call?



More information about the wine-devel mailing list