MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-ValidationLayers / ~VkRenderFramework

Method ~VkRenderFramework

tests/framework/render.cpp:68–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68VkRenderFramework::~VkRenderFramework() {
69 ShutdownFramework();
70 m_errorMonitor->Finish();
71
72 if (m_device_extensions) {
73 delete m_device_extensions;
74 m_device_extensions = nullptr;
75 }
76 if (m_instance_extensions) {
77 delete m_instance_extensions;
78 m_instance_extensions = nullptr;
79 }
80}
81
82VkPhysicalDevice VkRenderFramework::Gpu() const {
83 EXPECT_NE((VkInstance)0, instance_); // Invalid to request gpu before instance exists

Callers

nothing calls this directly

Calls 1

FinishMethod · 0.45

Tested by

no test coverage detected