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

Method Swapchain

framework/core/swapchain.cpp:278–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276} // namespace
277
278Swapchain::Swapchain(Swapchain &old_swapchain, const VkExtent2D &extent) :
279 Swapchain{old_swapchain,
280 old_swapchain.device,
281 old_swapchain.surface,
282 old_swapchain.properties.present_mode,
283 old_swapchain.present_mode_priority_list,
284 old_swapchain.surface_format_priority_list,
285 extent,
286 old_swapchain.properties.image_count,
287 old_swapchain.properties.pre_transform,
288 old_swapchain.image_usage_flags,
289 old_swapchain.requested_compression,
290 old_swapchain.requested_compression_fixed_rate}
291{}
292
293Swapchain::Swapchain(Swapchain &old_swapchain, const uint32_t image_count) :
294 Swapchain{old_swapchain,

Callers

nothing calls this directly

Calls 15

choose_image_countFunction · 0.70
choose_extentFunction · 0.70
choose_surface_formatFunction · 0.70
choose_image_usageFunction · 0.70
composite_image_flagsFunction · 0.70
choose_transformFunction · 0.70
choose_composite_alphaFunction · 0.70
choose_present_modeFunction · 0.70
to_stringFunction · 0.50

Tested by

no test coverage detected