MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / Candidate

Class Candidate

framework/platform/unix/direct_window.cpp:268–276  ·  view source on GitHub ↗

Local structure for holding display candidate information

Source from the content-addressed store, hash-verified

266
267// Local structure for holding display candidate information
268struct Candidate
269{
270 VkDisplayKHR display;
271 VkDisplayPropertiesKHR display_props;
272 VkDisplayModePropertiesKHR mode;
273 VkDisplayPlaneCapabilitiesKHR caps;
274 uint32_t plane_index;
275 uint32_t stack_index;
276};
277
278// Find all valid display candidates in the system
279static std::vector<Candidate> find_display_candidates(VkPhysicalDevice phys_dev, Window::Mode window_mode)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected