KhronosGroup / Vulkan-LoaderAndValidationLayers

**Deprecated repository** for Vulkan loader and validation layers
Apache License 2.0
414 stars 172 forks source link

demos: Add MacOS surface output to vulkaninfo #2666

Closed jeremyk-lunarg closed 6 years ago

jeremyk-lunarg commented 6 years ago

Added output for a MacOSSurface in vulkaninfo and modified the CMake files to include the new files needed for this change:

metal_view.m Objective-C code to hook into Metal metal_view.h metal_view.m's header file

shannon-lunarg commented 6 years ago

I don't have a lot of Mac or Objective-C knowledge but from what I can tell this looks good to me.

With these changes, LVL and vulkaninfo still build and run on Linux and Windows.

jeremyk-lunarg commented 6 years ago

@mikes-lunarg: Changes made.

jeremyk-lunarg commented 6 years ago

@karl-lunarg: Updated