Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MoltenVK integration #761

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

billhollings
Copy link

No description provided.

Add MoltenVK runtime to package.
Update hellovr_vulkan_main.cpp to support MoltenVK.
Remove use of CMainApplication::GetVulkanInstanceExtensionsRequired()
and CMainApplication::GetVulkanDeviceExtensionsRequired() on macOS.
Add SDL_cocoametalview.h/m files to support Metal views.
Update CMakeLists.txt files to support Vulkan on macOS via MoltenVK.
Replace use of vsprintf_s() with sprintf_s() for safer use on macOS.
Update samples/README.md doc to explain compiling samples on macOS.
Remove multisampling if running on macOS.
Find Vulkan/Metal device based on compositor device.
Use IOSurface for framebuffer and submit IOSurface to compositor.
Reorganize directories for MoltenVK components.
Add Metal and IOSurface frameworks.
Update samples/README.md with macOS/MoltenVK info.
@kisak-valve
Copy link
Member

I skimmed over this and two minor things I noticed:

  1. The vsprintf_s -> sprintf_s changes might be related to Use correct C++11 definition for vsprintf_s #594?
  2. There's quite a bit of mixed tabs / spaces proposed outside of the cmake file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants