mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-18 18:19:12 +00:00
Implement UI side of detecting vulkan layer problems and fixing as admin
* Stub functions for the actual detection/fixing part.
This commit is contained in:
1 parent
206d9e0b34
commit
f416f4770e
8 files changed
+316
-43
No files matched your search
@@ -642,6 +642,14 @@ RENDERDOC_ExecuteAndInject(const char *app, const char *workingDir, const char *
|
||||
extern "C" RENDERDOC_API uint32_t RENDERDOC_CC RENDERDOC_InjectIntoProcess(
|
||||
uint32_t pid, void *env, const char *logfile, const CaptureOptions *opts, bool32 waitForExit);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Vulkan layer handling
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
extern "C" RENDERDOC_API bool RENDERDOC_CC RENDERDOC_NeedVulkanLayerRegistration(
|
||||
uint32_t *flags, rdctype::array<rdctype::str> *myJSONs, rdctype::array<rdctype::str> *otherJSONs);
|
||||
extern "C" RENDERDOC_API void RENDERDOC_CC RENDERDOC_UpdateVulkanLayerRegistration(bool elevate);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Miscellaneous!
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -601,3 +601,13 @@ enum LogMessageType
|
||||
eLogType_Fatal,
|
||||
eLogType_NumTypes,
|
||||
};
|
||||
|
||||
enum VulkanFlags
|
||||
{
|
||||
eVulkan_OtherInstallsRegistered = 0x1,
|
||||
eVulkan_ThisInstallRegistered = 0x2,
|
||||
eVulkan_NeedElevation = 0x4,
|
||||
eVulkan_CouldElevate = 0x8,
|
||||
eVulkan_RegisterAll = 0x10,
|
||||
eVulkan_UpdateAllowed = 0x20,
|
||||
};
|
||||
@@ -798,3 +798,16 @@ extern "C" RENDERDOC_API void RENDERDOC_CC RENDERDOC_StartAndroidRemoteServer()
|
||||
adbExecCommand(
|
||||
"shell am start -n org.renderdoc.renderdoccmd/.Loader -e renderdoccmd remoteserver");
|
||||
}
|
||||
|
||||
extern "C" RENDERDOC_API bool RENDERDOC_CC RENDERDOC_NeedVulkanLayerRegistration(
|
||||
uint32_t *flags, rdctype::array<rdctype::str> *myJSONs, rdctype::array<rdctype::str> *otherJSONs)
|
||||
{
|
||||
// stub
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
extern "C" RENDERDOC_API void RENDERDOC_CC RENDERDOC_UpdateVulkanLayerRegistration(bool elevate)
|
||||
{
|
||||
// stub
|
||||
}
|
||||
Reference in new issue
Block a user