MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Tools / AppDisplayMode

Method AppDisplayMode

vulkaninfo/vulkaninfo.cpp:783–792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

781}
782
783AppDisplayMode::AppDisplayMode(AppGpu &gpu, const VkDisplayModePropertiesKHR &in_properties,
784 const std::set<uint32_t> &supported_planes)
785 : properties(in_properties) {
786 for (auto plane : supported_planes) {
787 VkDisplayPlaneCapabilitiesKHR cap;
788
789 vkGetDisplayPlaneCapabilitiesKHR(gpu.phys_device, properties.displayMode, plane, &cap);
790 capabilities[plane] = cap;
791 }
792}
793
794static std::string MakeName(uint32_t index, const VkDisplayPropertiesKHR &prop) {
795 std::stringstream name;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected