MCPcopy Create free account
hub / github.com/comaps/comaps / ~VulkanBaseContext

Method ~VulkanBaseContext

libs/drape/vulkan/vulkan_base_context.cpp:53–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51{}
52
53VulkanBaseContext::~VulkanBaseContext()
54{
55 vkDeviceWaitIdle(m_device);
56
57 if (m_pipeline)
58 {
59 m_pipeline->Destroy(m_device);
60 m_pipeline.reset();
61 }
62
63 for (auto & b : m_defaultStagingBuffers)
64 b.reset();
65
66 DestroyRenderPassAndFramebuffers();
67 DestroySwapchain();
68 DestroySyncPrimitives();
69 DestroyCommandBuffers();
70 DestroyCommandPool();
71}
72
73std::string VulkanBaseContext::GetRendererName() const
74{

Callers

nothing calls this directly

Calls 2

DestroyMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected