| 568 | } |
| 569 | |
| 570 | extern "C" RENDERDOC_API void RENDERDOC_CC RENDERDOC_EndSelfHostCapture(const rdcstr &dllname) |
| 571 | { |
| 572 | if(!Process::IsModuleLoaded(dllname)) |
| 573 | return; |
| 574 | |
| 575 | void *module = Process::LoadModule(dllname); |
| 576 | |
| 577 | if(module == NULL) |
| 578 | return; |
| 579 | |
| 580 | pRENDERDOC_GetAPI get = |
| 581 | (pRENDERDOC_GetAPI)Process::GetFunctionAddress(module, "RENDERDOC_GetAPI"); |
| 582 | |
| 583 | if(get == NULL) |
| 584 | return; |
| 585 | |
| 586 | RENDERDOC_API_1_0_0 *rdoc = NULL; |
| 587 | |
| 588 | get(eRENDERDOC_API_Version_1_0_0, (void **)&rdoc); |
| 589 | |
| 590 | if(rdoc == NULL) |
| 591 | return; |
| 592 | |
| 593 | rdoc->EndFrameCapture(NULL, NULL); |
| 594 | } |
| 595 | |
| 596 | extern "C" RENDERDOC_API bool RENDERDOC_CC |
| 597 | RENDERDOC_NeedVulkanLayerRegistration(VulkanLayerRegistrationInfo *info) |
no test coverage detected