[PATCH 2/3] winevulkan: Implement extension faking mechanism

Joshua Ashton joshua at froggi.es
Tue Oct 13 17:37:18 CDT 2020


The extension *entirely* resides in vulkan_win32.h, which would make it 
impossible for you to implement.

If you really want to implement it, you'd need to make an issue about 
splitting up the extension into different platformed extensions (ie. 
VK_EXT_win32_full_screen_exclusive), which would require a 
VK_EXT_full_screen_exclusive2.

So it's a non issue that we're entirely tossing this out for non-Windows 
platforms.

fwiw, the extension is mostly used on Windows just to *avoid* full 
screen exclusive for borderless window modes anyway. (ie. no hitches 
when alt-tabbing, which is a problem we don't have on Linux anyway)

- Joshie 🐸✨

On 10/13/20 11:23 PM, Chip Davis wrote:
> October 13, 2020 4:55 PM, "Joshua Ashton" <joshua at froggi.es> wrote:
> 
>> Figured I should add the reason why, is because just passing it through will cause the device to
>> fail to be created because nobody supports VK_EXT_full_screen_exclusive on Linux.
>>
>> It's an entirely Windows-centric extension.
> 
> I don't know. I'm thinking about implementing it in MoltenVK, so we can at least say, "these are the surface formats that support exclusive fullscreen." If you use a compatible drawable format, Metal handles exclusive fullscreen automatically.
> 
> Chip
> 



More information about the wine-devel mailing list