MCPcopy Create free account
hub / github.com/comaps/comaps / ResetSurface

Method ResetSurface

libs/drape/vulkan/vulkan_base_context.cpp:115–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void VulkanBaseContext::ResetSurface(bool allowPipelineDump)
116{
117 vkDeviceWaitIdle(m_device);
118 DestroySyncPrimitives();
119
120 ResetSwapchainAndDependencies();
121 m_surface.reset();
122
123 if (m_pipeline && allowPipelineDump)
124 m_pipeline->Dump(m_device);
125}
126
127void VulkanBaseContext::RecreateSwapchainAndDependencies()
128{

Callers

nothing calls this directly

Calls 2

resetMethod · 0.45
DumpMethod · 0.45

Tested by

no test coverage detected