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

Function DumpPresentModes

vulkaninfo/vulkaninfo.cpp:154–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void DumpPresentModes(Printer &p, AppSurface &surface) {
155 ArrayWrapper arr(p, "Present Modes", surface.surf_present_modes.size());
156 for (auto &mode : surface.surf_present_modes) {
157 p.SetAsType().PrintString(VkPresentModeKHRString(mode));
158 }
159}
160
161void DumpSurfaceCapabilities(Printer &p, AppInstance &inst, AppGpu &gpu, AppSurface &surface) {
162 auto &surf_cap = surface.surface_capabilities;

Callers 1

DumpSurfaceFunction · 0.85

Calls 2

VkPresentModeKHRStringFunction · 0.85
PrintStringMethod · 0.80

Tested by

no test coverage detected